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

Open pinned window on bottom right if tray position is unknown #7711

Conversation

tobias-jarvelov
Copy link
Contributor

@tobias-jarvelov tobias-jarvelov commented Feb 24, 2025

Platform: Windows

When the taskbar is hidden the tray icon's position can't be established the pinned window is opened in the center of the screen as the fallback position. This PR changes the fallback position to be the lower right of the screen instead of the center of the screen.

Adds feature requested in discussion in #5114.

Note that even though the application can be pinned/unpinned on both Windows and Mac OS, the tray position can only be 'none' on Windows, as on Mac OS the tray position is always statically set to 'top' and as such will not be affected by this change.


This change is Reviewable

Copy link

linear bot commented Feb 24, 2025

@tobias-jarvelov tobias-jarvelov added Windows Issues related to Windows Desktop frontend Issues related to the desktop GUI labels Feb 24, 2025
The default is currently to open the window in
the center of the primary screen when the tray
icon's position can't be established. This can
happen when the taskbar is hidden.
@MarkusPettersson98 MarkusPettersson98 force-pushed the default-window-position-to-lower-right-when-no-visible-tray-des-345 branch from 197b6eb to 242ecaf Compare February 28, 2025 09:54
@MarkusPettersson98 MarkusPettersson98 merged commit ca045c6 into main Feb 28, 2025
11 checks passed
@MarkusPettersson98 MarkusPettersson98 deleted the default-window-position-to-lower-right-when-no-visible-tray-des-345 branch February 28, 2025 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Desktop frontend Issues related to the desktop GUI Windows Issues related to Windows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants