[Konsole-devel] [Bug 301883] New: Elevated CPU usage after Konsole Color Theme Change, when two or more Konsoles are open

John Stanley jpsinthemix at verizon.net
Thu Jun 14 07:51:38 UTC 2012


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

            Bug ID: 301883
          Severity: normal
           Version: 2.8.4
          Priority: NOR
          Assignee: konsole-devel at kde.org
           Summary: Elevated CPU usage after Konsole Color Theme Change,
                    when two or more Konsoles are open
    Classification: Unclassified
                OS: Linux
          Reporter: jpsinthemix at verizon.net
          Hardware: Compiled Sources
            Status: UNCONFIRMED
         Component: general
           Product: konsole

When I have two or more konsoles running, if in one of them, I change the color
theme:
    Settings->Configure Current Profile->Appearance
from, say BlackOnWhite to WhiteOnBlack, on clicking Apply, and then Ok, konsole
and X cpu usage goes up dramatically.  I noticed this because I always monitor
cpu temps. On my laptop, konsole cpu usage is typically 0.3-1.7% and X is 2-3%.
 On doing the color theme change described above, konsole and X cpu usage go to
7-9%, and 15-18%, respectively (as seen in top as soon as the Apply change
button is clicked).  Repeating, ie, doing another color theme change, konsole
and X cpu usage jumps again going to 15-19% and 27-31%, respectively.  I also
see elevated cpu temps: a normal idle temp of 52C goes to 60-70C.

Logging out and back in fixes the problem, as does simply closing the konsole
in which the change
was done.

If these changes are made in konsole, with just one konsole open, the issue
does not occur, so there appears to be a bug when doing color theme changes
when more than one konsole is open.  Also, note that the issue only occurs if
an Appearance/Color theme is actually changed by clicking apply.

Note that this issue is not unique to BlackOnWihite/WhitOnBlack themes -- is
occurs for all of the themes.

This problem has been present for quite some time (at least since kde-4.7.X).


Reproducible: Always

Steps to Reproduce:
1. Open two or more Konsoles
2. In on Konsole do a color theme change 
3. Settings->Configure Current Profile->Appearance
4. Select a color theme and click Apply, and then Ok
Actual Results:  
Konsole and X cpu usage jumps excessively after the theme change, and does not
return to normal.

Expected Results:  
Konsole and X cpu usage should return to normal within a reasonable time. 

System: i686-pc-linux-gnu, Linux-3.4.2, Qt-4.8.1, KDE-4.8.4, libX11-1.5.0,
xorg-server-1.12.2, dbus-1.4.20, and libdbusmenu-qt-0.9.2.

There do not appear to be any messages in ~/.xsession-errors (for in the system
logs) associated with this issue.  In passing, though apparently unrelated, I
do see the following warning whenever the konsole Appearance menu is entered
(even if no changes are made):
konsole(939) Konsole::ColorSchemeManager::loadKDE3ColorScheme: color scheme
with name "WhiteOnBlack" has already been found, ignoring.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the konsole-devel mailing list