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

Lancelot doesn't slide on open

Tags: None
(comma "," separated)
User avatar
antelmo
Registered Member
Posts
21
Karma
0
OS

Lancelot doesn't slide on open

Thu Jul 22, 2010 9:16 am
Just a quick comment mr. lancelot, Lancelot does not show the opening animation of the new glide effect in KDE 4.5 it show the exit one but when I open Lancelot it does not shot the open animation.
User avatar
ivan
KDE Developer
Posts
918
Karma
14
OS

Re: Lancelot doesn't slide on open

Thu Jul 22, 2010 9:25 am
It essentially depends on the speed of your computer.

Unfortunately, initialization and painting of the window is not so fast, so the slide animation can finish before it is really shown.

p.s. I've split the topic from the 'session save' one


Image
User avatar
antelmo
Registered Member
Posts
21
Karma
0
OS

Re: Lancelot doesn't slide on open

Thu Jul 22, 2010 4:25 pm
Ohh, but the odd thing is Kickoff Application Launcher does show it, is it because lancelot uses more plasma and therefore more power is need it ? I mean in lancelot all is transparent with plasma I'm assuming thats why it doens show it, but the weird thig is that the other plasma widgets it does show it, I'm confused :<
User avatar
ivan
KDE Developer
Posts
918
Karma
14
OS

Re: Lancelot doesn't slide on open

Thu Jul 22, 2010 4:41 pm
Lancelot uses plasma in a way that is very complex - even amarok can't compare (and I've heard through the grapevine that initializing context view takes a significant portion of the startup time).

Kickoff is a QWidget with Plasma background, and other plasma applets that popup are rather simple.

I'll definitely need to do some speed optimizations in layouting and painting code.

(for 4.5 I did some memory optimizations)


p.s. I've just tried using 'lancelot --graphicssystem raster' when starting L and for me it showed quite a nice improvement


Image
User avatar
antelmo
Registered Member
Posts
21
Karma
0
OS

Re: Lancelot doesn't slide on open

Thu Jul 22, 2010 5:22 pm
ivan wrote:p.s. I've just tried using 'lancelot --graphicssystem raster' when starting L and for me it showed quite a nice improvement



how can I do that too?, or should a wait for a new release? I'm using the Version 1.9.5.
User avatar
ivan
KDE Developer
Posts
918
Karma
14
OS

Re: Lancelot doesn't slide on open

Thu Jul 22, 2010 5:47 pm
Try the following:

1. Open konsole
2. killall lancelot
3. lancelot --graphicssystem raster &> /dev/null

If it is faster, then you can create a script inside the .kde/Autostart - for example
.kde/Autostart/lancelot.sh with the following inside
#!/bin/bash
killall lancelot
lancelot --graphicssystem raster &> /dev/null


And don't forget to do
chmod +x .kde/Autostart/lancelot.sh

..

There may be an easier way, but I can't remember it at the moment :)


Image
User avatar
antelmo
Registered Member
Posts
21
Karma
0
OS

Re: Lancelot doesn't slide on open

Thu Jul 22, 2010 5:55 pm
It got worst It doesn't even show the menu just this

Image

I tried a couple times more and same thing :( .. I'm using Intel latest Xorg, Xorg edgers.. does that affect at all?

Edit: It shows 2 out of 10 times .. and when it shows it works with the opening animation.
User avatar
ivan
KDE Developer
Posts
918
Karma
14
OS

Re: Lancelot doesn't slide on open

Thu Jul 22, 2010 6:23 pm
Heh, that's the reason raster is not enabled by default :)

You could maybe wait for Qt 4.7 (I'm currently on that)


Image
User avatar
antelmo
Registered Member
Posts
21
Karma
0
OS
Oh ok, sure no problem Mr. Lancelot, Thanks! ;)


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]