-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
mouse binding breaks Firefox #992
Comments
If you tried a modified other than '4' does it work, like maybe try ctrl or meta? What does your |
|
X11 key/mouse press/release events can really only be used by a single application, if fvwm doesn't have a binding setup, it passes the event directly to the application, but if it does have a binding then fvwm intercepts it. I am not quite sure how modifiers are dealt with here, but once fvwm grabs the event it won't be the same to firefox. As a work around, would say making your custom binding only work on mouse 3, or something that doesn't get in the way of normal operations. You could also move your binding off the window to the title bar / borders instead. I can't seem to reproduce this on I can't think of any of the key/mouse binding code in fvwm3 changed recently. Note firefox is often doing non standard things, there is always something they are breaking. |
I have done some looking around, seems there have been various users with issues with menus and some smaller wms. Here are some suggested things to toggle, go to Anyways here is some info here: https://bugzilla.mozilla.org/show_bug.cgi?id=1819206 And it appears this particular bug is already know, this mentions fvwm2/3 and the exact issue you ran into: https://bugzilla.mozilla.org/show_bug.cgi?id=1805939#c32, I still am unsure if it is firefox or fvwm to blame, I think firefox, but they may think that everything needs to update to their standards. From that comment it sounds like firefox is grabbing the events with |
For now, I'm afraid this isn't something I feel fvwm is going to be able to "workaround", and the fix ultimately relies on this being done in Firefox. I hope this is something they're prepared to do. |
Thanks a lot!
|
Upfront Information
Fvwm3 version (run:
fvwm3 --version
)fvwm3 1.0.8 (released)
with support for: ReadLine, XPM, PNG, SVG, Shape, XShm, SM, Bidi text, XRandR, XRender, XCursor, XFT, NLS
Linux distribution or BSD name/version
NixOS 23.11
Platform (run:
uname -sp
)Linux unknown
Expected Behaviour
A mouse-binding for "Super_L + left mouse button" should not affect normal clicks (without Super_L) on e.g. Firefox.
Actual Behaviour
Since a recent update (of fvwm, Firefox, or Xorg), some fvwm-mouse-bindings break website-menus in Firefox on Linux.
It worked fine previously.
Details:
fvwm-configuration:
I used Super_L + left mouse-button to move/raise/lower windows,
which is really handy:
Website menus:
Many websites use menus, which open on mouse-hover. Then, you have to click on a menu item, and the link of the menu item opens.
Minimal example:
https://www.simple-is-better.org/firefox-dropdown-bug/
Correct behaviour: Click on A/B/C should result in a opening a.html/b.html/c.html with e.g. "Success: A".
Since a recent update, I cannot open any menu item anymore, when the above mouse-binding is defined.
When I click on a menu item, instead of opening the menu-item-link, the menu is only closed (and a link behind the menu is activated, if there is any).
If I remove the mouse-binding, it works again.
Enabling logging
Nothing is shown in the logs.
Steps to Reproduce
Yes.
The text was updated successfully, but these errors were encountered: