Repository navigation
Enable HiDPI Scaling (Qt 5.6+ only) [stable-1.2] - #3814
Conversation
|
@flynn16 thanks for rebasing this against The code is: <key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>NSHighResolutionCapable</key>
<string>True</string>The file it will eventually reside in is here: Does anyone subscribed to the project have a Mac with a retina display that can test out the plist option? They would need to compile from this PR. |
|
@tresf I dont't see any difference between |
|
@lukas-w Thanks. Do you have a retina display? If Qt is already scaling on retina, we'll keep the XML changes to be consistent with the official Qt documentation and just not make it a requirement before merging. |
|
One more problem, the PPA used for cross compiling contains an old Qt 5. Perhaps someone should contact the PPA maintainer or build Qt 5.9 manually. |
Thanks for the recommendation. His name is @tobydox and yes he's aware and working on updating the repos. They'll be under a 16.04 repo moving forward but can be safely force-installed onto 14.04 in Travis-CI. If a new Qt build for Windows fixes the scaling issues there too, we can remove our hack which forces the exact opposite. |
Yes. Most icons also appear pixelated due to upscaling, just like in the sreenshot in #2510 (comment). |
|
Thanks for the feedback. Merging. This is a small commit, so it's easy to revert if it causes more issues down the road. |
|
I've just downloaded the AppImage version for Linux, so I have |
|
If it fails to scale automatically, try setting the QT_* environment
variables before launching the AppImage.
$ export | grep 'QT'
$ export QT_SCREEN_SCALE_FACTORS=''
$ export QT_AUTO_SCREEN_SCALE_FACTOR='1'
$ ./lmms.AppImage
…On Sat, Apr 28, 2018 at 11:32 AM, Sander Steenhuis ***@***.*** > wrote:
I've just downloaded the AppImage version for Linux, so I have 1.2.0-rc5
(Linux/x86_64, Qt 5.9.2, GCC 4.8.4). However, everything is still
microsized. Am I missing some setting to enable the scaling?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3814 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AVcBmdDyN16XthorZtoaN_2flpf_Jplnks5ttLWsgaJpZM4Pb5S3>
.
|
|
@flynn16 thank you. The interface indeed scales nicely this way. However, some fonts (menu, instrument panel) stay small while others (track titles) scale properly. Is there a setting for this I have missed? |
Enables HiDPI Scaling in GuiApplication.cpp, environmental variable and mac manifest

This pull request is based on the
stable-1.2branch. Hopefully it will solve the long-standing UI scaling issue of LMMS. Tested on Ubuntu 16.04 via an AppImage.