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

[Workspaces] fixing bug: editor starts outside of visible desktop area #36769

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

donlaci
Copy link
Collaborator

@donlaci donlaci commented Jan 9, 2025

Summary of the Pull Request

On startup check if the editor is within the visible desktop area. If not, reset its position to default values

PR Checklist

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

tested locally

Copy link
Collaborator

@SeraphimaZykova SeraphimaZykova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This approach works for some cases but not for all. It doesn't properly consider scaling when checking if it's in the visible area.
For example, I can reproduce the same issue if I set the scaling on my primary monitor to 300%, connect the second monitor to the right, and open the Editor on the second monitor. After disconnection, its position won't be reset.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants