Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bar autohide + Super key #11035

Closed
lucasgabmoreno opened this issue Aug 10, 2022 · 10 comments
Closed

Bar autohide + Super key #11035

lucasgabmoreno opened this issue Aug 10, 2022 · 10 comments

Comments

@lucasgabmoreno
Copy link

lucasgabmoreno commented Aug 10, 2022

 * Cinnamon 5.4.9
 * Distribution: Linux Mint Debian Edition LMDE 5
 * Intel HD 5500(i915) + Nvidia 940M (nvidia-driver)
 * 64 bit

Issue

After updating to last Cinnamon version, when press Super (Winkey) in autohide bar, this overlaps Menu.

2022-08-10_19-04

Steps to reproduce
Super (Winkey)

Expected behaviour
No overlap Menu and bar

@lucasgabmoreno lucasgabmoreno changed the title Bar autohide + Supr Bar autohide + Super key Aug 10, 2022
@mtwebster
Copy link
Member

Hi, can you try out the Mint cinnamon themes (any of them) to see if this happens there? This may be a theme issue.

@lucasgabmoreno
Copy link
Author

Nope, same problem with Mint-Y-Dark (in different computers).

Captura de pantalla de 2022-08-10 21-04-56

@rcalixte
Copy link
Member

rcalixte commented Aug 13, 2022

I've noticed this as well but haven't had a chance to dig into this part of the code yet. Essentially what is happening is when the panel is set to auto-hide and the Super key is pressed (or whatever Open Menu accelerators are configured), the Menu is displayed before the panel is unhidden which causes the panel to appear above the bottom of the menu dialog box. The same thing can happen if the Menu has "Open the menu when I move my mouse over it" enabled (though this is harder to replicate consistently).

It seems like a race condition where the panel needs to be expanded first and only once fully expanded, then the Menu should be opened.

@lucasgabmoreno A workaround I've found when needed is to mouse over the panel to expand it before opening the Menu or disabling the option "Force the panel to be visible when opening the menu" in the settings.

@rcalixte
Copy link
Member

Duplicate of #10970

@lucasgabmoreno
Copy link
Author

Thanks @rcalixte! But I can't find "Force the panel to be visible when opening the menu" en settings.
Captura de pantalla de 2022-08-13 10-31-36

@mtwebster
Copy link
Member

Right-click the start menu button and select 'Configure' - it's in the applet's settings, not panels.

@mtwebster
Copy link
Member

In the past, it was the same behavior as current, except the menu shifted once the panel was fully open. I had a look at this yesterday -

  • Waiting to show the menu until the panel reveals itself would take too long.
  • Eliminating the panel animation when the menu opens is really not viable currently without a lot of rework to the panel or a lot of ugly hacks (there are delays and callbacks involved that make 'show panel' -> 'panel shown' non-synchronous.

The simplest solution for now is to mimic the behavior in previous versions and have the menu shift when the panel opens.

@lucasgabmoreno
Copy link
Author

Thanks! I found them but doesn't solve the problem.

@nhamawi
Copy link

nhamawi commented Mar 16, 2023

This is still a problem today in the latest release of Cinnamon and even worse if you dock the taskbar panel to the top of the screen, in which case, the search box is partially obscured.

Screenshot from 2023-03-16 12-25-56

@fredcw
Copy link
Contributor

fredcw commented Aug 8, 2023

This issue was fixed by 11788 above and can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants