D16278: [effects/presentwindows] Avoid potential freeze during fill-gaps

Erik Kurzinger <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
ekurzinger added a comment.


  Hi Vlad,
  
  The most reliable way to reproduce the freeze in my experience was to trigger the desktop-grid effect while a tool-tip was fading in. Actually, it was one of our users that figured this out. They uploaded a video here demonstrating https://youtu.be/_l1ab_PLP7Y
  
  Doing this, I found I could generally get the freeze within about 5 - 10 tries (without this fix). It might also help to lower the animation speed under compositor settings to make the timing more forgiving. The reproducibility does seem to be affected by seemingly random factors though. You might need to play around with the exact position / size of any windows or which tool-tip you use.
  
  As I mentioned in the summary, I suspect this is because tool-tip windows are fairly small as well as long and narrow so the aspect ratio error ends up being relatively high when presentwindows tries to enlarge them.
  
  P.S. Thanks for fixing up the revision title / version field, this is my first KDE patch :)

REPOSITORY
  R108 KWin

REVISION DETAIL
  https://phabricator.kde.org/D16278

To: ekurzinger, #kwin, romangg
Cc: kwin, zzag, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.