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

Appimage Font Sizes of Menu / Buttons / About too small to be readable #6659

Open
derMart opened this issue Mar 1, 2023 · 8 comments
Open
Labels

Comments

@derMart
Copy link

derMart commented Mar 1, 2023

Bug Summary

Menu Font size too small to be readable:

grafik

Ok / Cancel Button same:

grafik

Complete About Section not readable:

grafik

Affected LMMS versions

LMMS 1.2.2 AppImage

Might be related to #4919 but problem here is that UI is not too large but too small.

@derMart derMart added the bug label Mar 1, 2023
@derMart
Copy link
Author

derMart commented Mar 1, 2023

Starting the app with QT_AUTO_SCREEN_SCALE_FACTOR=0 ./lmms-1.2.2-linux-x86_64.AppImage resolves the issue. Please embed this setting inside the AppImage.

@HazySkies
Copy link

HazySkies commented Mar 12, 2023

I've experienced this same issue on Linux Mint 21, but in my case it was so severe that the text is so small it's completely ineligible.

LMMS Linux Mint GUI Scaling

Starting the app with QT_AUTO_SCREEN_SCALE_FACTOR=0 ./lmms-1.2.2-linux-x86_64.AppImage resolves the issue. Please embed this setting inside the AppImage.

This fix solved the issue for me, and seemingly also the scaling issues I've been having as well. Thank you.

@via80HD
Copy link

via80HD commented Oct 18, 2023

Starting the app with QT_AUTO_SCREEN_SCALE_FACTOR=0 ./lmms-1.2.2-linux-x86_64.AppImage resolves the issue. Please embed this setting inside the AppImage.

How does one "embed this setting inside the AppImage."

@derMart
Copy link
Author

derMart commented Oct 18, 2023

How does one "embed this setting inside the AppImage."

I guess that depends on the method / tools used to create the AppImage. If this is done via the appimage-builder there seems to be a key in the yaml configuration: https://stackoverflow.com/questions/71279683/setting-runtime-environment-variables-in-appimage-builder

@derMart
Copy link
Author

derMart commented Oct 18, 2023

For this repo, AppImage building seems to be done via custom script: https://github.com/LMMS/lmms/blob/476a56e713bca22ce6760317de41176bff50610e/cmake/linux/package_linux.sh.in
This references a shell script which starts lmms inside the AppImage: https://github.com/LMMS/lmms/blob/476a56e713bca22ce6760317de41176bff50610e/cmake/linux/launch_lmms.sh
I guess, the env variable needs to only be added to its last line:

QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_X11_NO_NATIVE_MENUBAR=1 "$DIR"/usr/bin/lmms.real "$@"

@via80HD
Copy link

via80HD commented Oct 18, 2023

For this repo, AppImage building seems to be done via custom script: https://github.com/LMMS/lmms/blob/476a56e713bca22ce6760317de41176bff50610e/cmake/linux/package_linux.sh.in This references a shell script which starts lmms inside the AppImage: https://github.com/LMMS/lmms/blob/476a56e713bca22ce6760317de41176bff50610e/cmake/linux/launch_lmms.sh I guess, the env variable needs to only be added to its last line:

QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_X11_NO_NATIVE_MENUBAR=1 "$DIR"/usr/bin/lmms.real "$@"

I appreciate you taking the time to help but I have no clue where to even start. 😂 it's all good though, Im going to just try another version later & see what happens

@derMart
Copy link
Author

derMart commented Oct 18, 2023

I appreciate you taking the time to help but I have no clue where to even start. 😂 it's all good though, Im going to just try another version later & see what happens

Well, I am afraid my wish to have the env variable included was targeted to the developers / maintainers of this project ;-)
If you want to do it yourself, you have to build the appimage with the modified line in launch_lmms.sh I have shown above. There seems to be a guide for building though: https://github.com/LMMS/lmms/wiki/Compiling This includes instructions how to build the appimage. Until a maintainer takes care of this issue I guess this is the only option to have the change included.

@via80HD
Copy link

via80HD commented Oct 20, 2023

I appreciate you taking the time to help but I have no clue where to even start. 😂 it's all good though, Im going to just try another version later & see what happens

Well, I am afraid my wish to have the env variable included was targeted to the developers / maintainers of this project ;-) If you want to do it yourself, you have to build the appimage with the modified line in launch_lmms.sh I have shown above. There seems to be a guide for building though: https://github.com/LMMS/lmms/wiki/Compiling This includes instructions how to build the appimage. Until a maintainer takes care of this issue I guess this is the only option to have the change included.

i was just thinking, if i open lmms using 'QT_AUTO_SCREEN_SCALE_FACTOR=0 ./lmms-1.2.2-linux-x86_64.AppImage' from the terminal & that didnt solve the issue for me, would embedding it in the appimage make any difference? I had a similar issue like this happen before using GIMP where my toolbar text was super tiny & the fix involved editing its .gtkrc file in a text editor & changing the font size inside the gtkrc file to fit your liking, do you know if LMMS appimage as a gtkrc filoe or something similar?

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

No branches or pull requests

3 participants