Skip to content

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

Description

@gilsmt

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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions