D29154: Use QWindow overload of QIcon::pixmap

2020-06-16 Thread Noah Davis
ndavis accepted this revision. ndavis added a comment. Giving this a +1 just for consistency with the kirigami and plasma-framework changes. I can't really test this since I don't have any screens with different DPIs though. REPOSITORY R31 Breeze REVISION DETAIL https://phabricator.kde.

D29154: Use QWindow overload of QIcon::pixmap

2020-06-13 Thread David Redondo
davidre added a comment. In my testing dragging a window to a screen with a different scalefactor has no issue and @apol said for him it's better than the status quo. So I would like to land this REPOSITORY R31 Breeze REVISION DETAIL https://phabricator.kde.org/D29154 To: davidre, apo

D29154: Use QWindow overload of QIcon::pixmap

2020-04-28 Thread David Redondo
davidre added a comment. I did some digging and think that things should be repainted when they change screen https://code.woboq.org/qt5/qtbase/src/widgets/kernel/qwidgetwindow.cpp.html#_ZN13QWidgetWindow18handleScreenChangeEv REPOSITORY R31 Breeze REVISION DETAIL https://phabricator.

D29154: Use QWindow overload of QIcon::pixmap

2020-04-25 Thread Aleix Pol Gonzalez
apol added a comment. Yeah, I guess that phabricator scaled the pictures to take less space. My impression was that the patch improved things. REPOSITORY R31 Breeze REVISION DETAIL https://phabricator.kde.org/D29154 To: davidre, apol, broulik, ndavis, #breeze, davidedmundson, cblack

D29154: Use QWindow overload of QIcon::pixmap

2020-04-25 Thread David Redondo
davidre added a comment. Actually everything in the sidebad is very blurry at 2x REPOSITORY R31 Breeze REVISION DETAIL https://phabricator.kde.org/D29154 To: davidre, apol, broulik, ndavis, #breeze, davidedmundson, cblack Cc: cblack, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, jral

D29154: Use QWindow overload of QIcon::pixmap

2020-04-25 Thread David Redondo
davidre added a comment. In D29154#656690 , @apol wrote: > This is what it looks like for me with the patch applied. > > scale 1x: F8258193: Screenshot_20200424_203628.png > scale 2x: F8258201: Screen

D29154: Use QWindow overload of QIcon::pixmap

2020-04-24 Thread Aleix Pol Gonzalez
apol accepted this revision. apol added a comment. This is what it looks like for me with the patch applied. scale 1x: F8258193: Screenshot_20200424_203628.png scale 2x: F8258201: Screenshot_20200424_203729.png

D29154: Use QWindow overload of QIcon::pixmap

2020-04-24 Thread David Redondo
davidre added a comment. In D29154#656585 , @apol wrote: > +1 > > I did the same thing for kirigami @ D29100 and plasma-framework @ D29102 yesterday after looking at Q

D29154: Use QWindow overload of QIcon::pixmap

2020-04-24 Thread Aleix Pol Gonzalez
apol added a comment. In D29154#656516 , @cblack wrote: > Icon handling looks somewhat funky with this patch applied when a window changes DPI. > F8257898: ksnip_20200424-111720.png Right, should

D29154: Use QWindow overload of QIcon::pixmap

2020-04-24 Thread Aleix Pol Gonzalez
apol added a comment. +1 I did the same thing for kirigami @ D29100 and plasma-framework @ D29102 yesterday after looking at Qt's code and assessing it was the right thing to do. I am not familiar with Breeze's

D29154: Use QWindow overload of QIcon::pixmap

2020-04-24 Thread Carson Black
cblack requested changes to this revision. cblack added a comment. This revision now requires changes to proceed. Icon handling looks somewhat funky with this patch applied when a window changes DPI. F8257898: ksnip_20200424-111720.png REPOSITORY R31

D29154: Use QWindow overload of QIcon::pixmap

2020-04-24 Thread David Redondo
davidre updated this revision to Diff 81107. davidre added a comment. Correct code style when I'm touching these lines either way REPOSITORY R31 Breeze CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D29154?vs=81106&id=81107 BRANCH window REVISION DETAIL https://phabricator.kd