-
Notifications
You must be signed in to change notification settings - Fork 730
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
Autokey-GTK using X-app is broken when opened from the panel menu #11392
Comments
The focus problem is arguably an issue with autokey, though issues like this often also depend on the behavior of individual window managers - it doesn't just occur in Cinnamon, though it can be fixed: Install dconf-editor ( Navigate to This should resolve the focus issue when the window is already opened (there doesn't seem to be any trouble if you 'close' the window each time rather than minimizing or covering it). Tested with the package manager's version as well (0.95.10-2). The menu is constructed that way by autokey. Having a look at autokey/autokey#454 I can explain a bit more about the menu issue (unfortunately I've had to work thru this mess in the past). edit - full disclosure, I've also done my part in making the mess worse. AppIndicator (and 'AyatanaAppIndicator') don't really have a concept of 'primary activation' - I think it was originally intended for providing panel menus in Ubuntu years back. It's an implementation of the StatusNotifier which has been adopted by many as a replacement to the old GtkStatusIcon/xembed icons (which work only on X11). There is ' So, they could make the window activatable by a single middle-click. If that were the case, using our xapp applet you can specify that this particular app's middle-click be made into a left-click instead - see https://github.com/linuxmint/xapp/blob/master/schemas/org.x.apps.gschema.xml#L19-L25. This obviously won't help everywhere - mainly just in Cinnamon (though support does exist for Mate and Xfce4. Assuming it's being used here, Qt's tray 'widget' supports StatusNotifier natively (with xembed as a fallback), and works like we all would expect (left-click activate, right-click menu). |
@mtwebster, please don't close this subject. I couldn't reply yesterday. Followed your instructions - I am familiar with the dconf editor and implemented your changes. As you see, I linked the topic to the related topic so that the Autokey community can help me as well. |
I know you have an issue in the autokey repo, and I addressed it in my previous post. I'll simplify it I suppose: The current API used (AyatanaAppIndicator) has a method called set_secondary_activate_target that will allow you to assign a middle click to one of the menu items in the status icon's menu. It's a trivial change. And it's the closest you'll get to having a single-click to open the main window for the current autokey-gtk implementation. I can't do anything about the menu here. I've given you a way to resolve your window focus issue. |
Thanks, it was after posting that the Autokey developer told me the same thing. In any case, much thanks for your kind help. |
Issue
Autokey-GTK icon menu on the panel has two malfunctions .
Steps to reproduce
Set System Settings Windows Behavior Location of newly opened Windows to "Center"
Install Autokey
The text was updated successfully, but these errors were encountered: