You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Window chrome actions broken after right click in Electron 38.4.0 on Ubuntu 22 #48656
I agree to follow the Code of Conduct that this project adheres to.
I have searched the issue tracker for a bug report that matches the one I want to file, without success.
Electron Version
38.4.0
What operating system(s) are you using?
Ubuntu
Operating System Version
22.04
What arch are you using?
x64
Last Known Working Electron version
38.1.2
Does the issue also appear in Chromium / Google Chrome?
No, not in Google Chrome 140.
Expected Behavior
I can move, resize and close Electron window by left mouse button any time.
Actual Behavior
I start Electron app (default "Hello World!" form Fiddle) on Ubuntu 22. Then I can move, resize and close Electron window by mouse.
I do right mouse click on window chrome - context menu appears. Then every left mouse click on window chrome context menu (that's wrong) and shows somewhere else, and I cannot move, resize and close Electron window by mouse.
@xmedeko The repro is a bit different in Chrome but it's the same underlying issue. Right-click the actual window buttons (not anywhere in the titlebar as that shows a custom menu in Chrome). The menu won't come back, but the mouse will be stuck in a dragging state where you can't select text in the window.
Activity
nikwen commentedon Oct 24, 2025
Thanks for creating this issue!
Would you be able to attach a screen recording? A video would help us understand better what's going on.
mitchchn commentedon Oct 25, 2025
Tracked this one down to an upstream Chromium issue: https://issues.chromium.org/issues/455147429.
(It has a slightly differently outcome in Chrome, but I have verified this is the root cause.)
xmedeko commentedon Oct 27, 2025
FYI: About the Chromium bug https://issues.chromium.org/issues/455147429 - cannot reproduce it with Google Chrome 140 in Ubuntu 22. (The issue is reported for Chrome 141.)Here is the video - the first is the right mouse click, then there are 2 left mouse clicks - all open context menu.
ElectronBug48656.mp4
mitchchn commentedon Nov 2, 2025
@xmedeko The repro is a bit different in Chrome but it's the same underlying issue. Right-click the actual window buttons (not anywhere in the titlebar as that shows a custom menu in Chrome). The menu won't come back, but the mouse will be stuck in a dragging state where you can't select text in the window.
xmedeko commentedon Nov 3, 2025
@mitchchn You are right, when I click on window buttons, I've got the problem in Chrome 140, too.
xmedeko commentedon Nov 6, 2025
Work well in 39.1.0, thanks.