max-mapper / max-mapper/menubar

Taskbar with auto-hide on gets overlaid by menubar

Open
#380 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
6.8k
Forks
363
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue on Windows 10 with an auto-hidden taskbar and inspect the menubar window behavior around isAlwaysOnTop and focus loss. The linked cleaning-mode src/main/main.ts shows a related workaround; done means the menubar no longer overlays or is overlaid by the auto-hidden taskbar before focus is lost.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, typescript
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
40/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.