Summary: | desktop effects are not working after xrandr events | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | thomas coopman <thomas.coopman> |
Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | adz21c, aseigo, finex, latev, wstephenson |
Priority: | NOR | Keywords: | investigated, triaged |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
thomas coopman
2009-01-16 18:04:45 UTC
After some more testing I found out that this doesn't get triggered by all rotations, only by left and right, rotation:inverted keeps the desktop effects on. Generalising, it appears kwin doesn't handle other xrandr events which it needs to when compositing is enabled. If I change the screen mode from my laptop (intel 945gm)'s native 1024x768 to 1024x600, to emulate a netbook, kwin's painting is badly corrupted - things are painted in the wrong place on the screen or not painted at all. Steps to reproduce: $ gtf 1024 600 50 (for a modeline) $ xrandr --newmode "1024x600" 39.55 1024 1048 1152 1280 600 601 604 618 -HSync +Vsync $ xrandr --addmode LVDS 1024x600 ("LVDS" here is hardware specific...) $ xrandr --output LVDS --mode 1024x600 and painting is corrupted Be ready with $ xrandr --output LVDS --mode 1024x768 in your clipboard to get the display usable again, you may not be able to see what you are typing.... SVN commit 937637 by asommer: Resize the overlay-window to allow compositing to continue working after xrandr-events. CCBUG:180994 M +1 -0 composite.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=937637 SVN commit 937639 by asommer: Backport 937637. Resize the overlay-window to allow compositing to continue working after xrandr-events. CCBUG:180994 M +1 -0 composite.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=937639 *** Bug 188208 has been marked as a duplicate of this bug. *** Aike: do your commits fix this bug completely, or only partially? I can confirm that switching modes with xrandr/krandrtray brakes the effects on my system too tl@I7:~/Documents$ uname -a Linux I7 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 22:12:12 UTC 2009 x86_64 GNU/Linux to reproduce - just switch to any mode using xrandr -s 1024x768 for example the effects are gone after that tl@I7:~/Documents$ kwin --version Qt: 4.5.0 KDE: 4.2.2 (KDE 4.2.2) KWin: 4.2.2 (KDE 4.2.2) Hi! Is this bug still valid with KDE 4.5? Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! |