Bug 160081 - window borders aren't redrawn/invalidated properly
Summary: window borders aren't redrawn/invalidated properly
Status: RESOLVED DUPLICATE of bug 157659
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-30 01:34 UTC by Armin Berres
Modified: 2008-04-02 15:23 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot showing the problem. (76.98 KB, image/png)
2008-03-30 01:59 UTC, Armin Berres
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Armin Berres 2008-03-30 01:34:05 UTC
Version:            (using Devel)
Installed from:    Compiled sources

Just updated to r791114 and resizing windows horizontally gives interesting artefacts:
When you make a window smaller by dragging the left border, the buttons (moximize, minimize, ...) aren't redrawn. When you make the window larger the buttons get drawn over and over again, but the old ones doesn't get removed. Looks a bit like resizing windows doesn't invalidate the window borders.

If you need more information or want a screenshot: Tell me :)
Comment 1 Armin Berres 2008-03-30 01:58:41 UTC
Some more information:
You can find a screenshot attached now. More or less the same happens with other window decorations than Oxygen, but they seem to be more robust. Making the window smaller is no problem for most of them e.g.
I'm using and r300 with the radeon driver and composite is not used.
When the "broken" window is no more avtive the window border is completely fine again.
Comment 2 Armin Berres 2008-03-30 01:59:31 UTC
Created attachment 24120 [details]
Screenshot showing the problem.
Comment 3 Armin Berres 2008-03-30 23:47:55 UTC
Some more information coming directly from #debian-qt-kde:
Nearly the same thing happens with KDE 4.0.2 and Qt 4.4, but the buttons also completely vanish, when making the window smaller. This means this is a Qt 4.4 beta1 bug. With 4.3 everything was fine.

"QT_USE_NATIVE_WINDOWS=1 kwin --replace" makes the situation much better, but there are still some artefacts. The gradient of the boarder when using the Oxygen theme also doesn't change when you resize windows which means that only the part of the border where the buttons where get redrawn.
Comment 4 Lubos Lunak 2008-04-02 15:23:52 UTC

*** This bug has been marked as a duplicate of 157659 ***