<div dir="ltr"><div>Naively, this seems to me like due to fractional scaling.</div><div>The application or part of it could have a ceiled version of the actual scale, the same way wayland protocol has the issue.</div><div><br></div><div>>
somewhere in KMainWindow so all KDE applications benefit from it automatically<br>
and have a similar look?</div><div><br></div><div>It seems to me like a good idea.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le ven. 24 déc. 2021 à 10:48, Alexander Semke <<a href="mailto:alexander.semke@web.de">alexander.semke@web.de</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<br>
<br>
we've got a problem reported where a macOs user complained about blurrish<br>
icons and texts in the main toolbar on his iMac 27" 5K. The problem is also<br>
reproducible for other 4K monitors and for macbook's Retina displays.<br>
<br>
I did a screenshot of LabPlot, Kate and Numbers:<br>
<a href="https://imgur.com/a/IR0iVNj" rel="noreferrer" target="_blank">https://imgur.com/a/IR0iVNj</a><br>
<br>
Here, crystal clear icons and texts in Kate and very blurrish in LabPlot. In<br>
both applications<br>
<br>
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);<br>
QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);<br>
<br>
are set. What else are we missing in LabPlot? Does somebody has a hint here?<br>
<br>
<br>
Also, while looking into this issue I became aware of<br>
QMainWindow::setUnifiedTitleAndToolbarOnMac(). When setting it to 'true' the<br>
toolbar merges together with the window title bar which seems to be the<br>
standard on mac. On the screenshot above I set it to 'true' in LabPlot and<br>
it's similar to "Numbers" now. Kate and Dolphin on mac don't seem to set this<br>
property, I didn't check any other applications.<br>
<br>
Should we add something like<br>
<br>
#ifdef Q_OS_MAC<br>
setUnifiedTitleAndToolbarOnMac(true);<br>
#endif<br>
<br>
somewhere in KMainWindow so all KDE applications benefit from it automatically<br>
and have a similar look?<br>
<br>
<br>
Regards,<br>
Alexander<br>
<br>
<br>
<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature">Méven</div>