Bug 69587 - session tabs flicker too much with "Monitor for Activity"
Summary: session tabs flicker too much with "Monitor for Activity"
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 1.3 Beta
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-03 17:24 UTC by Thiago Macieira
Modified: 2006-08-07 04:53 UTC (History)
0 users

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 Thiago Macieira 2003-12-03 17:24:55 UTC
Version:           1.3 Beta (using KDE 3.1.94 (3.2 Beta 2), compiled sources)
Compiler:          gcc version 3.3.2
OS:          Linux (i686) release 2.6.0-test11

This is HEAD 20031201, but this has been present for quite a while.

I have several sessions in a single Konsole window, all of them with Monitor for Activity enabled. Whenever I type in any of those sessions, the session icon flickers, changing from the standard "console" icon to the "lightbulb" activity icon.

What's worse is what happens to any of the sessions to the right (i.e., not the leftmost session): the icons in the leftmost session flickers as well, as if I was typing in that session as well.

What makes this more annoying is the fact that typing in those sessions comes in "bursts" because konsole loses a lot of time updating the tabs and their icons. This is more visible when holding one key down, but it happens when typing normally.
Comment 1 Thiago Macieira 2003-12-03 17:26:19 UTC
I should point out that it doesn't seem to me to be the same as bugs #66779 and #58040. Those relate to the session screen flickering its background (from what I gathered), while my problem is related to the tabs themselves.
Comment 2 Kurt Hindenburg 2005-02-12 22:25:24 UTC
The monitoring needs to be put on a timer (QTimer).  Something to think about for KDE4.0.  Patches accepted... :-)
Comment 3 Thiago Macieira 2005-02-13 03:27:36 UTC
No, I don't think that's it.

It simply shouldn't change the icon if it's already lightbulb. It's going back and forth between the session icon and the lightbulb icon.
Comment 4 Kurt Hindenburg 2005-02-13 09:13:58 UTC
My thinking for 'Montior for Activity'
1.  If tabicon already bulb do nothing.
2.  Else change to normal icon after a delay (200ms?)

There should be a delay before the icon is changed to the normal icon (waiting for more activity).  This delay should get rid of the flicker.
Comment 5 Robert Knight 2006-08-07 04:53:01 UTC
Fixed in SVN.  Disabled resetting of icon to normal on key press and set both "Monitor for Activity" and "Monitor for Silence" to reset the icon to a normal terminal icon after the amount of time specified in the "Seconds to detect silence" option in Konsole's settings dialog.