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

Seemingly unrelated mouse binding breaks certain website menus in Chromium #777

Closed
mjk-gh opened this issue Dec 6, 2022 · 3 comments
Closed
Labels
skip:changelog Issue/PR should skip CHANGELOG type:bug Something's broken!

Comments

@mjk-gh
Copy link

mjk-gh commented Dec 6, 2022

Upfront Information

  • Fvwm3 version (run: fvwm3 --version):
fvwm3 1.0.5 (released)
with support for:  ReadLine, XPM, PNG, SVG, Shape, XShm, SM, Bidi text, XRandR, XRender, XCursor, XFT, NLS
  • Linux distribution or BSD name/version
    Devuan testing, 64 bit

  • Platform (run: uname -sp)
    Linux unknown

Expected Behaviour

I would expect a mouse binding that requires modifiers to be pressed to not interfere with clicking the configured mouse button while no modifiers are pressed.

For example, on the website https://batronix.com/ you will find a few icons on the top right, e.g. the "account" icon.
If you hover over it, a little menu will drop down, containing 3 items:

  • Account
  • Manage services
  • Newsletter
    (As the item "Account" is the same as clicking directly on the account icon, we will ignore it here.

When hovering over "Manage services" and then clicking that item with the left mouse button, you would expect that item to be selected (a popup with services to activate/deactivate should appear). This does work in Firefox ESR (102.5.0) all the time, and it works in Chromium (108.0.5359.94) -- unless you put this line in your ~/.fvwm3/config:

Mouse 1       WTSFI     4          Move

(The actual modifiers do not seem to matter, instead of "4", you can use "C", "CS", "M" etc.)

Actual Behaviour

With the mouse binding above, a left-mouse-button click on "Manage services" in Chromium (without any modifier keys pressed!) simply leads to the little menu to vanish, instead of showing the "manage services" popup. Firefox seems to be unfazed by the additional mouse binding, and properly displays the expected pop-up dialog.

The mouse binding above should only get in the way when pressing the specified modifiers.

Enabling logging

I did a

pkill -USR2 fvwm3

and the logfile ~/.fvwm3/fvwm3-output.log did not show anything suspicious when clicking on the little menu.

Steps to Reproduce

The following is a minimal ~/.fvwm3/config to reproduce the problem, just comment in/out the line with the mouse binding and restart fvwm3 to see how it reacts to the hover/pop-up menu:

# -*- mode: sh; -*-

DeskTopSize          3x3
DesktopConfiguration per-monitor
EdgeScroll           100000 100000

# W = window
# T = window title bar
# S = Window side, top, bottom bar
# F = window corners
# I = icon window

#     Button  Context  Modifiers  Function
Mouse 1       WTSFI     4          Move
  • 3x3 desktop most likely not necessary, I just had too many windows open
  • No fvwm configuration in /etc to be seen, as far as I can tell, so above config should be all that fvwm3 loads.

Extra Information

@mjk-gh mjk-gh added the type:bug Something's broken! label Dec 6, 2022
@raid1
Copy link

raid1 commented Jan 13, 2023

This is related to #761 or even a duplicate.

@mjk-gh
Copy link
Author

mjk-gh commented Jan 21, 2023

This is related to #761 or even a duplicate.
Thanks for the hint!

Even if the workaround mentioned there does not work for all programs, it seems to work for Chromium 109.0.5414.74; starting it with --disable-features=SendMouseLeaveEvents makes it work like a charme again, even with the mouse binding configured like shown above.

@ThomasAdam ThomasAdam added the skip:changelog Issue/PR should skip CHANGELOG label Aug 30, 2023
@ThomasAdam
Copy link
Member

Closing this as per the reasons in #761

@ThomasAdam ThomasAdam closed this as not planned Won't fix, can't repro, duplicate, stale Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip:changelog Issue/PR should skip CHANGELOG type:bug Something's broken!
Projects
None yet
Development

No branches or pull requests

3 participants