Bug 502734 - vscode popup menu in code editor appearing and then disappearing when right-click while using global menu.
Summary: vscode popup menu in code editor appearing and then disappearing when right-c...
Status: NEEDSINFO WAITINGFORINFO
Alias: None
Product: plasmashell
Classification: Plasma
Component: Global Menu widget (show other bugs)
Version: 6.3.4
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-13 06:11 UTC by Ninad
Modified: 2025-04-16 17:47 UTC (History)
3 users (show)

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


Attachments
when i right-click in the vscode, code editor menu appears and disappears iin an instant (716.52 KB, video/webm)
2025-04-13 06:11 UTC, Ninad
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ninad 2025-04-13 06:11:23 UTC
Created attachment 180217 [details]
when i right-click in the vscode, code editor menu appears and disappears iin an instant

When right-clicking inside the VS Code editor window, the context menu appears briefly and then disappears instantly, making it impossible to interact with it.
Steps to Reproduce:

    Open Visual Studio Code.

    Right-click inside the code editor (e.g., on a variable or a blank line).

    Observe the context menu behavior.

Expected Behavior:

The context menu should remain visible until a user selects an option or clicks elsewhere.
Actual Behavior:

The context menu flashes for a split second and then disappears automatically.
Environment Details:

    Desktop Environment: KDE Plasma

    Widget in Use: Global Menu

    Issue Trigger: Only occurs when the Global Menu widget is added to a panel.

Additional Notes:

    Removing the Global Menu widget from the panel resolves the issue.

    This only affects some applications (notably Electron-based apps like VS Code).

    The bug seems to be related to how the Global Menu interacts with Electron's context menu rendering.
Comment 1 Nate Graham 2025-04-16 17:28:16 UTC
Probably an Electron bug. Are you able to reproduce this with other Electron-using apps? E.g. Discord
Comment 2 Ninad 2025-04-16 17:47:36 UTC
(In reply to Nate Graham from comment #1)
> Probably an Electron bug. Are you able to reproduce this with other
> Electron-using apps? E.g. Discord

I’ll give Discord a try and see if the same issue happens there.