IMO it would be fair to log an issue for automatic scaling of the âQWebEngineViewâ that is driving the help browser. I donât know Qt well, but there may be some property that should be set internally for high-resolution displays.
As a workaround, the help browser supports standard ctrl-+, ctrl-- and ctrl-0 zoom keys (Iâm pretty sure thatâs QWebEngine default behavior).
Agreed that itâs not user-friendly for SC to pop up a help browser that is initially unreadable, but until someone can look at that, you do have manual control over the display size.
The ctrl-+ and ctrl-- shortcuts works for the help browser and the scide text editor, but have no effect on Server meter etc⌠and other GUI objects made in sclang.
Btw, the MuseScore sheet music editor is also made with Qt, and the scores look the same in any resolution.
After this issue was opened, SC updated the requirement for the minimum Qt version, leading to the question:
June 9, 2018:
âthis might be fixed with #3165 ?â
August 30, 2018:
â⌠is this still an issue after #3165 or should we close?â
#3165 appears to have been merged into 3.10.
So, the question for this thread is: @bernardgeyer which SC version are you on? Because, if youâre using 3.10, then the answer to the outstanding question on issue 2442 is that 3165 did not fix it.
At the time of that change, I only had a Mac device, so I was only able to do detailed hidpi fixes on that platform. I recall that I never got any positive confirmation of anyone testing hidpi on Windows (even though, frustratingly, half of SCâs downloads are on WindowsâŚ), so itâs totally possible that there could still be problems here.
Also - sclang and the IDE only formally support 1x and 2x scaling factors. If you have a device that supports 1.5x scaling on Windows, this is very likely to be the problem (my guess is that 1.5 works in some places, but not everywhere) - I would suggest trying 1x or 2x. If youâre comfortable with building SC, I would be happy to point you to places in the code that might need updates to account for 1.5x, Iâm sure other users would be happy for fixes in this area as well.
Finally - how does the sclang UI look? Is it scaled similarly to the IDE, or is it more correct?
It looks like removing that round enables fractional scaling for UserViews. As it is now I get widgets scaling properly, while UserViews and Images only scale at integer scale factors. It creates plots like this, at 1.5x on Linux:
While after removing that round():
What do you think? Any reason why that round should stay there?