From kde-devel Fri Dec 24 09:48:07 2021 From: Alexander Semke Date: Fri, 24 Dec 2021 09:48:07 +0000 To: kde-devel Subject: blurrish toolbar icons and unified title and toolbar on macOs Message-Id: <4675132.GXAFRqVoOG () localhost ! localdomain> X-MARC-Message: https://marc.info/?l=kde-devel&m=164033926210843 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