max-mapper / max-mapper/menubar
setSize need reset the position
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 6.8k
- Forks
- 363
- PR merge metrics
- No merged PRs in 30d
Description
Description
when i use mb.window.setSize(150, height) change the size, it need to reset the position
Steps to Reproduce the Problem
- traySide is 'bottom'
- focus in mb window
- mb.window.setSize(150, height)
- part of mb window is over hidden
Expected Behaviour
reset the position when setSize()
Actual Behaviour
Specifications
- Menubar version: 9.0.5
- Platform: windows
- Electron version: (Run
electron -vornode_modules/.bin/electron -vto get it)
Other information
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start from the mb.window.setSize() entry point and reproduce the issue on Windows with traySide set to 'bottom'. Resize the focused window to 150 by height and inspect how its position is handled; done means the window is repositioned so no part is hidden after setSize().
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, typescript
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100