Bug 88663 - DynamicTabHide corrupts output when 2nd to last tab is closed
Summary: DynamicTabHide corrupts output when 2nd to last tab is closed
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 1.4
Platform: FreeBSD Ports FreeBSD
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-02 08:26 UTC by Sean Chittenden
Modified: 2005-01-26 17:04 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot of first tab after the second tab is closed. (18.54 KB, image/png)
2004-09-02 08:30 UTC, Sean Chittenden
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sean Chittenden 2004-09-02 08:26:34 UTC
Version:           1.4 (using KDE KDE 3.3.0)
Installed from:    FreeBSD Ports
Compiler:          gcc (GCC) 3.4.2 [FreeBSD] 20040728 
OS:                FreeBSD

Set DynamicTabHide=true in konsolerc, make sure TabViewMode=0 (or some value where it's not hidden), then restart konsole.  Open a new tab.  The first tab will have a slightly corrupted display because it wasn't repainted.  This can be fixed with a simple repaint/refresh command (Ctl+L).  Go back to the second tab and close out the tab.  The first tab now becomes the only tab, but its screen is distorted and discolored.
Comment 1 Sean Chittenden 2004-09-02 08:30:34 UTC
Created attachment 7388 [details]
Screenshot of first tab after the second tab is closed.

I didn't realize konsole wouldn't repaint itself when KSnapshot minimised
itself.  I can send before and afters if someone is interested, but this is
easy to confirm, someone else at kde@FreeBSD.org has already confirmed that
this behavior is repeatable.
Comment 2 Andreas Leuner 2004-12-08 20:50:05 UTC
It's exactly the same at my place. I use KDE CVSHEAD of 2004-11-29. Every time konsole creates a tab widget, the output on (at least) the first session is corrupted similar to that of your screenshot. That is, either when DynamicTabHide is active and a second session is opened, or when several sessions are open and I manually switch the tab bar off and on again.
If I, as you proposed, hit Ctrl+L, some of that corruption, but not the last line of it, is "corrected". If I now switch the tab bar off and on, no additional corruption is caused.
This is possibliy related to #85685.
Comment 3 jeff pitman 2004-12-09 00:55:21 UTC
TabViewMode={anything} is broken too.  Another set of reproduce steps found in Bug #93879.  It is the Dynamic hide problem.
Comment 4 Kurt Hindenburg 2004-12-09 17:08:14 UTC
I am currently working on getting an addition to kdelibs/kdeui/ktabwidget which will allow the hiding of the tabbar from there.  If/When that occurs, the tab hiding/showing in konsole will be greatly simplified (hopefully).
Comment 5 Kurt Hindenburg 2005-01-26 17:04:55 UTC
Fixed in 3.4.