Bug 459437 - Menu bar of Firefox closes when I click on any menu while the mouse pointer is touching the screen edge
Summary: Menu bar of Firefox closes when I click on any menu while the mouse pointer i...
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: master
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL: https://bugzilla.mozilla.org/show_bug...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-20 12:08 UTC by Patrick Silva
Modified: 2022-09-23 13:16 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2022-09-20 12:08:11 UTC
SUMMARY
I'm using a third-party cursor theme called 'Future Cursors' and Firefox 104.

STEPS TO REPRODUCE
1. use Wayland session
2. run Firefox - I can reproduce regardless Firefox runs natively on Wayland or on Xwayland
3. activate the menu bar by pressing alt key
4. hover over any menu and make sure the mouse pointer is touching the screen edge
5. click

OBSERVED RESULT
the menu bar closes

EXPECTED RESULT
clicked menu opens

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.26.80
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6
Graphics Platform: Wayland
Comment 1 Patrick Silva 2022-09-20 12:14:29 UTC
Ops, can reproduce on X11 too. We must maximize Firefox after opening it.
Comment 2 Vlad Zahorodnii 2022-09-20 12:18:52 UTC
How did it use to work in 5.25?
Comment 3 Nate Graham 2022-09-22 19:14:39 UTC
As far as I can tell, this is a Firefox bug. With CSD mode and the menubar shown, the menu items don't actually touch the top-most pixel of the screen. So when you click that top-most pixel, you're clicking in an empty area of the menu toolbar, so it hides the menu toolbar--just like when you click in any other empty part of the menu toolbar.