D20234: Also unset QT_SCALE_FACTOR
Vlad Zagorodniy <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
zzag accepted this revision.
zzag added a comment.
This revision is now accepted and ready to land.
In D20234#443006 <https://phabricator.kde.org/D20234#443006>, @davidedmundson wrote:
> > #30 0x00007f525ca47a9c in QFontMetrics::boundingRect(QChar) const () at /usr/lib/libQt5Gui.so.5
Relevant code:
int gridUnit = QFontMetrics(font()).boundingRect(QLatin1Char('M')).height();
> This will return something in logical pixels
> Kwin will resize the decoration in device pixels
Hmm, KWin gets stuck in QFontMetrics::boundingRect, I don't see a loop here.
> I can't tell you the exact loop but you've already got a corrupted state.
Agreed.
REPOSITORY
R108 KWin
BRANCH
origin-master (branched from master)
REVISION DETAIL
https://phabricator.kde.org/D20234
To: davidedmundson, zzag
Cc: zzag, kwin, jraleigh, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, ngraham, alexeymin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart