sublimehq / sublime_text

Issue tracker for Sublime Text
https://www.sublimetext.com
813 stars 40 forks source link

App menu is hiding when it should not #6363

Open stychos opened 6 months ago

stychos commented 6 months ago

Description of the bug

When I use Sublime Text with the menu hidden by default (which I prefer), I previously had the ability to hid it and call by pressing Alt button. Then, more than for a decade I used mac and didn't suffer because of it, awe to the macOS global menu. Now, when hackintosh is dying I turned back to Linux and really suffer when I see this menu line - it takes too much vertical space that must be in the top bar. Which is not, unfortunately, thanks the Linux way of things. So I keep it hid by default and wish to be toggled by pressing Alt, which worked fine a decade ago on Windows. Now, when I press Alt it shows first menu subtree fine, but when I try to use another one, it hids.

Steps to reproduce

  1. Open Palette, toggle menu off,
  2. Press Alt to show menu, File menu will be shown,
  3. Try to move mouse cursor to any other subtree, like Preferences - menu will hid before you can select anything.

Expected behavior

Should be able to use any menu subtree.

Actual behavior

Can use only File menu subtree.

Sublime Text build number

4169

Operating system & version

Arch Linux: 6.8.7-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 17 Apr 2024 15:20:28 +0000 x86_64 GNU/Linux

(Linux) Desktop environment and/or window manager

Gnome 46

Additional information

image

OpenGL context information

OpenGL Context Information:
  GL API Version: 4.6 (Core Profile) Mesa 24.0.5-arch1.1
  GLSL Version: 4.60
  Vendor: AMD
  Renderer: AMD Radeon RX 590 Series (radeonsi, polaris10, LLVM 17.0.6, DRM 3.57, 6.8.7-arch1-1)
BenjaminSchaaf commented 6 months ago

It's working fine here also under GNOME/Wayland:

Screencast from 2024-04-30 12-49-18.webm

Does it happen in safe mode?

stychos commented 6 months ago

It's working fine here also under GNOME/Wayland: Screencast.from.2024-04-30.12-49-18.webm

Does it happen in safe mode?

Hi, yes.

Screencast from 2024-05-09 05-21-51.webm

BenjaminSchaaf commented 6 months ago

Looks like you have a fair number of GNOME extensions installed. It could be that one of those is causing this.

stychos commented 6 months ago

Looks like you have a fair number of GNOME extensions installed. It could be that one of those is causing this.

Nope. Disabled extensions, re-logged and it's still the same.

Screencast from 2024-05-10 01-04-17.webm

Sorry, forgot to shot the cursor, but it's the same. Any ways to debug this?

ajstarks commented 6 months ago

I can also reproduce this issue on two systems both running Fedora 40, Gnome 46 (I first noticed the issue when I upgraded): ThinkPad X1 Carbon 5th Gen, and Minisforum UM690. Note that the issue does not occur under X11, only Wayland.

ajstarks commented 5 months ago

Note that the issue does not occur when using the Plasma Desktop Environment (6.0.5)

stychos commented 5 months ago

Note that the issue does not occur when using the Plasma Desktop Environment (6.0.5)

Plasma has global menu and this may be not a problem at all there. But it's so buggy in so many other ways, I couldn't exist in it. Maybe should try once again with v.6.

valeriesubl commented 5 months ago

I was able to reproduce this on Wayland via the following keystroke order: Alt press, F press, F release, Alt release. I was also able to reproduce this in LibreOffice, so this seems to be a bug on Wayland's end.

siddhpant commented 3 months ago

I am also facing this bug recently. I'm on GNOME 46 too.