Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 258758 - qt-4.5_rc1 breaks lancelot
Summary: qt-4.5_rc1 breaks lancelot
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-12 18:39 UTC by Rahul Jain
Modified: 2009-03-09 12:42 UTC (History)
1 user (show)

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


Attachments
First patch for lancelot ( from upstream ) (Global_cpp.patch,851 bytes, patch)
2009-02-14 17:52 UTC, Markos Chandras (RETIRED)
Details | Diff
Second patch for lancelot ( from upstream ) (PassagewayView_cpp.patch,2.41 KB, patch)
2009-02-14 17:52 UTC, Markos Chandras (RETIRED)
Details | Diff
this one should apply clearly (lancelot-qt45.patch,2.71 KB, patch)
2009-02-14 21:27 UTC, Robert Piasek (RETIRED)
Details | Diff
patch (lancelot-qt45.patch,3.44 KB, patch)
2009-02-14 21:40 UTC, Robert Piasek (RETIRED)
Details | Diff
new patch (lancelot-qt45.patch,8.22 KB, patch)
2009-02-15 15:18 UTC, Robert Piasek (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rahul Jain 2009-02-12 18:39:17 UTC
Upgraded to qt-4.5_rc1 and then recompiled kdelibs, qscintilla, pykde and all plasma related stuff. However, the lancelot menu launcher (provided by kdeplasma-addons in KDE-4.2) does not work anymore. I can see the list of application categories (like internet and multimedia) and the list of my favourite applications but whenever I click on one of the application categories the lancelot menu does not change to list the applications in that category. It remains stuck at its original state.

Reproducible: Always
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2009-02-12 18:50:27 UTC
Thanks for reporting this

KDE developers are already aware of this

https://bugs.kde.org/show_bug.cgi?id=182818

So we are waiting for now :)
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2009-02-14 17:52:33 UTC
Created attachment 182028 [details, diff]
First patch for lancelot ( from upstream )
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2009-02-14 17:52:55 UTC
Created attachment 182030 [details, diff]
Second patch for lancelot ( from upstream )
Comment 4 Rahul Jain 2009-02-14 18:21:59 UTC
My attempt at patching failed. :(
***** Global_cpp.patch *****                                                                                     

============================

PATCH COMMAND:   patch -p0 -g0 -E --no-backup-if-mismatch < /usr/local/portage/layman/bugzilla/kde-base/kdeplasma-addons/files/Global_cpp.patch                                                                                   

============================
patching file applets/lancelot/libs/lancelot/Global.cpp
Hunk #1 FAILED at 324.                                 
Hunk #2 FAILED at 337.                                 
2 out of 2 hunks FAILED -- saving rejects to file applets/lancelot/libs/lancelot/Global.cpp.rej
============================                                                                   

PATCH COMMAND:   patch -p1 -g0 -E --no-backup-if-mismatch < /usr/local/portage/layman/bugzilla/kde-base/kdeplasma-addons/files/Global_cpp.patch                                                                                   

============================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:                
--------------------------                      
|--- applets/lancelot/libs/lancelot/Global.cpp  2009/02/08 23:11:55     923561
|+++ applets/lancelot/libs/lancelot/Global.cpp  2009/02/14 16:53:45     926094
--------------------------                                                    
No file to patch.  Skipping patch.                                            
2 out of 2 hunks ignored                                                      
============================                                                  

PATCH COMMAND:   patch -p2 -g0 -E --no-backup-if-mismatch < /usr/local/portage/layman/bugzilla/kde-base/kdeplasma-addons/files/Global_cpp.patch                                                                                   

============================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:                
--------------------------                      
|--- applets/lancelot/libs/lancelot/Global.cpp  2009/02/08 23:11:55     923561
|+++ applets/lancelot/libs/lancelot/Global.cpp  2009/02/14 16:53:45     926094
--------------------------                                                    
No file to patch.  Skipping patch.                                            
2 out of 2 hunks ignored                                                      
============================                                                  

PATCH COMMAND:   patch -p3 -g0 -E --no-backup-if-mismatch < /usr/local/portage/layman/bugzilla/kde-base/kdeplasma-addons/files/Global_cpp.patch                                                                                   

============================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:                
--------------------------                      
|--- applets/lancelot/libs/lancelot/Global.cpp  2009/02/08 23:11:55     923561
|+++ applets/lancelot/libs/lancelot/Global.cpp  2009/02/14 16:53:45     926094
--------------------------                                                    
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
============================

PATCH COMMAND:   patch -p4 -g0 -E --no-backup-if-mismatch < /usr/local/portage/layman/bugzilla/kde-base/kdeplasma-addons/files/Global_cpp.patch

============================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- applets/lancelot/libs/lancelot/Global.cpp  2009/02/08 23:11:55     923561
|+++ applets/lancelot/libs/lancelot/Global.cpp  2009/02/14 16:53:45     926094
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored

Comment 5 Robert Piasek (RETIRED) gentoo-dev 2009-02-14 21:27:31 UTC
Created attachment 182062 [details, diff]
this one should apply clearly

Please test it that one fixes it.
Comment 6 Robert Piasek (RETIRED) gentoo-dev 2009-02-14 21:40:33 UTC
Created attachment 182067 [details, diff]
patch

blah, that's correct backport.
Comment 7 Rahul Jain 2009-02-14 21:59:14 UTC
(In reply to comment #6)
> Created an attachment (id=182067) [edit]
> patch
> 
> blah, that's correct backport.
> 

Works, thanks a lot.
But..

10106 rahul     20   0  227m  26m  15m R  100  2.6   1:41.88 lancelot

So, 100% CPU usage for lancelot. This has been reported upstream so a fix might appear soon.
Comment 8 Rahul Jain 2009-02-14 22:02:04 UTC
LOL, after reading the upstream report, I see it is you yourself Robert that filed the 100% usage thing. ː)
Comment 9 Robert Piasek (RETIRED) gentoo-dev 2009-02-15 15:18:53 UTC
Created attachment 182135 [details, diff]
new patch

This one fixes all issues.
Comment 10 Ludovic Fauvet 2009-02-15 15:33:06 UTC
(In reply to comment #9)
> new patch
> 
> This one fixes all issues.
> 

Confirmed. Works flawless.
Comment 11 Markos Chandras (RETIRED) gentoo-dev 2009-02-15 17:39:08 UTC
Please dont close it since I apply this fix on the tree
Comment 13 Ferdinand Kuhl 2009-03-08 23:58:50 UTC
(In reply to comment #12)

> http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdeplasma-addons/kdeplasma-addons-4.2.0-r1.ebuild?rev=1.1&view=log

I do have the problem again with kdeplasma-addons-4.2.1. Could the patch be used there, too?
Comment 15 Markos Chandras (RETIRED) gentoo-dev 2009-03-09 12:31:11 UTC
I had the same issue on 4.2.1 . The patch applies but doesnt seem to solve lancelot issue. However, i re-installed kdeplasma-addons and suddenly everything worked fine again.

So can you please re-build kdeplasma-addons, restart lancelot, and see if this problem persists?

Thanks