Summary: | Elevated CPU usage after Konsole Color Theme Change, when two or more Konsoles are open | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | John Stanley <jpsinthemix> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | adaptee |
Priority: | NOR | ||
Version: | 2.8.4 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
John Stanley
2012-06-14 07:51:38 UTC
Thanks for reporting! However, I haven't managed to reproduce the reported problem. The CPU usage does jump when applying new colorscheme, but it also returns to normal after a few seconds(reasonable time for me). Repeating the operation does not make the CPU usage going higher and higher, either. Just to be clear, when you say "more than one konsole", you mean "two konsole windows belonging to the same konsole process", not "two konsole windows belonging to two separate konsole process", right? That warning message about colorschme should be harmless and unrelated with this problem. It just means konsole finds both WhiteOnBlack.colorschme(KDE4 format) and WhiteOnBlack.schema(KDE3 format) in your system, and the KDE4 one takes precedecance of the KDE3 one. (In reply to comment #1) > Thanks for reporting! > > However, I haven't managed to reproduce the reported problem. The CPU usage > does jump when applying new colorscheme, but it also returns to normal after > a few seconds(reasonable time for me). Repeating the operation does not make > the CPU usage going higher and higher, either. > > Just to be clear, when you say "more than one konsole", you mean "two > konsole windows belonging to the same konsole process", not "two konsole > windows belonging to two separate konsole process", right? > I assume its one process, two windows (Kickoff app launcher->system->konsole, or using shortcuts in taskbar panel); ps x shows: 1343 ? Sl 0:11 kdeinit4: konsole [kdeinit] -session 10ded1e9dc000133971287300000007940012_1339713027_240155 > That warning message about colorschme should be harmless and unrelated with > this problem. It just means konsole finds both WhiteOnBlack.colorschme(KDE4 > format) and WhiteOnBlack.schema(KDE3 format) in your system, and the KDE4 > one takes precedecance of the KDE3 one. Suspected this.. Ok, playing with it some more, I did the following: 1) launch a konsole: Kickoff app launcher->applications->system->konsole 2) change konsole color theme; all Ok 3) either (a) repeat step (1), or (b) open a new window from konsole->File->New window 4) change konsole color theme in either konsole window, with 'top' running in the konsole 5) konsole and X cpu usage momentarily jumps high for 1-2 secs, and then reduces to and stays at an elevated level (8% for konsole, 16% for X). At this point, focus is still in the konsole in which I made the color theme change. Waiting for 5-10min: cpu usage remains elevated. 6) now, change focus the other konsole (top is still running in the first); within 1-2 seconds, cpu usage returns to normal.. Repeating these steps; same results. So, doing the color change in one konsole, and then quickly clicking on the second konsole (thus changing focus), and then clicking on the first konsole to return focus to it, restores normal cpu usage.. Peculiar. So, could be that some processing associated with the color theme change, while done for the konsole in which the change was made, is not done in the other konsole(s) until they get focus ? Of course, if you cannot reproduce the issue, then I guess it must be something else. I've tried several other laptops, following the steps I gave above, and the issue is not present. So this is probably not a KDE issue but an X issue specific to the laptop. The laptop for which it occurs is really old (11+ years) and will probably die soon.. so I don't see it has an issue any more. My apologies for suggesting it was a konsole bug. I'd be happy if this report were closed. Thanks much for your time. Thanks for your feedback. Never mind, you are always welcome to report problems. I'm always grateful to users who bother spending their time on filing bug report, because I know bugzilla is not something that is pleasant to work with. |