Bug 299869 - Screen Transformation not reset after using Cube Effect
Summary: Screen Transformation not reset after using Cube Effect
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-window-management (show other bugs)
Version: 4.8.3
Platform: unspecified Linux
: NOR normal
Target Milestone: 4.8.4
Assignee: KWin default assignee
URL: https://git.reviewboard.kde.org/r/104...
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-12 10:30 UTC by Martin Flöser
Modified: 2012-05-22 16:34 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 4.8.4
Sentry Crash Report:
mgraesslin: ReviewRequest+


Attachments
Screenshot highlighting the issue (58.94 KB, image/png)
2012-05-12 10:30 UTC, Martin Flöser
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Flöser 2012-05-12 10:30:46 UTC
Created attachment 71037 [details]
Screenshot highlighting the issue

Steps to reproduce:
1. Use OpenGL 2 backend
2. Use Cube Effect
3. Trigger window thumbnails

Actual result:
Window thumbnails are rendered transformed

Expected Result:
Window thumbnails are rendered correctly
Comment 1 Martin Flöser 2012-05-22 16:33:20 UTC
Git commit 9417a76132b5af438d25870c479e60518d7b0270 by Martin Gräßlin.
Committed on 11/05/2012 at 19:55.
Pushed by graesslin into branch 'master'.

Ensure ScreenTransformation matrix is reset after rendering cube

Cube effect modifies the ScreenTransformation matrix. While each
window resets the matrix on a global level it's not reset. That
means if the last rendered window had the screen rotated the
ScreenTransformation keeps the rotation even after the cube
ended. This causes a rotated window in e.g. TaskbarThumbnails.

REVIEW: 104918

M  +7    -0    kwin/effects/cube/cube.cpp

http://commits.kde.org/kde-workspace/9417a76132b5af438d25870c479e60518d7b0270
Comment 2 Martin Flöser 2012-05-22 16:34:22 UTC
Git commit 6a950aa510e33ce77b15608f19f6032176acd1f0 by Martin Gräßlin.
Committed on 11/05/2012 at 19:55.
Pushed by graesslin into branch 'KDE/4.8'.

Ensure ScreenTransformation matrix is reset after rendering cube

Cube effect modifies the ScreenTransformation matrix. While each
window resets the matrix on a global level it's not reset. That
means if the last rendered window had the screen rotated the
ScreenTransformation keeps the rotation even after the cube
ended. This causes a rotated window in e.g. TaskbarThumbnails.

Cherry-picked from 9417a76132b5af438d25870c479e60518d7b0270
FIXED-IN: 4.8.4
REVIEW: 104918

M  +7    -0    kwin/effects/cube/cube.cpp

http://commits.kde.org/kde-workspace/6a950aa510e33ce77b15608f19f6032176acd1f0