Summary: | Wobbly windows kwin effect mini conflicts whit the shadow one | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | loic <okparanoid> |
Component: | compositing | Assignee: | Martin Flöser <mgraesslin> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | james, jonas.vejlin, kwin-bugs-null, mail |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Kwin shadow wobble |
Description
loic
2008-04-27 15:30:44 UTC
What kwin needs to do is only draw the shadow layer for the window decoration, not the whole window. This alone slows down kwin considerably from having to have the graphics card do an alpha blend for a space the size of the whole window vs. just the pixels surrounding the window. what I don't know with this problem, is what poeple expect. Some poeple tells me that it is fine as is (personnaly, I don't like it), and you tell me to disable the shadow while the window moves. The solution I prefer should be to draw the shadow with the same deformed shape of the window, but it looks tricky to me to do that (at least without heavy changes in the shadow plugin and kwin) So I may end up with your solution for 4.1 and disable the shadow while the window moves. Disabling the shadow while moving seems like a decent solution for KDE 4.1. By the way, this looks even worse with a dark color scheme (and light 'shadow')... What does compiz do? (imho there is no shame in looking at how compiz solves issues like these - reinventing the wheel is useless, after all, they've been around for a while, and have compositing pretty well done). *** Bug 163255 has been marked as a duplicate of this bug. *** Created attachment 25189 [details]
Kwin shadow wobble
Shows the window wobbling but shadow wobbling different.
I don't know if this is possible, but can't you draw a simple "fake" shadow for the wobbling effect and deactivate the original shadow? This issue is still present in current 4.1 SVN (from 4.1 branch, not trunk). If there isn't a quick solution, could you please disable the shadow when enabling the Wobbly windows effect for 4.1 final? Thanks for your time. Same behaviour here with kde svn compiled today... BtW I agree with L.Leveroni's comment. Currently it is not possible to disable one effect if another one gets enabled. I'm sorry this will not be possible. Unfortunately there is not a quick solution. I started to work on it, but it will not be ready before 4.1 will be tagged as it requires some testing. Disabling the shadow during window movements is a less-then-ideal solution. Would be much better if the shadow would be wobbly too. Andreas, just FYI this bug has been fixed in 4.2--shadows now wobble with the window. The shadow disabling code is only for 4.1. Hey, this is good News! :) |