Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle-middle-click-24 #1378

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

colinkiama
Copy link
Sponsor Member

Fixes #24

Note: Changes default behaviour when launched from terminal without command line args to create a new window

Comment on lines -140 to +141
activate_action (MainWindow.ACTION_PREFIX + MainWindow.ACTION_NEW_TAB, null);
var active_window_action_group = active_window.get_action_group (MainWindow.ACTION_GROUP);
active_window_action_group.activate_action (MainWindow.ACTION_NEW_TAB, null);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This appears to be a separate fix unrelated to middle-click handling? If so should be submitted as a separate PR.

@jeremypw
Copy link
Collaborator

jeremypw commented Nov 21, 2023

Need to check how the new elementary dock under development handles middle-click. See also elementary/dock#77 (comment) . This might be an issue that needs to be fixed in dock? It seems to me that dock needs to activate the "New Window" option in the context menu when a middle-click is used. Otherwise there needs to be some way the app knows that a middle-click was used otherwise the behaviour changes in other situations which is undesirable.

@colinkiama colinkiama marked this pull request as draft December 17, 2023 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

middle-click on Plank does nothing
2 participants