Bug 283859 - Upon disabling compositing, kicker shadow as well as desktop widget popup shadows are replaced with black borders
Summary: Upon disabling compositing, kicker shadow as well as desktop widget popup sha...
Status: RESOLVED DUPLICATE of bug 261503
Alias: None
Product: plasma4
Classification: Unmaintained
Component: desktop (show other bugs)
Version: 4.8.2
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 283414 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-10-12 13:37 UTC by Donatas Glodenis
Modified: 2012-06-25 14:52 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Black shadow around kicker (184.14 KB, image/png)
2011-10-12 13:37 UTC, Donatas Glodenis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Donatas Glodenis 2011-10-12 13:37:58 UTC
Created attachment 64461 [details]
Black shadow around kicker

Version:           unspecified (using KDE 4.7.1) 
OS:                Linux

If I disable compositing at run-time, I get black borders around kicker menu, as well as around all panel/desktop widget popups. 

On the other hand, if I disable compositing at startup and restart KDE session, the borders are no longer painted black.

Reproducible: Always

Steps to Reproduce:
Log in with a brand new KDE session (at least, with composite enabled). Then
hit Alt+Shift+F12 to disable compositing, and open the K-Menu, or hover on any item in the taskbar that has a popup.

Actual Results:  
It looks like in attached screenshots, black borders.

Expected Results:  
The border should be redrawn appropriately.

It does not depend on window manager – I switched to metacity and the effect was the same. Switching plasma theme does not seem to affect the problem – it is still there.

This happens on two computers with the same KDE version (4.7.1) but different os versions and different hardware: Laptop, Kubuntu 11.04/Intel 945GM and desktop, Kubuntu 11.10 beta/Radeon9200 video card, R200 driver.

Could it be related to bug 283414 ?
Comment 1 Kolia 2011-12-07 21:24:45 UTC
Still valid in kde 4.7.3
Comment 2 Aaron J. Seigo 2011-12-08 11:47:11 UTC
this is because KWindowSystem::compositingActive() is never getting updated; nor is its signal being emitted. this is a recent happening ...
Comment 3 Aaron J. Seigo 2011-12-08 11:47:15 UTC
*** Bug 283414 has been marked as a duplicate of this bug. ***
Comment 4 Aaron J. Seigo 2011-12-08 11:50:10 UTC
putting some debug output in KWindowSystem::x11Event, it doesn't seem damage events are being sent when compositing changes. perhaps the compositor atom isn't being set at all?

also tested without the EffectsWatcher in Plasma::Theme, just in case, and it had no effect.
Comment 5 Benjamin Robin 2012-01-02 22:17:09 UTC
Still valid in kde 4.7.4
Comment 6 Aldoo 2012-03-04 08:32:50 UTC
This is still in KDE 4.8.0.
Comment 7 Ruslan Kabatsayev 2012-04-21 13:42:37 UTC
Hmm, I didn't even know that this has ever worked. This bug is still present in 4.8.2.
Comment 8 Marco Martin 2012-06-25 14:52:25 UTC
even tough is the "opposite" is the same issue as this other bug: sometimes it doesn't nitice composite being enabled or disabled

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