Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 465042 - kde 4.10 alt+tab title rendering slow
Summary: kde 4.10 alt+tab title rendering slow
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-08 07:48 UTC by leipie
Modified: 2013-04-09 12:00 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description leipie 2013-04-08 07:48:12 UTC
With Alt+tab the gain focus of the title is slow. I first noticed this after upgrading to kde 4.10

The title rendering seems to work in two steps:
- render shadow
- render active state

This process takes a full second.
This really bugs my alt+tabing, I can't directly recognise where and which window has gained focus.

I have disabled all animations, but this doesn't change the non-instant rendering of the gain focus. Switching between xrender and opengl seems to only make smoother. I have this both on my intel card and the nvidia one.

The same seems to be true for the window losing focus but in reverse

Reproducible: Always

Steps to Reproduce:
1. Have two windows side by side
2. Have focus on one window
3. Press alt+tab
4. Watch rendering of the other window title (and the first)
Actual Results:  
slow two step rendering of the title gaining focus

Expected Results:  
instant active state of title bar of window that gained focus
Comment 1 Franz Trischberger 2013-04-08 08:06:45 UTC
You missed to tell about your custom settings.
Which window switcher do you use? Which deco?
Which animations did you disable? KWin animations? Style animations? Deco animations? (the last one might be the one you missed...)

Having said that I can't see anything slow here. I have enabled the animations of oxygen-kwin-deco (with the default of 150ms for the transition) and everything is smooth and easy to recognize.
Comment 2 leipie 2013-04-09 07:32:16 UTC
Thnx for your reply!

(In reply to comment #1)
> You missed to tell about your custom settings.
> Which window switcher do you use? Which deco?
custom settings?

Window switcher visualisation is informative
I use the Oxygen theme + plastik decorations

> Which animations did you disable? KWin animations? Style animations? Deco
> animations? (the last one might be the one you missed...)
Desktop effects:
-> General
  -> enable desktop effects at startup (disabled)
  -> improved window managenemnt (disabled)
  -> various animations (disabled)
  -> effect for desktop switching: no efftect
  -> animation speed: instand
-> All effects, all are disabled
-> Advanced
  -> compositing: Opengl
  -> qt graphic system native
  -> opengl options: use shaders / use vsync

Where would I find any other settings for animations?

> Having said that I can't see anything slow here. I have enabled the
> animations of oxygen-kwin-deco (with the default of 150ms for the
> transition) and everything is smooth and easy to recognize.
150ms is still not instant, I would expect that if a window gains focus this is instant if I disable animations/desktop effects. What I am experiencing may be less then a full second (at least half), but is still clearly visible.

I hope this helps
Comment 3 Franz Trischberger 2013-04-09 08:03:43 UTC
kcmshell4 kwindecoration
That's where you can configure your deco.
BUT: Plastique does not offer setting animation duration. If it is not smooth you might want to report it to bugs.kde.org (AFAIK plastique is a QML decoration, so it should be smooth if your graphics driver is OK - how are desktop effects running for you?). One (IMHO good) option would be to adapt QML animation speed to the generic effect speed.
If you select oxygen deco you can disable animations in the deco completely.
Comment 4 leipie 2013-04-09 09:07:10 UTC
(In reply to comment #3)
> kcmshell4 kwindecoration
> That's where you can configure your deco.
> BUT: Plastique does not offer setting animation duration. If it is not
> smooth you might want to report it to bugs.kde.org (AFAIK plastique is a QML
> decoration, so it should be smooth if your graphics driver is OK - how are
> desktop effects running for you?). One (IMHO good) option would be to adapt
> QML animation speed to the generic effect speed.
> If you select oxygen deco you can disable animations in the deco completely.

If I change the decorations to oxygen the problem seems to completely disappear! Though the color of the titlebar doesn't switch between active and non-active at the moment.
I'm going to play with the settings later. 

The desktop animation performance was bad with both on x11-drivers/xf86-video-intel-2.20.13 and x11-drivers/nvidia-drivers-313.30. All animations (start/are) very slow/jittery. I will check when I restart X if this changes with other decorations.
Comment 5 Franz Trischberger 2013-04-09 09:18:26 UTC
> Though the color of the titlebar doesn't switch between active
> and non-active at the moment.
> I'm going to play with the settings later. 
configure decoration -> Fine tuning -> [x] Outline active window title

If you don't have english labels just start the config dialog with
LC_MESSAGES="C" kcmshell4 kwindecoration

> x11-drivers/xf86-video-intel-2.20.13 and x11-drivers/nvidia-drivers-313.30.
> All animations (start/are) very slow/jittery. I will check when I restart X
> if this changes with other decorations.

I don't have any problems with xf86-video-intel-2.21.5. SandyBridge with HD3000
Comment 6 leipie 2013-04-09 11:18:10 UTC
(In reply to comment #4)
> I'm going to play with the settings later. 
> 
> The desktop animation performance was bad with both on
> x11-drivers/xf86-video-intel-2.20.13 and x11-drivers/nvidia-drivers-313.30.
> All animations (start/are) very slow/jittery. I will check when I restart X
> if this changes with other decorations.

So everything is running very smooth after I changed the window decorations. I tried several and they all work fine except for the Plastik one.

Thnx!
Comment 7 Franz Trischberger 2013-04-09 11:31:42 UTC
Well... I knew I read something about plastik deco...
Here you are:
https://bugs.kde.org/show_bug.cgi?id=314532
Fixed in 4.10.2
I would suggest to reopen this bug report as it is a clear regression.
Comment 8 leipie 2013-04-09 12:00:29 UTC
(In reply to comment #7)
> Well... I knew I read something about plastik deco...
> Here you are:
> https://bugs.kde.org/show_bug.cgi?id=314532
> Fixed in 4.10.2
> I would suggest to reopen this bug report as it is a clear regression.

I'm using KDE 4.10.1, that is the current stable in default/linux/amd64/13.0/desktop/kde

So I couldn't say anything about a regression yet ;)