Version: (using KDE 4.2.0) Installed from: SuSE RPMs After upgrading to KDE 4.2 Lancelot has been behaving strangely. When I first start up my computer, the "favorites" area and the "applications" area are both completely blank. The titles are both there, but the contents are missing. The rest of the categories are still there, only those two are missing. If I resize lancelot they re-appear, but then disappear again after the next reboot.
Hi do you use the Qt 4.4.4 snapshot by any chance?
I'm not sure, it says I am using Qt4.4.3+20090201, which I guess is a snapshot.
There already are reported problems with the Qt's snapshot (and confirmed by me). I'm waiting the final release to see whether they will fix the issue, or I will have to.
Yes this issue exists on Gentoo Linux too. Every user that uses qt-4.5.0_rc1 has this weird behavior with lancelot I would have been nice to have a patch to deal with this now until the final release of Qt-4.5
It will be fixed in trunk soon since trunk now depends on Qt 4.5. The interesting thing is that Lancelot behaves differently under 4.5 if compiled with 4.4 compared to the behaviour when compiled under 4.5. So the first thing you should (or your distro) do is to compile the program using the same version of the library you use for execution. With that said, it doesn't yet behave as it should even when compiling against 4.5.
Marking as FIXED as of revision 926094 (in trunk). Please test this (don't forget to restart lancelot and not plasma-desktop after compiling)
(In reply to comment #6) > Marking as FIXED as of revision 926094 (in trunk). Please test this (don't > forget to restart lancelot and not plasma-desktop after compiling) > Your patch fixed it. But there is still a second problem: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 3258 piasekr 20 0 440m 31m 18m R 99 0.8 0:25.42 lancelot It happens on qt-4.5_rc1
Ok, I'll see about that. Thanks
The patch works, thanks. But I can confirm that lancelot now uses 99 - 100% of CPU resources. :)
The interesting thing is that the last patches had nothing to do with the CPU usage. The code that produced that when using Qt 4.5 was introduced a long time ago. Fortunately, I found a way to fix this without reverting the patch in question which was essential. So, as of revision 926398, it should be smooth sailing again. Thanks for your reports!
(In reply to comment #10) > The interesting thing is that the last patches had nothing to do with the CPU > usage. The code that produced that when using Qt 4.5 was introduced a long time > ago. > > Fortunately, I found a way to fix this without reverting the patch in question > which was essential. So, as of revision 926398, it should be smooth sailing > again. > > Thanks for your reports! > You're genius :) PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 22235 piasekr 20 0 439m 30m 18m S 4 0.8 0:01.32 lancelot Thank you very much for your work!
Heh, thanks :)
*** Bug 184632 has been marked as a duplicate of this bug. ***
*** Bug 185442 has been marked as a duplicate of this bug. ***
This patch doesnt seem to work anymore for 4.2.1 package
It is fixed in trunk, which is the current development version - the 4.3. So, the patch does work. Ask your distribution to backport the patch for 4.2.
We did backport the patch for 4.2.0 packages and lancelot worked fine back then. But now(4.2.1), this patch makes lancelot useless as it consumes 100% cpu Anyway, nevermind, we ll take a look on this
Sorry, I haven't noticed that you're a Gentoo guy :) The 100% CPU problem was resolved in the r926398
Hehe I ve read the revisions, but we encounter both problems . 100% CPU + doesn't switch the menu when we press a categories' button. The patch we apply is this http://bugs.gentoo.org/attachment.cgi?id=182135 This patch as I said, worked smoothly on 4.2.0 but not anymore on 4.2.1 , even thought it applies fine . I need to take a deeper look there
If it helps, just to point out that there were no commits to Lancelot in 4.2 branch since 4.2.0. (I'm lying, there was one commit, but is totally unrelated to this problem) So, I suppose that this is induced by the patches that Plasma received in 4.2 branch that differ from the ones in 4.3 or something. Anyway, thanks for trying. I would appreciate it if you notify me of any progress so that I could pass the patch to other distros, if they want to incorporate it.
Yes ok, as you said this should be a regression on 4.2.1 package . I ll try to work on this Thanks
Hi Markos, This patch works ok with 4.2.1. There are some other issues with lancelot (window doesn't scale correctly when you want to make it bigger/smaller, adding favorites messes up lancelot window), but none of them is related to high cpu usage any more. I will contact you in priv to discuss it further. Rob
Ok re-building kdeplasma-addons seems to fixed it ( for me at least ). I ll wait a confirmation from our users on gentoo bug. Thanks and sorry for bothering you :)