[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: blurrish toolbar icons and unified title and toolbar on macOs
From:       Méven <meven29 () gmail ! com>
Date:       2021-12-24 14:02:58
Message-ID: CAOvFf8OQGdhoKfcjcaxc32z74YsyvC91xy8-PivGqdfdcvz26g () mail ! gmail ! com
[Download RAW message or body]

Naively, this seems to me like due to fractional scaling.
The application or part of it could have a ceiled version of the actual
scale, the same way wayland protocol has the issue.

> somewhere in KMainWindow so all KDE applications benefit from it
automatically
and have a similar look?

It seems to me like a good idea.

Le ven. 24 déc. 2021 à 10:48, Alexander Semke <alexander.semke@web.de> a
écrit :

> Hi all,
>
> we've got a problem reported where a macOs user complained about blurrish
> icons and texts in the main toolbar on his iMac 27" 5K. The problem is also
> reproducible for other 4K monitors and for macbook's Retina displays.
>
> I did a screenshot of LabPlot, Kate and Numbers:
> https://imgur.com/a/IR0iVNj
>
> Here, crystal clear icons and texts in Kate and very blurrish in LabPlot.
> In
> both applications
>
> QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
> QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
>
> are set. What else are we missing in LabPlot? Does somebody has a hint
> here?
>
>
> Also, while looking into this issue I became aware of
> QMainWindow::setUnifiedTitleAndToolbarOnMac(). When setting it to 'true'
> the
> toolbar merges together with the window title bar which seems to be the
> standard on mac. On the screenshot above I set it to 'true' in LabPlot and
> it's similar to "Numbers" now. Kate and Dolphin on mac don't seem to set
> this
> property, I didn't check any other applications.
>
> Should we add something like
>
> #ifdef Q_OS_MAC
> setUnifiedTitleAndToolbarOnMac(true);
> #endif
>
> somewhere in KMainWindow so all KDE applications benefit from it
> automatically
> and have a similar look?
>
>
> Regards,
> Alexander
>
>
>
>

-- 
Méven

[Attachment #3 (text/html)]

<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>&gt;  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 &lt;<a \
href="mailto:alexander.semke@web.de">alexander.semke@web.de</a>&gt; 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&#39;ve got a problem reported where a macOs user complained about blurrish<br>
icons and texts in the main toolbar on his iMac 27&quot; 5K. The problem is also<br>
reproducible for other 4K monitors and for macbook&#39;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 &#39;true&#39; \
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 &#39;true&#39; in LabPlot \
and<br> it&#39;s similar to &quot;Numbers&quot; now. Kate and Dolphin on mac \
don&#39;t seem to set this<br> property, I didn&#39;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>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic