Bug 502734

Summary: vscode popup menu in code editor appearing and then disappearing when right-click while using global menu.
Product: [Plasma] plasmashell Reporter: Ninad <ninadpatil0109>
Component: Global Menu widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: kde, mvourlakos, nate
Priority: NOR    
Version First Reported In: 6.3.4   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
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
discord is working fine, the right-click issue isn't there in discord.

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.
Comment 3 Bug Janitor Service 2025-05-01 03:47:40 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Ninad 2025-05-02 14:41:46 UTC
Created attachment 180878 [details]
discord is working fine, the right-click issue isn't there in discord.
Comment 5 Bug Janitor Service 2025-05-17 03:47:05 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2025-06-01 03:47:31 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.