Skip to content

Window chrome actions broken after right click in Electron 38.4.0 on Ubuntu 22 #48656

Closed

Description

@xmedeko

Preflight Checklist

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

  1. I start Electron app (default "Hello World!" form Fiddle) on Ubuntu 22. Then I can move, resize and close Electron window by mouse.
  2. 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.

Testcase Gist URL

The "Hello World!" app Fiddle creates on start

Additional Information

See #48422

Activity

  1. added theissue type on Oct 24, 2025
  2. moved this to 👀 Unsorted Items in 38-x-yon Oct 24, 2025
  3. nikwen commented on Oct 24, 2025

    @nikwen
    Member

    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.

  4. added
    bug/regression ↩️
    blocked/need-info ❌
    on Oct 24, 2025
  5. mitchchn commented on Oct 25, 2025

    @mitchchn
    Member

    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.)

  6. removed
    blocked/need-info ❌
    on Oct 25, 2025
  7. xmedeko commented on Oct 27, 2025

    @xmedeko
    Author

    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
  8. added
    tracking-upstream
    on Oct 29, 2025
  9. moved this from 👀 Unsorted Items to 👍 Does Not Block Stable in 38-x-yon Oct 29, 2025
  10. mitchchn commented on Nov 2, 2025

    @mitchchn
    Member

    @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.

  11. xmedeko commented on Nov 3, 2025

    @xmedeko
    Author

    @mitchchn You are right, when I click on window buttons, I've got the problem in Chrome 140, too.

  12. xmedeko commented on Nov 6, 2025

    @xmedeko
    Author

    Work well in 39.1.0, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    38-x-ybug 🪲bug/regression ↩️component/BaseWindowplatform/linuxtracking-upstreamwayland

    Type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions