Bug 158514 - setting HistoryMode=0 makes konsole screen updates messy
Summary: setting HistoryMode=0 makes konsole screen updates messy
Status: RESOLVED DUPLICATE of bug 158523
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-27 18:40 UTC by Vincenzo Di Massa
Modified: 2008-02-28 15:35 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
after second ls (97.33 KB, image/png)
2008-02-28 02:37 UTC, Vincenzo Di Massa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vincenzo Di Massa 2008-02-27 18:40:02 UTC
Version:            (using KDE 4.0.1)
Installed from:    Compiled From Sources
OS:                Linux

If History mode is 0 then when the text reaches the end of the window, konsole outputs garbage on the screen.
Comment 1 Robert Knight 2008-02-27 20:04:51 UTC
How did you change the history mode?  I cannot reproduce this locally using konsoleprofile or Scrollback -> Scrollback Options to change the settings.
Comment 2 Vincenzo Di Massa 2008-02-28 02:25:12 UTC
konsoleprofile HistoryMode=0 # triggers it for me
konsoleprofile HistoryMode=1 # fixes it 
konsoleprofile HistoryMode=2 # works as well
Comment 3 Vincenzo Di Massa 2008-02-28 02:36:16 UTC
The bug was intended to be filed against trunk, I mistakenly reported it against 4.0.1. Sorry.

BTW: in order to reproduce I do:
1) open konsole
2) $ konsoleprofile HistoryMode=0
3) hit <Cr> until it scrolls out of the screen
4) now type $ ls

the result is that the ls output is not displayed.
Doing again
$ ls 
makes the first ls result appear some rows before.
Comment 4 Vincenzo Di Massa 2008-02-28 02:37:51 UTC
Created attachment 23736 [details]
after second ls

See comment #3
Comment 5 Robert Knight 2008-02-28 12:05:30 UTC
Does turning the scrollbar off via Settings -> Edit Current Profile -> Scrollback have the same effect?

What graphics card and driver combination do you have?
Comment 6 Vincenzo Di Massa 2008-02-28 12:47:53 UTC
Yes, it has the same effect.

I'm using an ati R9600 with fglrx 8.02.

Tnx
Vincenzo
Comment 7 Vincenzo Di Massa 2008-02-28 13:54:35 UTC
More info...
even using HistoryMode=1 I get problems.

Using things that enable line scrolling (e.g. vim, less ...), when scrolling down, the last line of the screen is not updated until I hit the cursor up key.

It is like the display area were one line smaller then it should be until I go up one line with cursor (which triggers redrawing I guess).

More over: resizing the window makes the screen to be updated correctly... so the code that gets called after a window resize is doing the right thing (tm).
Comment 8 Robert Knight 2008-02-28 15:35:08 UTC
I believe this is a duplicate of bug #158523 which happened after the update to Qt 4.4

Could you please add a mention to that report of your video card / driver combination?


*** This bug has been marked as a duplicate of 158523 ***