We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
GUI scaling is ignored when set via mmSetCliOption("guiscale", "1.5") or via mmSetGUIScale(1.500000) in a projcet file.
The first scale event comes from the config, the second from the project file and then a third one comes from OpenGL_GLFW_Service::glfw_onWindowContentScale_func, which then overwrites the value with 1again (at the default resolution). This issue has been introduced with the feature "automatic gui scale based on monitor settings" https://github.com/UniStuttgart-VISUS/megamol/blame/2eee5ee99e9b4f17e6ff742575a9202743523b5f/frontend/services/gui/src/GUI_Service.cpp#L227
GUI scaling works via GUI log console and GUI menu.
Reorder the scaling events depending on priority:
Steps To Reproduce Place mmSetGUIScale(1.500000) in a project file and start MegaMol. For default resolution 1920x1080 GUI scaling is still 1.
Expected behavior GUI scaling should be 1.5
Additional Context n.a.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
GUI scaling is ignored when set via mmSetCliOption("guiscale", "1.5") or via mmSetGUIScale(1.500000) in a projcet file.
The first scale event comes from the config, the second from the project file and then a third one comes from OpenGL_GLFW_Service::glfw_onWindowContentScale_func, which then overwrites the value with 1again (at the default resolution).
This issue has been introduced with the feature "automatic gui scale based on monitor settings"
https://github.com/UniStuttgart-VISUS/megamol/blame/2eee5ee99e9b4f17e6ff742575a9202743523b5f/frontend/services/gui/src/GUI_Service.cpp#L227
GUI scaling works via GUI log console and GUI menu.
Solution
Reorder the scaling events depending on priority:
... but is this even possible??
Steps To Reproduce
Place mmSetGUIScale(1.500000) in a project file and start MegaMol. For default resolution 1920x1080 GUI scaling is still 1.
Expected behavior
GUI scaling should be 1.5
Additional Context
n.a.
The text was updated successfully, but these errors were encountered: