sublime_text icon indicating copy to clipboard operation
sublime_text copied to clipboard

App menu is hiding when it should not

Open stychos opened this issue 1 year ago • 8 comments

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)

stychos avatar Apr 30 '24 02:04 stychos

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

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

Does it happen in safe mode?

BenjaminSchaaf avatar Apr 30 '24 02:04 BenjaminSchaaf

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

stychos avatar May 09 '24 02:05 stychos

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

BenjaminSchaaf avatar May 09 '24 02:05 BenjaminSchaaf

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?

stychos avatar May 09 '24 22:05 stychos

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 avatar May 14 '24 08:05 ajstarks

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

ajstarks avatar Jun 06 '24 22:06 ajstarks

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.

stychos avatar Jun 06 '24 22:06 stychos

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.

valeriesubl avatar Jun 19 '24 08:06 valeriesubl

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

siddhpant avatar Aug 03 '24 07:08 siddhpant