Open pinned window on bottom right if tray position is unknown #7711
+2
−2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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