Comments (6)
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 firefox-esr
here, so my guess is firefox has changed something and the bug is on their end. I would first see if you can downgrade firefox to an older version, try to find when this changed happend, the easiest way is install firefox-esr, and see if the problem is still there.
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.
from fvwm3.
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 about:config
and try to set widget.gtk.ignore-bogus-leave-notify
to 1
(it defaults as 2
), and if that doesn't work you can try to toggle widget.gtk.grab-pointer
to 1
as well.
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 AnyModifiers
which it cannot since fvwm has already claimed the event for modifier 4 via your key binding. You may want to move this over to firefox, as it seems like their bug to me.
from fvwm3.
If you tried a modified other than '4' does it work, like maybe try ctrl or meta? What does your xmodmap
say?
from fvwm3.
- Using other modifiers unfortunately does not help -- same behavior with "C", "S" or "M" instead of "4".
- Using a different function for the mouse-binding also doesn't change the behavior.
- Restricting to a single mouse-button (instead of 0=any) makes the other buttons work in Firefox-menus again, except the selected mouse-button.
- e.g.
Mouse 1 W C Stick
causes the same behavior (except that mouse-button 2 can now be used in the Firefox-menu) - xmodmap:
xmodmap: up to 4 keys per modifier, (keycodes in parentheses): shift Shift_L (0x32), Shift_R (0x3e) lock control Control_L (0x25), Control_R (0x69) mod1 Alt_L (0x40), Alt_L (0xcc), Meta_L (0xcd) mod2 Num_Lock (0x4d) mod3 ISO_Level5_Shift (0xcb) mod4 Super_L (0x85), BadKey (0x86), Super_L (0xce), Hyper_L (0xcf) mod5 ISO_Level3_Shift (0x5c)
from fvwm3.
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.
from fvwm3.
Thanks a lot!
- With Firefox-setting
widget.gtk.ignore-bogus-leave-notify 1
it works again! :) - I had previously submitted a webcompat-issue to Firefox, but it got closed. But with your additional information, I might open a Firefox-issue again.
from fvwm3.
Related Issues (20)
- Handle _NET_WM_STATE_SKIP_TASKBAR in _NET_WM_STATE client messages
- FvwmPager grid disappears HOT 4
- Unmaximizing a window on a different desk moves but won't map the window. HOT 3
- fvwm 1.1.0 crash and logout when launch pycharm HOT 3
- SVG icons not work HOT 7
- FvwmButtons listens for incoming TCP connections HOT 2
- Implicit function _IceTransNoListen in fsm.c HOT 4
- FvwmRearrange broken on multi-monitor layout
- FvwmCommand doesn't find socket HOT 3
- EdgeCommand stopped working in 1.0.9 HOT 2
- Maximize broken when dual monitors are arranged with vertical offset HOT 1
- Problems dragging windows on "wide" desks, multiple monitors, multiple pagers HOT 9
- Empty argument prevents further arguments passed to function
- TileManualPlacement doesn't apply to second monitor/desk HOT 1
- StartIconic/IconGeometry bugs with dual monitor/dual pagers HOT 7
- Latest fvwm seems to do away with negative numbered desks. HOT 4
- TitleStyle Active Colorset fg color apparently ignored HOT 3
- Right Panel button shows wrong desk after restart HOT 1
- FvmwMFL did not get started because of wrong PID in pid file HOT 5
- <=1.1.0: LTO type mismatch HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fvwm3.