This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Translucency animation of dragging window only on decoration

Tags: None
(comma "," separated)
sunboy
Registered Member
Posts
8
Karma
0
OS
I am using KDE 4.8.
When I start dragging a Window, the whole window will smoothly fade to transparent. But after releasing the window, only the decorations transucency does smoothly fade back. The inner window simply pops up to full opacity which looks a bit jerky.

Have I missed a setting for that? Or is ist some kind of a bug?
User avatar
google01103
Manager
Posts
6668
Karma
25
I don't have that issue, if you change the amount of translucency does it still occur?

If you create a new user does that user have the issue?

What graphic card/chip and which drivers are you using?


OpenSuse Leap 42.1 x64, Plasma 5.x

sunboy
Registered Member
Posts
8
Karma
0
OS
Thank you for your reply.
Changing the amount of translucency doesn't solve the problem. I have tried the nvidia 290.10, 285.05 from the repos and the 295.20 installed manually from the Nvidia webpage. I am using an Nvidia gtx 460.
User avatar
google01103
Manager
Posts
6668
Karma
25
2 things to try

1) change your window decoration, then test

2) change your desktop theme, then test

You can also set your kwin to default by renaming ~/.kde/share/config/kwinrc and then running
Code: Select all
kwin --replace


OpenSuse Leap 42.1 x64, Plasma 5.x

sunboy
Registered Member
Posts
8
Karma
0
OS
Hmm, unfortunately this does not help and I already get the Issue on a fresh install when activating the effects and it does also occur when the compositing type is set to opengl. My install on my netbook with Intel graphics shows the problem, too.

But the Konsole application does not show the problem.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
I can reproduce this - you have to look carefully though. It is especially noticable on the border between the Window decoration and the window itself - it will appear to flicker slightly as they change opacity at different rates.

This is probably a bug in the KWin plugin which handles this Desktop Effect.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
sunboy
Registered Member
Posts
8
Karma
0
OS
I have tried out a fresh Fedora install now and KDE 4.7 does not show the Issue, so it's 4.8 Only
luebking
Karma
0
Sounds like the opacity flag is withdrawn too early from the window (the window doesn't lag but becomes opaque immediately, i assume?)

a) does it happen with the xrender backend as well ("kcmshell4 kwincompositing", 3rd tab)
b) does it happen with windows with an alpha channel (eg using the translucent window functionality of bespin, oxygen-transparent or qtcurve)
c) does it happen with, without or regardless of the blur effect
d) what other effects are enabled?
grep -iE 'kwin4_effect_.*Enabled=true' `kde4-config --path config | cut -d":" -f1`/kwinrc | sed -e 's/kwin4_effect_//g; s/Enabled=true//g'
sunboy
Registered Member
Posts
8
Karma
0
OS
a. Yes, Xrender shows the same Behavior
b. No, when windows are Transparent (By a theme or by changing their Opacity manually) The issue is gone. Also if you have non-transparent windows and enable the Wobbly Windows effect and release the Window IMMEDIATELY after dragging so that the Wobbly effect flows seamlessly into the opacity fade.
c. Regardless of the blur effect.

d.
blur
desktopgrid
fade
login
logout
minimizeanimation
outline
presentwindows
scalein
slide
slideback
translucency

The Issue does also show up if you set the inactive windows translucent in the translucency effect settings and the klick on an inactive window to make it active. But also here the issue is gone if the translucency fade is made while an other effect, in this case for example the slide back effect, is displayed.
luebking
Karma
0
Ok, just looked into the translucency effect - it's utterly broken.

I'll provide a hotfix for hopefully 4.8.1 but the effect doesn't really scale, ie. if you manage to trigger multiple activations, movements, it will not provide smooth crossfades why it shall be rewritten on top of the animation effect class (in doubt trough using the js bindings) for 4.9


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot]