Bug 254642 - Vertical panel with auto-hide applies theme with latency while sliding.
Summary: Vertical panel with auto-hide applies theme with latency while sliding.
Status: RESOLVED WORKSFORME
Alias: None
Product: plasma4
Classification: Unmaintained
Component: containment-panel (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-19 12:09 UTC by Michał Tatarynowicz
Modified: 2011-12-06 21:51 UTC (History)
1 user (show)

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


Attachments
Example of themeless panel at the beginning of slide. (23.63 KB, image/png)
2010-10-19 12:09 UTC, Michał Tatarynowicz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Tatarynowicz 2010-10-19 12:09:52 UTC
Created attachment 52673 [details]
Example of themeless panel at the beginning of slide.

Version:           unspecified (using KDE 4.5.2) 
OS:                Linux

This didn't happen in KDE versions previous to 4.5.x. I have a small vertical panel on the left side of the screen with center alignment and auto-hide feature. Every time when I hover the mouse over it and it begins to slide it blinks for a very short while at the very beginning of the process and slides normally afterwards. I've recorded the animation and viewing it frame by frame noticed that the panel isn't themed at first which causes the blink (as seen in attached screenshot1.png). It never happens when there is a window of any application placed below the panel (for example a maximized web browser), in this case the panel slides without glitches like it used to in 4.4.x.

Reproducible: Always

Steps to Reproduce:
1. Create a vertical panel on the side of the screen.
2. Apply auto-hide feature.
3. Make sure Sliding popups option in Desktop effects is checked.
4. Make sure there is no window open under the panel's field, just the background.
4. Hover the mouse over the panel to begin the slide.

Actual Results:  
The panel blinked for a smaller part of a second at the beginning of the animation.

Expected Results:  
Clear animation like when there is some window open under the panel.
Comment 1 Michał Tatarynowicz 2010-10-19 18:32:58 UTC
I've just noticed that it doesn't actually matter if there are any windows under the panel. The glitch was just impossible to notice while the background (of my web browser in this case) was white.
Comment 2 Aaron J. Seigo 2010-12-16 00:15:09 UTC
from the screenshot, it looks like desktop effects are turn on, correct? if so, can you try to reproduce it without desktop effects on? thanks ...

(if so, it'll be an issue with how the kwin effect is being utilized)
Comment 3 Michał Tatarynowicz 2010-12-16 12:41:51 UTC
I disabled desktop effects and tried to reproduce. Since sliding is part of the effects the behavior of the vertical panel changed. Now it doesn't blink with what's presented in the screenshot before revealing begins, but after disappearing it leaves a small, lower part of the panel on the screen for a split second. Let me explain in detail:

1. I hover the mouse over the panel.
2. It reveals.
3. I hover the mouse away.
4. The panel disappears.
5. A small stripe at the lower end of the panel remains on the screen for a split second.
6. The stripe disappears and everything goes back to normal.

I've been unable to capture the glitch with neither KSnapshot nor recordmydesktop, both utilities doesn't capture the glitch at all in contradistinction to the one that happens when desktop effects are enabled.

The more interesting part is, that when I enable desktop effects after suspension there is no glitch at all and the vertical panel slides properly as it used to before 4.5.x. Alas the problem returns after relogging through KDM, restarting and resetting X.