Bug 187342 - Opening Configure Shortcuts window pins CPU at 100%
Summary: Opening Configure Shortcuts window pins CPU at 100%
Status: RESOLVED FIXED
Alias: None
Product: kile
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Michel Ludwig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-16 22:50 UTC by Thomas Braun
Modified: 2009-05-12 19:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Braun 2009-03-16 22:50:41 UTC
Version:           2.0.4svn (using 3.5.10, Debian Package 4:3.5.10.dfsg.1-0lenny1 (lenny/sid))
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.26-1-686

From debian BTS #519746:

> Hello,
>
> When I open the "Configure Shortcuts" dialog from the
> Settings menu, the program freezes for tens of seconds,
> pinning the CPU at ~100%.
>
> Once the window comes up, it performs normally.
>
> The computer in question is P4 3.0GHz machine... so
> a more modern computer might only experience a pause.
>
> That said, there is no way in the world that Kile
> needs to do ~3 billion operations to bring up ~100
> shortcuts.
>
> Thanks,
> Antonio
Comment 1 Thomas Braun 2009-03-29 15:09:20 UTC
Hi,

it really takes very long, also on my AMD Athlon(tm) 64 X2 Dual Core Processor 3800+. And in other apps from KDE4 like okular/kwrite/dolphin it takes <1s.

There is some strange debug ouput showing up during the "Configure shortcuts" dialog creation:
kile(6422)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "save_copy_as" 
kile(6422)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "window_new" 
kile(6422)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "project_archive" 
kile(6422)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "edit" 
kile(6422)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "edu_mathematics" 
kile(6422)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "frame_spreadsheet" 
kile(6422)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "frame_image" 
kile(6422): Skipping action without name  "tiny" , "unnamed-0xa73d010" ! 
kile(6422): Skipping action without name  "scriptsize" , "unnamed-0xa73de08" ! 
kile(6422): Skipping action without name  "footnotesize" , "unnamed-0xa73d4c0" ! 
kile(6422): Skipping action without name  "small" , "unnamed-0xa73eb90" ! 
kile(6422): Skipping action without name  "normalsize" , "unnamed-0xa73e310" ! 
kile(6422): Skipping action without name  "large" , "unnamed-0xa73f870" ! 
kile(6422): Skipping action without name  "Large" , "unnamed-0xa740330" ! 
kile(6422): Skipping action without name  "LARGE" , "unnamed-0xa740818" ! 
kile(6422): Skipping action without name  "huge" , "unnamed-0xa7403c0" ! 
kile(6422): Skipping action without name  "Huge" , "unnamed-0xa7417a0" ! 
kile(6422): Skipping action without name  "left (" , "unnamed-0xa769248" ! 
kile(6422): Skipping action without name  "left [" , "unnamed-0xa769670" ! 
kile(6422): Skipping action without name  "left {" , "unnamed-0xa7696a0" ! 
kile(6422): Skipping action without name  "left <" , "unnamed-0xa76acf8" ! 
kile(6422): Skipping action without name  "left )" , "unnamed-0xa76a470" ! 
kile(6422): Skipping action without name  "left ]" , "unnamed-0xa76bb28" ! 
kile(6422): Skipping action without name  "left }" , "unnamed-0xa76c2f0" ! 
kile(6422): Skipping action without name  "left >" , "unnamed-0xa76cb70" ! 
kile(6422): Skipping action without name  "left ." , "unnamed-0xa76d300" ! 
kile(6422): Skipping action without name  "right )" , "unnamed-0xa76e200" ! 
kile(6422): Skipping action without name  "right ]" , "unnamed-0xa76e448" ! 
kile(6422): Skipping action without name  "right }" , "unnamed-0xa76e6b0" ! 
kile(6422): Skipping action without name  "right >" , "unnamed-0xa76fc40" ! 
kile(6422): Skipping action without name  "right (" , "unnamed-0xa770168" ! 
kile(6422): Skipping action without name  "right [" , "unnamed-0xa770900" ! 
kile(6422): Skipping action without name  "right {" , "unnamed-0xa771330" ! 
kile(6422): Skipping action without name  "right <" , "unnamed-0xa771ac0" ! 
kile(6422): Skipping action without name  "right ." , "unnamed-0xa771858" ! 
kile(6422)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "package" 
kile(6422)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "asymptote"
Comment 2 Thomas Braun 2009-04-01 16:04:54 UTC
Now all actions have names and also the missing icons are fixed, see r947877 and r946566. So the most obvious things are fixed.
Comment 3 Thomas Braun 2009-05-12 19:12:31 UTC
This problem seems to be in QT 4.4.
At least on debian lenny with custom build KDE 4.2 I can reproduce the problem.
But on debian unstable und ubuntu jaunty I can't. Both have QT 4.5.

So I therefore close the bug.