You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on an app that runs in the menubar and opens its window on launch. This works well when the tray icon is visible on Windows, but when it isn't, the window is incorrectly positioned as if it was horizontally centered around x=0. Pinning the tray icon to the tray area solves the problem but it still looks weird to first-time users.
Description
I'm working on an app that runs in the menubar and opens its window on launch. This works well when the tray icon is visible on Windows, but when it isn't, the window is incorrectly positioned as if it was horizontally centered around x=0. Pinning the tray icon to the tray area solves the problem but it still looks weird to first-time users.
CleanShot.2023-03-26.at.22.54.26.mp4
Steps to Reproduce the Problem
I instantiated menubar with these settings:
Expected Behaviour
When the tray icon's position is unknown, the window should be positioned on the bottom right as a fallback.
Actual Behaviour
The window is partially hidden on the bottom left of the screen.
Specifications
The text was updated successfully, but these errors were encountered: