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

Triggering a full update on a window with F5 can cause it to relocate #603

Open
kkoreilly opened this issue Aug 9, 2023 · 7 comments · May be fixed by #1341
Open

Triggering a full update on a window with F5 can cause it to relocate #603

kkoreilly opened this issue Aug 9, 2023 · 7 comments · May be fixed by #1341
Assignees
Labels
bug Something isn't working correctly
Milestone

Comments

@kkoreilly
Copy link
Member

In particular, when using multiple monitors, this change can be quite extreme and put it outside of the bounds of the monitor.

@kkoreilly kkoreilly added the bug Something isn't working correctly label Aug 9, 2023
@kkoreilly kkoreilly self-assigned this Aug 9, 2023
@kkoreilly
Copy link
Member Author

This is still a major issue.

@kkoreilly kkoreilly added this to the v2 milestone Dec 25, 2023
@kkoreilly
Copy link
Member Author

There are also more issues with multiple monitors that we need to fix, such as #632, #509, and whether windows opened in the context of a window on one monitor should always open on that monitor instead of going to the main monitor.

@kkoreilly
Copy link
Member Author

kkoreilly commented Jan 18, 2024

This still happens, but only with multiple monitors.

@kkoreilly kkoreilly reopened this Jan 18, 2024
@kkoreilly
Copy link
Member Author

We also need to resolve our approach to screen-specific settings, like for zoom.

@kkoreilly
Copy link
Member Author

Also, windows are now sometimes getting smaller on F5.

@kkoreilly kkoreilly modified the milestones: v0.3, v0.4 Jul 23, 2024
@theclapp
Copy link

I see this on a Macbook Pro 2019 15" with an external monitor. I have the external monitor set as the "main" monitor. I put the demo on the builtin laptop screen and pressed F5, it jumped to the external monitor.

When it jumped it retained (approximately?) the same size and zoom, but when I pressed Cmd-+ (plus) and Cmd-- (minus) it reset to the "actual" zoom: On the builtin display, 100% is fine; on the external display, I have to use about 400%.

The builtin monitor is 2880x1800 (native), which I run at 1680x1050 (the default); the external is a ViewSonic vx3211-4k, 3840x2160 (native), which I run at 3200x1800.

@kkoreilly
Copy link
Member Author

Yes, the key issue here is that we are currently not saving the monitor a window is on, so anytime you F5, it resets to the main monitor. There are some issues in glfw in terms of how you determine what monitor something goes on, but it shouldn't be too hard to implement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly
Projects
Status: In progress
Development

Successfully merging a pull request may close this issue.

2 participants