Bug 218038

Summary: Clearing scrollback doesn't immediately update scrollbar
Product: [Applications] konsole Reporter: Nicolás Alvarez <nalvarez>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: normal CC: hein
Priority: NOR    
Version: 2.3.2   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description Nicolás Alvarez 2009-12-09 21:13:20 UTC
Version:           2.9.6 (using KDE 4.3.4)
OS:                Linux
Installed from:    Debian testing/unstable Packages

Steps to reproduce:
 * Have stuff in your scrollback :) ls -l /bin
 * Right click the console, and select Scrollback -> Clear Scrollback
 * Nothing appears to happen. No text is changed in the console (as expected; it's not supposed to affect the visible text) and the scrollbar doesn't change (bad!), it still looks like I'm at the bottom of a long scroll area.
 * Try to drag scrollbar up. *Now* it changes to show there is nothing to scroll. The bar changes to cover the entire track as soon as you click it.

Note that this bug isn't present in Konsole.
Comment 1 Eike Hein 2009-12-10 04:47:15 UTC
The terminal area in Yakuake is provided by Konsole via a KPart component (Konsole itself does not use this KPart component, so the code paths might differ). Reassigning to Konsole.
Comment 2 Eike Hein 2009-12-10 04:47:49 UTC
It might help if you would add your Konsole version here :).
Comment 3 Nicolás Alvarez 2009-12-10 05:47:19 UTC
nicolas@tahu:~$ yakuake --version
Qt: 4.5.3
KDE: 4.3.2 (KDE 4.3.2)
Yakuake: 2.9.6
nicolas@tahu:~$ konsole --version
Qt: 4.5.3
KDE: 4.3.2 (KDE 4.3.2)
Konsole: 2.3.2
Comment 4 Nicolás Alvarez 2010-04-17 05:05:09 UTC
Still reproducible in:
Qt: 4.5.3
KDE: 4.3.4 (KDE 4.3.4)
Yakuake: 2.9.6
Konsole: 2.3.3

Note that the "clear scrollback & reset" action does update the scrollbar properly.

Can someone at least reproduce the problem and move it off the "UNCONFIRMED" status? :P
Comment 5 Eike Hein 2010-04-17 05:12:07 UTC
This works fine in my KDE 4.4.2 (Konsole 2.4.2), so I'll close. Please reopen if you still have the problem with a current stable version of KDE.
Comment 6 Nicolás Alvarez 2010-04-17 16:42:14 UTC
Confirmed "fixed": the "Clear scrollback" option is gone, there is only "Clear scrollback & reset" now.