Disable devicePixelRatio in PlasmaShell
Review Request #124463 - Created July 25, 2015 and submitted
Devive pixel ratio has some problems in plasmashell currently.
- dialog continually expands (347951)
- Text element text is screwed (QTBUG-42606)
- Panel struts (350614)
It's also not a /huge/ deal as we do our own thing anyway, so the
experience is better to just turn off this scaling.
I've had this patch in my local code since forever.
We should revert this
when all 3 are fixed.
I'm not willing to currently spend my effort whilst we still have that Qt bug blocking this; but I want to enable the setting for apps in 5.4
|You should put heavy documentation around this line to explain why you do that. Even if this hack is short ...||Mark Gaiser|
You should put heavy documentation around this line to explain why you do that. Even if this hack is short lived and reverted in a few months.
Basically just paste the description of this rr above that line.
-- It's also not a /huge/ deal as we do our own thing anyway, so the
-- experience is better to just turn off this scaling.
I find that excuse somewhat weak. Sure, Qt's way of scaling is biting now, but that's becasue plasma had to make it's own way of scaling. Sure, i know the reasons why it was done and it was the best choice back then, but from day 1 it was known to become an issue if Qt was also going to support scaling. Which it obviously did since it has to keep up with modern day standards.
Plasma now is in the weird position where it needs to either adapt it's scaling to not conflict with Qt or throw all the custom scaling code away and start using the Qt way. Neither is easy imho.