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

Application window randomly resizes #6166

Open
charislam opened this issue Feb 3, 2025 · 5 comments
Open

Application window randomly resizes #6166

charislam opened this issue Feb 3, 2025 · 5 comments
Labels
bug Something isn't working UI Any broken visuals like layouts, colors etc.

Comments

@charislam
Copy link

Version

0.14.6

Operating System

macOS

Distribution Method

dmg (Mac OS - Apple Silicon)

Describe the issue

The application window randomly resizes to 400% of its normal size (so that modals which should appear in the center of the scren are instead centered on the bottom right corner). This makes it unusable because you can't click any modal buttons or create a commit/push (the menus at the bottom of each branch are completely off-screen). It resets when the app is closed and restarted, but this happens several times a day so it's quite irritating.

I don't know if there's a particular trigger that makes it do this. I see it only when refocusing the app after working on something else.

How to reproduce (Optional)

No response

Expected behavior (Optional)

No response

Relevant log output (Optional)

@charislam charislam added the bug Something isn't working label Feb 3, 2025
@Byron Byron added the UI Any broken visuals like layouts, colors etc. label Feb 4, 2025
@Byron
Copy link
Collaborator

Byron commented Feb 4, 2025

Thanks a lot for reporting, and sorry for the hassle.

It's a strange issue we haven't encountered yet. Previously there was a problem with the Window being set to a zero-size so it became invisible, but becoming 4 times larger is new.

Does this get better when removing this file: ~/Library/Application\ Support/com.gitbutler.app.dev/.window-state?

Thank you

CC @estib-vega

@Byron Byron added the feedback requested Feedback was requested to help resolve the issue label Feb 4, 2025
@charislam
Copy link
Author

Thanks for the quick response @Byron! Tried deleting .window-state and unfortunately it did not help.

@Byron Byron removed the feedback requested Feedback was requested to help resolve the issue label Feb 5, 2025
@Byron
Copy link
Collaborator

Byron commented Feb 5, 2025

Thanks for trying, I didn't exactly have high hopes for it and it's good to know that deleting this file indeed doesn't affect the issue.

Is a second screen involved? The 4x factor is like going from low-DPI to high-DPI.

@charislam
Copy link
Author

Oh, good question! I think you're right. I've been getting this problem on my monitor, but I disconnected it this morning and haven't had a problem with just my laptop screen so far.

@Byron
Copy link
Collaborator

Byron commented Feb 5, 2025

Perfect, thanks for sharing! This might mean that low-DPI screens somehow trigger this resizing issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working UI Any broken visuals like layouts, colors etc.
Projects
None yet
Development

No branches or pull requests

2 participants