
On jeudi, 15 septembre 2016 17.14:22 h CEST Wolfgang Bauer wrote:
Am Donnerstag, 15. September 2016, 13:56:13 schrieb Bruno Friedmann:
seems the fix is quite light (but I'm not a C++ dev :-)
It's probably not as straight-forward as you may think though, because kmail actually does enable HiDPI scaling already (i.e. call QCoreApplication::setAttribute(Qt::EnableHighDPIScaling) ).
See the kmail 16.08.0 sources, main.cpp line#116: https://quickgit.kde.org/?p=kdepim.git&a=blob&h=083a763214152e96b808fda3e4c0 087011ee2a19&hb=69c5ac205e405f2304ba9abe08427feec4624a37&f=kmail%2Fsrc%2Fmai n.cpp
The problem may be that it does so *after* creating the application while the docs say "This attribute must be set before Q(Gui)Application is constructed".
I don't have a HiDPI screen to test it though. Care to try a patched kmail5 package? http://download.opensuse.org/repositories/home:/wolfi323:/test/openSUSE_Tumb leweed/
Would like soo much :-) but I encounter a missing package 6 Problems: Problem: nothing provides libkdepim = 16.08.1 needed by kaddressbook5-16.08.1-88.1.x86_64 Problem: nothing provides libkdepim = 16.08.1 needed by kalarm5-16.08.1-88.1.x86_64 Problem: nothing provides libkdepim = 16.08.1 needed by kmail5-16.08.1-88.1.x86_64 Problem: nothing provides libkdepim = 16.08.1 needed by knotes5-16.08.1-88.1.x86_64 Problem: nothing provides libkdepim = 16.08.1 needed by kontact5-16.08.1-88.1.x86_64 Problem: nothing provides libkdepim = 16.08.1 needed by korganizer5-16.08.1-88.1.x86_64 also tw has still only have the 16.08.0 :-( (Damn queue )
Btw, if this is indeed the problem, it affects every single KDEPIM application. Have a look at the patch, it consists of over 300 lines: https://build.opensuse.org/package/view_file/home:wolfi323:test/kdepim/fix-h idpi-scaling.patch?expand=1
So much for "seems the fix is quite light"... ;-)
You're a lucky guy, I'm not doing C++ :-)
Kind Regards, Wolfgang
Eager to have the missing libkdepim to test it. ps: I put montel in CC just in case. How and I just found another victim of qtwebengine gwenview seems to suffer the case type of bug :-( But we will keep that one for the rainy week-end :-))) -- Bruno Friedmann Ioda-Net Sàrl www.ioda-net.ch Bareos Partner, openSUSE Member, fsfe fellowship GPG KEY : D5C9B751C4653227 irc: tigerfoot -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org