[konsole] [Bug 196998] Konsole should reflow the text when resizing

Dev Aggarwal bugzilla_noreply at kde.org
Mon Sep 17 11:57:28 BST 2018


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

--- Comment #32 from Dev Aggarwal <devxpy at gmail.com> ---
(In reply to Egmont Koblinger from comment #28)
> (In reply to Shawn Rutledge from comment #24)
> 
> > What I would like is a checkbox to toggle between reflowing text, and having
> > a horizontal scrollbar. 
> 
> For my basic thoughts on horizontal scrollbar see
> https://bugzilla.gnome.org/show_bug.cgi?id=769440. In addition: your
> model/view idea is a nice one and is implementable, but some apps will sure
> seem to be quite broken or at least behave in ways it's hard to justify.
> E.g. you press the Up arrow and expect the cursor to go up, whereas actually
> it goes to the left by 80 columns (because it moved up in the model, but
> it's flattened to the same row in the view).
> 
> > If urxvt can wrap text in so little code, wrapping can't be that hard.
> 
> urxvt only rewraps on resize if you've already reached a screenful of text
> -- I have absolutely no idea what could have been the rationale behind that.
> 
> In urxvt if you switch to the alternate screen (e.g. vim, mc), resize and
> then quit, the contents will not be properly rewrapped. Gnome Terminal (VTE)
> gets this right.
> 
> I'm afraid there might easily be other issues with urxvt's rewrapping. I
> haven't tested it any further than these, I'm just assuming this based on
> seeing how complex it was to get it right, and seeing the just-mentioned
> problems with urxvt as well as the ones I've mentioned earlier with
> terminology.
> 
> The amount of code and the complexity are not strongly correlated. In VTE I
> implemented rewrapping with a reasonably small(ish) amount of code, but
> trying to get all the details right it was one of the most complicated ones
> I've ever written in my life.

I have also experienced uvrxt not wrapping stuff properly with large amounts of
text.

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


More information about the konsole-devel mailing list