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

List:       kde-devel
Subject:    blurrish toolbar icons and unified title and toolbar on macOs
From:       Alexander Semke <alexander.semke () web ! de>
Date:       2021-12-24 9:48:07
Message-ID: 4675132.GXAFRqVoOG () localhost ! localdomain
[Download RAW message or body]

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 als=
o
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 her=
e?


Also, while looking into this issue I became aware of
QMainWindow::setUnifiedTitleAndToolbarOnMac(). When setting it to 'true' t=
he
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 t=
his
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 automatic=
ally
and have a similar look?


Regards,
Alexander



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

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