[Bug 609741]

2021-10-13 Thread Adriaan de Groot
Created attachment 142330
Konsole text size 80x25

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/609741

Title:
  konsole inverts $COLUMNS and $LINES when resized from vi

To manage notifications about this bug go to:
https://bugs.launchpad.net/konsole/+bug/609741/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 609741]

2021-10-13 Thread Adriaan de Groot
Created attachment 142329
Konsole at 160x41

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to konsole in Ubuntu.
https://bugs.launchpad.net/bugs/609741

Title:
  konsole inverts $COLUMNS and $LINES when resized from vi

To manage notifications about this bug go to:
https://bugs.launchpad.net/konsole/+bug/609741/+subscriptions


-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 609741]

2021-10-13 Thread Adriaan de Groot
[[ Since I can still reproduce with current releases, on a platform
totally different from the OP, I'm updating platform and version values
in the bug. ]]

This is easy to demonstrate with the new text-reflowing: you can see
that the logical text-size is changed and text is reflowed (so the
"terminal" idea is resized), but the window size (the "GUI around a
terminal") does not change.

I'll attach two screenshots: konsole after / during resize using the
window-manager handles, and then the "text-size-terminal" changed to
80x25. You can see right after the text-size-change codes, that the text
is reflowed with the new text-size, but the graphical window size does
not change. Opening a new tab, or switching tabs, triggers a *new*
resize and reflow event, and the text-size goes back to matching the
GUI-size (e.g. it reflows back to the "size1" screenshot).

With all that said, though, it's not clear to me if resizing the **GUI**
part to match the **text** size makes sense: what about other tabs in
konsole? They would end up being resized as well, by an ANSI code
emitted in one tab! Or consider tabs with different profiles that have
different font sizes: resize to 80x25 means different things (in terms
of GUI-size, and so in terms of text-size for other tabs) in different
tabs.

I would consider closing this as "WONTFIX", because a tabbed, paned,
multi-layout multi-themed terminal widget doesn't have a good model for
"resize the GUI" based on text events.

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to konsole in Ubuntu.
https://bugs.launchpad.net/bugs/609741

Title:
  konsole inverts $COLUMNS and $LINES when resized from vi

To manage notifications about this bug go to:
https://bugs.launchpad.net/konsole/+bug/609741/+subscriptions


-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 609741]

2014-09-20 Thread sandeep
I think I may be facing the same problem:

When I resize konsole to a bigger size using the mouse,  the text
displayed tries to wrap around to the next line, as if the konsole
window is still small (i.e even if there is enough space for text to be
displayed). However, the text doesn't wrap around correctly and is
garbled instead (i.e displayed in previous line, with gaps between
text).

For example, I initially open up a konsole window of size: 105x26 and
then resize to 136x34. Then, I type in a long line of text (say a git
commit command) and the text cuts off at the point where it would have
if the window was still 105x26 and then continues on the previous line,
and then jumps around, with long gaps, moving to the right, and then to
even earlier lines.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/609741

Title:
  konsole inverts $COLUMNS and $LINES when resized from vi

To manage notifications about this bug go to:
https://bugs.launchpad.net/konsole/+bug/609741/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 609741]

2014-02-13 Thread Kurt Hindenburg
If anyone tries to look at this -
https://git.reviewboard.kde.org/r/104038 might be helpful

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to konsole in Ubuntu.
https://bugs.launchpad.net/bugs/609741

Title:
  konsole inverts $COLUMNS and $LINES when resized from vi

To manage notifications about this bug go to:
https://bugs.launchpad.net/konsole/+bug/609741/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 609741] Re: konsole inverts $COLUMNS and $LINES when resized from vi

2014-02-13 Thread Bug Watch Updater
** Changed in: konsole
   Status: Confirmed = Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/609741

Title:
  konsole inverts $COLUMNS and $LINES when resized from vi

To manage notifications about this bug go to:
https://bugs.launchpad.net/konsole/+bug/609741/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 609741] Re: konsole inverts $COLUMNS and $LINES when resized from vi

2014-02-13 Thread Harald Sitter
Our bug triage policy mandates that upstream bugs be handled upstream,
so for this particular bug it is invalid for us, it's not invalid in
general.

** Changed in: konsole (Ubuntu)
   Status: Confirmed = Invalid

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to konsole in Ubuntu.
https://bugs.launchpad.net/bugs/609741

Title:
  konsole inverts $COLUMNS and $LINES when resized from vi

To manage notifications about this bug go to:
https://bugs.launchpad.net/konsole/+bug/609741/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 609741] Re: konsole inverts $COLUMNS and $LINES when resized from vi

2012-08-22 Thread Bug Watch Updater
Launchpad has imported 12 comments from the remote bug at
https://bugs.kde.org/show_bug.cgi?id=238073.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2010-05-18T20:16:04+00:00 Sundance wrote:

Version:(using KDE 4.4.3)
OS:Linux
Installed from:Ubuntu Packages

Konsole 3 used to support the ANSI escape sequences to resize the
window. Konsole 4 no longer does.

This for instance causes some Vim plug-ins to completely screw up the
display.

How to reproduce:
Open Konsole;
Resize to, say, 140x60 with the mouse;
Type: echo -ne \033[8;25;80t

Expected result:
The terminal window is resized to 80 columns and 25 lines.

Actual result:
1/ The display gets screwed up.
2/ The window isn't resized.

The screw up part actually looks like Konsole tries to apply the resize,
but with the width and height inverted! I.e. it seems to expect
ESC[8;width;height;t instead of the correct ESC[8;height;width;t. So
this at least should be easy to correct.

But the window should still resize itself accordingly.

Reply at: https://bugs.launchpad.net/konsole/+bug/609741/comments/0


On 2010-06-02T04:30:44+00:00 Kurt Hindenburg wrote:

Yes you are correct.  I remember implementing this in KDE3.  It looks
like someone switched the method parameters.  Still it should resize it.

Reply at: https://bugs.launchpad.net/konsole/+bug/609741/comments/1


On 2011-07-20T20:00:16+00:00 adaptee wrote:

I think #245746 is actually the same as this one.

And #185645 and #272386 are both the consequences of this bug. They all use 
':set columns=xxx' in the .vimrc, which triggers the resize ANSI escape code.

Reply at: https://bugs.launchpad.net/konsole/+bug/609741/comments/5


On 2011-07-30T13:12:10+00:00 adaptee wrote:

*** Bug 198613 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/konsole/+bug/609741/comments/6


On 2011-07-30T14:16:04+00:00 adaptee wrote:

*** Bug 272386 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/konsole/+bug/609741/comments/7


On 2011-07-30T14:17:48+00:00 adaptee wrote:

*** Bug 185645 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/konsole/+bug/609741/comments/8


On 2011-08-03T15:18:26+00:00 adaptee wrote:

*** Bug 245746 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/konsole/+bug/609741/comments/9


On 2011-08-03T19:37:15+00:00 Alain Baeckeroot wrote:

the fix is given in http://bugs.kde.org/show_bug.cgi?id=245746  with
references to the commit

Reply at: https://bugs.launchpad.net/konsole/+bug/609741/comments/11


On 2011-08-03T19:55:51+00:00 adaptee wrote:

(In reply to comment #7)
 

Yeah, I know.

That commit fixed the first problem in this report: reverted column and
line argument when interpreting the ANSI escape code.

But the second problem is still not fixed: the window does not actually
resize.

Reply at: https://bugs.launchpad.net/konsole/+bug/609741/comments/14


On 2011-09-21T04:52:56+00:00 adaptee wrote:

*** Bug 192699 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/konsole/+bug/609741/comments/18


On 2012-01-26T11:46:33+00:00 adaptee wrote:

*** Bug 292452 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/konsole/+bug/609741/comments/19


On 2012-01-26T11:48:25+00:00 adaptee wrote:

[copied from bug 292452]

I thought for some time that the Esc[8;rows;colst escape sequence no longer
did anything.   However, I find that, for example Esc[8;40;24t makes the
terminal work as though it is 40x24 (lines wrap at column 40) although the
window size doesn't change.

setImageSize(), called when the escape sequence is received, calls
resizeImage() and which does all the work necessary to make the size as
specified but doesn't do anything at all to set the window size.

Interestingly, perhaps, when a new tab is created, setImageSize

[Bug 609741] Re: konsole inverts $COLUMNS and $LINES when resized from vi

2011-08-30 Thread Harald Sitter
Closing in favor of upstream report as this ultimately needs to be
resolved in Konsole itself rather than Kubuntu.

** Changed in: konsole (Ubuntu)
   Status: Triaged = Invalid

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to konsole in Ubuntu.
https://bugs.launchpad.net/bugs/609741

Title:
  konsole inverts $COLUMNS and $LINES when resized from vi

To manage notifications about this bug go to:
https://bugs.launchpad.net/konsole/+bug/609741/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 609741] Re: konsole inverts $COLUMNS and $LINES when resized from vi

2011-08-30 Thread Alain Baeckeroot
maybe you can mark it as Won't fix  , it would be clearer.

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to konsole in Ubuntu.
https://bugs.launchpad.net/bugs/609741

Title:
  konsole inverts $COLUMNS and $LINES when resized from vi

To manage notifications about this bug go to:
https://bugs.launchpad.net/konsole/+bug/609741/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 609741] Re: konsole inverts $COLUMNS and $LINES when resized from vi

2011-08-30 Thread Alain Baeckeroot
This bug is VALID and has a patch upstream

So please, don't mark it as invalid, when one can just cherry pick a one
line patch to fix it :-).


** Changed in: konsole (Ubuntu)
   Status: Invalid = Confirmed

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to konsole in Ubuntu.
https://bugs.launchpad.net/bugs/609741

Title:
  konsole inverts $COLUMNS and $LINES when resized from vi

To manage notifications about this bug go to:
https://bugs.launchpad.net/konsole/+bug/609741/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 609741] Re: konsole inverts $COLUMNS and $LINES when resized from vi

2011-08-03 Thread Bug Watch Updater
** Changed in: konsole
   Status: Confirmed = Invalid

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to konsole in Ubuntu.
https://bugs.launchpad.net/bugs/609741

Title:
  konsole inverts $COLUMNS and $LINES when resized from vi

To manage notifications about this bug go to:
https://bugs.launchpad.net/konsole/+bug/609741/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 609741] Re: konsole inverts $COLUMNS and $LINES when resized from vi

2011-08-03 Thread Alain Baeckeroot
https://bugs.kde.org/show_bug.cgi?id=223302

** Bug watch added: KDE Bug Tracking System #238073
   http://bugs.kde.org/show_bug.cgi?id=238073

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/609741

Title:
  konsole inverts $COLUMNS and $LINES when resized from vi

To manage notifications about this bug go to:
https://bugs.launchpad.net/konsole/+bug/609741/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 609741] Re: konsole inverts $COLUMNS and $LINES when resized from vi

2011-08-03 Thread Alain Baeckeroot
Why invalid ?

This bug has a patch upstream and is not yet included in ubuntu !

** Bug watch added: KDE Bug Tracking System #223302
   http://bugs.kde.org/show_bug.cgi?id=223302

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/609741

Title:
  konsole inverts $COLUMNS and $LINES when resized from vi

To manage notifications about this bug go to:
https://bugs.launchpad.net/konsole/+bug/609741/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 609741] Re: konsole inverts $COLUMNS and $LINES when resized from vi

2011-08-03 Thread Bug Watch Updater
** Changed in: konsole
   Status: Unknown = Confirmed

** Changed in: konsole
   Importance: Unknown = Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/609741

Title:
  konsole inverts $COLUMNS and $LINES when resized from vi

To manage notifications about this bug go to:
https://bugs.launchpad.net/konsole/+bug/609741/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 609741] Re: konsole inverts $COLUMNS and $LINES when resized from vi

2011-08-03 Thread Alain Baeckeroot
https://bugs.kde.org/show_bug.cgi?id=238073 is the correct one, 223302
is a mistake in url

** Changed in: konsole
   Importance: Medium = Unknown

** Changed in: konsole
   Status: Invalid = Unknown

** Changed in: konsole
 Remote watch: KDE Bug Tracking System #245746 = KDE Bug Tracking System 
#223302

** Changed in: konsole
 Remote watch: KDE Bug Tracking System #223302 = KDE Bug Tracking System 
#238073

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/609741

Title:
  konsole inverts $COLUMNS and $LINES when resized from vi

To manage notifications about this bug go to:
https://bugs.launchpad.net/konsole/+bug/609741/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 609741] Re: konsole inverts $COLUMNS and $LINES when resized from vi

2011-07-21 Thread Jonathan Thomas
** Project changed: kde-baseapps = konsole

** Package changed: kdebase (Ubuntu) = konsole (Ubuntu)

** Changed in: konsole (Ubuntu)
   Status: New = Triaged

** Changed in: konsole (Ubuntu)
   Importance: Undecided = Low

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdebase in Ubuntu.
https://bugs.launchpad.net/bugs/609741

Title:
  konsole inverts $COLUMNS and $LINES when resized from vi

To manage notifications about this bug go to:
https://bugs.launchpad.net/konsole/+bug/609741/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 609741] Re: konsole inverts $COLUMNS and $LINES when resized from vi

2011-07-18 Thread Bug Watch Updater
** Changed in: kde-baseapps
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdebase in Ubuntu.
https://bugs.launchpad.net/bugs/609741

Title:
  konsole inverts $COLUMNS and $LINES when resized from vi

To manage notifications about this bug go to:
https://bugs.launchpad.net/kde-baseapps/+bug/609741/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 609741] Re: konsole inverts $COLUMNS and $LINES when resized from vi

2011-02-03 Thread Bug Watch Updater
** Changed in: kdebase
   Importance: Unknown = Medium

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdebase in ubuntu.
https://bugs.launchpad.net/bugs/609741

Title:
  konsole inverts $COLUMNS and $LINES when resized from vi

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 609741] Re: konsole inverts $COLUMNS and $LINES when resized from vi

2010-07-26 Thread Bug Watch Updater
** Changed in: kdebase
   Status: Unknown = New

-- 
konsole inverts $COLUMNS and $LINES when resized from vi
https://bugs.launchpad.net/bugs/609741
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 609741] [NEW] konsole inverts $COLUMNS and $LINES when resized from vi

2010-07-25 Thread Alain Baeckeroot
Public bug reported:

Binary package hint: kdebase

This simple command does a resize from vi (enlarge by 3 columns)

$ resize; vi /tmp/a +set co=$(($COLUMNS + 3)) +:q; echo; resize


We see that Konsole is totaly messed-up, due to the fact that it inverts the 
number of lines and the number of columns.

To have a normal display agin, it is enougth to resize the windo with
the mouse, then correct values are taken into account (and set as env
vars).

---

$ lsb_release -rd
Description:Ubuntu 9.10
Release:9.10

$ konsole --version
Qt : 4.5.2
KDE : 4.3.2 (KDE 4.3.2)
Konsole : 2.3.2

--

ProblemType: Bug
Architecture: i386
Date: Sun Jul 25 15:05:06 2010
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: fglrx
Package: konsole 4:4.3.2-0ubuntu3
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-22.60-generic
SourcePackage: kdebase
Uname: Linux 2.6.31-22-generic i686

** Affects: kdebase
 Importance: Unknown
 Status: Unknown

** Affects: kdebase (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: apport-bug i386

-- 
konsole inverts $COLUMNS and $LINES when resized from vi
https://bugs.launchpad.net/bugs/609741
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 609741] Re: konsole inverts $COLUMNS and $LINES when resized from vi

2010-07-25 Thread Alain Baeckeroot

** Attachment added: Dependencies.txt
   http://launchpadlibrarian.net/52485868/Dependencies.txt

** Attachment added: XsessionErrors.txt
   http://launchpadlibrarian.net/52485869/XsessionErrors.txt

** Bug watch added: KDE Bug Tracking System #245746
   http://bugs.kde.org/show_bug.cgi?id=245746

** Also affects: kdebase via
   http://bugs.kde.org/show_bug.cgi?id=245746
   Importance: Unknown
   Status: Unknown

-- 
konsole inverts $COLUMNS and $LINES when resized from vi
https://bugs.launchpad.net/bugs/609741
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 609741] Re: konsole inverts $COLUMNS and $LINES when resized from vi

2010-07-25 Thread Alain Baeckeroot
Doing the same command line in gnome-terminal 2.28 (karmic) just works
fine, the terminal is correctly resized when vi ask for it.

Just no affect in xterm, or xfce4-terminal.

-- 
konsole inverts $COLUMNS and $LINES when resized from vi
https://bugs.launchpad.net/bugs/609741
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs