[konsole] [Bug 415463] New: konsole stops updating after setting a long title
Ivan Kozik
bugzilla_noreply at kde.org
Sun Dec 22 20:35:01 GMT 2019
https://bugs.kde.org/show_bug.cgi?id=415463
Bug ID: 415463
Summary: konsole stops updating after setting a long title
Product: konsole
Version: master
Platform: Other
OS: Linux
Status: REPORTED
Severity: major
Priority: NOR
Component: general
Assignee: konsole-devel at kde.org
Reporter: ivan at ludios.org
Target Milestone: ---
SUMMARY
On konsole master, this stops visually updating the terminal into which it is
entered:
echo -e '\e]0;very long string very long string very long string very long
string very long string very long string very long string very long string very
long string very long string very long string very long string very long string
very long string very long string very long string very long string very long
string very long string\a'
You may need to make the string longer if you have a very wide monitor.
Note that konsole still processes input (you can `exit<Enter>`).
I encountered this bug while I was using zsh with:
# preexec is run after you hit Enter, but before the command is run
preexec() {
# Set the terminal title to 'hostname# the command being run'
#
# See http://www.zsh.org/mla/users/2004/msg00948.html
# "Re: question about quoting % in preexec" to understand
# the escaping strategy here.
print -Pn '\e]0;%m# '
print -rn -- "$1"
print -Pn '\a'
}
konsole 19.08.3 works fine, so this regressed somewhere after that and before
4444f288940184c479f5d9aad17b718f702a3ce9. I tested on NixOS master, x86_64.
STEPS TO REPRODUCE
1. Build and run konsole master
2. Run the echo -e command above
3. Observe apparently stuck console, no more visual updates
I tested by applying
https://gist.github.com/ivan/ec0fabe224e32c99a25f65eaabf65d72 onto nixpkgs
master
OBSERVED RESULT
EXPECTED RESULT
SOFTWARE/OS VERSIONS
Windows:
macOS:
Linux/KDE Plasma: NixOS master
(available in About System)
KDE Plasma Version:
KDE Frameworks Version: 5.64.0
Qt Version: Qt 5.12.6 (built against 5.12.6)
ADDITIONAL INFORMATION
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the konsole-devel
mailing list