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

Taskbar with auto-hide on gets overlaid by menubar #380

Open
rortan134 opened this issue Aug 30, 2022 · 0 comments
Open

Taskbar with auto-hide on gets overlaid by menubar #380

rortan134 opened this issue Aug 30, 2022 · 0 comments

Comments

@rortan134
Copy link

rortan134 commented Aug 30, 2022

Description

When the user has the taskbar with autohide on, if isAlwaysOnTop is true the menubar overlays the taskbar, if not, it gets overlaid and gets content compromised.

Expected Behavior

Native behavior, the taskbar with autohide on never gets hidden until focus is lost and the menubar window is closed.
RZhDsNdxHe

Actual Behavior

Window gets either on top or behind the taskbar and taskbar gets hidden before focus is lost
LGjtc4GIqn

Specifications

  • Menubar version: 9.2.1
  • Platform: Windows 10
  • Electron version: 20.1.0

Other information

I managed to implement it myself with ffi napi and some very intrusive code (basically it completely changes the windows configuration to disable autohide and then menubar takes care of repositioning) which is not a really good approach, and it's the first GIF I showed. Code is here for anyone interested (first few lines).

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

1 participant