Disagree with 18.04 LTS (18.04.5) comment by @nrbrtx, considering gnome-
terminal.

Open gnome-terminal.
Change directory to long name, from first character of username to last 
character "$" of directory summing 60, or 61+ characters.
Give it best effort and utilize "clear" command.
Utilize keyboard shortcut to escape from current command, "CTRL + C", twice.
Utilize keyboard shortcut to adjust window, "ALT + F8", and reduce horizontal 
width from the RIGHT edge to 62 characters. Notice one line of history is gone.
Continue and reduce horizontal width to 58 characters. Notice an unexpected 
character at beginning of last line of prompt.
Continue to 57 characters. The whole path is no longer visible.
Continue to 56 characters. Part of the path appears inside the cursor.
Continue to 55 characters. Path is now obscured.
Continue to 50 characters. Notice the obscured path is no longer present, but 
the path is not whole.
Continue and reduce horizontal width to minimum (31) from the RIGHT edge with 
arrow keys.
Utilize keyboard shortcut to escape from current command, "CTRL + C", twice.
The tool to change horizontal width has been disabled and a ^C is made visible 
at the last prompt, escaping to a new prompt with full path.
Utilize keyboard shortcut to adjust window, "ALT + F8", and increase horizontal 
width from the RIGHT edge to 60 characters or 61 characters. Notice the 
username is obscured.

If performed with 60 character line, Continue to typical 80 characters.
The first letter of the username is now repeated on the last line.

If performed with 61 character line, first character of username is
sometimes repeated on previous line.

If performed with 61+ character line, multiples of path are seen as
original bug reports. You can make more lines with path appear if
iterating between width of 31 and 32 characters.

My example is 62 characters:
userna@userna:~/userna/usernamefolder/direct/foobars/foobars$

Results:
userna@userna:~/userna/usernamefolder
userna@userna:~/userna/usernamefolder/direct/foobars/foobars$

Either with fast keyboard strokes or slow, there are a number of errors
in line feed and character removal when adjusting the terminal width.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-terminal in Ubuntu.
https://bugs.launchpad.net/bugs/1927063

Title:
  Terminal prompt got strangely replicated when resizing terminal
  horizontally

Status in bash package in Ubuntu:
  Confirmed
Status in gnome-terminal package in Ubuntu:
  Confirmed
Status in mate-terminal package in Ubuntu:
  Confirmed
Status in tilix package in Ubuntu:
  Confirmed
Status in vte2.91 package in Ubuntu:
  Confirmed

Bug description:
  Steps to reproduce:
  1. Have Ubuntu installed
  2. Launch MATE Terminal
  3. Navigate to some folder with long name - `cd 
/usr/share/doc/ayatana-indicator-application`
  4. Resize terminal horizontally

  Expected results:
  * terminal shows the same 
"user@host:/usr/share/doc/ayatana-indicator-application$" with single occurrence

  Actual results:
  * terminal shows multiple occurrencies of 
"user@host:/usr/share/doc/ayatana-indicator-application$"

  (see attached screencast)

  ProblemType: Bug
  DistroRelease: Ubuntu 21.04
  Package: mate-terminal 1.24.1-1
  ProcVersionSignature: Ubuntu 5.11.0-16.17-generic 5.11.12
  Uname: Linux 5.11.0-16-generic x86_64
  ApportVersion: 2.20.11-0ubuntu65
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: MATE
  Date: Tue May  4 10:54:59 2021
  InstallationDate: Installed on 2021-04-23 (10 days ago)
  InstallationMedia: Ubuntu-MATE 21.04 "Hirsute Hippo" - Release amd64 
(20210420)
  SourcePackage: mate-terminal
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1927063/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to