-
-
Notifications
You must be signed in to change notification settings - Fork 210
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
UI Error when moving window to a screen with different resolution. #1282
Comments
Can you try one of the testing builds on this repo: https://github.com/jgmdev/lite-xl/releases/tag/v2.1.0 which include the changes on this PR #998 to better handle scaling, and report if it worked better for you? |
When opening the application on my MacBook that is connected to monitors, the window opens with a very large scale font: Note: Tested build from https://github.com/jgmdev/lite-xl/releases/tag/v2.1.0 |
I am also seeing the same issue. I use my external monitor and the scale is fine, but when I drag it to my M1 the font shrinks like the last image posted here. The official release had this issue and jgmdev's fork is also having the scaling issue. I wonder if it's a HiDPI/LoDPI issue. On the official build I remember tweaking the scale to look nice on my MacBook Pro (HiDPI retina), then hooking up to an external monitor and dragging Lite-XL over (HiDPI -> LoDPI) the UI and text got even larger than OP's. Then on jgmdev's fork, I tweaked everything to look right on my external (LoDPI non-retina ) monitor and brought it over to my MacBook Pro and everythink shrunk beyond readability.
|
Yeah, this can be reproduced on Linux too when using the As a workaround for now you could do a quick restart when you change monitor with the command |
Ok I have a quick fix in the pipeline. |
Can anyone check if #1650 actually fixes the issue on macOS? |
That fix worked for me!
Don't know if I'm calculating scale properly so also listed out numbers. |
Awesome! Thanks for testing! |
Slightly off-topic, but do you know why my settings aren't auto applying to this version of Lite-XL? I see the extensions installed but it seems some of the settings (disabled toolbar) and extensions (sticky header) aren't carrying over. Is this due to me previously using the addon variant and this version not? I would like to test again with all my settings applied. |
Yes, the addons version bundles the
You could manually install the |
When using opening the application on my MacBook, the UI looks fine:
However, when dragging the window to a lower resolution monitor connect to my MacBook, the UI gets distorted like so:
The text was updated successfully, but these errors were encountered: