packages
packages copied to clipboard
bash: Programs that use ncurses do not resize dynamically
Please confirm there isn't an existing open bug report
- [X] I have searched open bugs for this issue
Summary
Applications that use ncurses such as htop, nvtop, and radeontop have their contents weirdly rendered when the terminal is resized.
Steps to reproduce
- Open htop/nvtop.
- Resize the window
Expected result
The TUI should resize to the appropriate size of the terminal.
Actual result
The TUI contents do not take the full space of the terminal when maximized. When TUI apps are opened in a maximized terminal and resized the contents are not properly arranged.
Environment
- [X] Is system up to date?
Repo
Shannon (stable)
Desktop Environment
Plasma
System details
System:
Host: ryzentop Kernel: 6.8.10-291.current arch: x86_64 bits: 64
Desktop: KDE Plasma v: 6.0.4 Distro: Solus 4.5 resilience
Machine:
Type: Desktop System: Micro-Star product: MS-7C92 v: 1.0
serial:
Other comments
No response
I can't reproduce this with konsole on Plasma Wayland. Is this still reproducible for you after the latest Qt and Plasma updates?
I can't reproduce this with konsole on Plasma Wayland. Is this still reproducible for you after the latest Qt and Plasma updates?
Yes, it's still reproducible after updating.
I need a bit more reproduction details then. Can you take a screencast of it while it's happening?
@ReillyBrogan Screencast_20240610_144027.webm
I am having the same bug on budgie. Tested with solus 4.5 iso fresh install and the bug is not present. After updating to the latest packages the bug is present.
To reproduce: open nano and try to resize the terminal
I can only reproduce when I switch to bash (my usual shell is zsh)
I am not able to reproduce this with zsh or fish. I can reproduce it regardless of terminal application, with bash In bash, the problem can be reproduced with any cli application
I installed zsh and run zsh and I can still reproduce the bug. I also tried a couple of terminal from flathub and still can reproduce the bug. LE: After running chsh and choosing /bin/zsh and rebooting resizing works I also tested with nu shell and resizing works.
My conclusion this bug is related to bash
The last bash related pull request was getsolus/packages/pull/2670
@ReillyBrogan ping
Digging through commits, bash was updated 4 days ago ReillyBrogan bash: Update to v5.2.32
If you launch htop or nvtop from it's desktop entry, they are able to dynamically resize.
@uni-dos, @andreibuh41 is this still an issue on either of your systems? i just tested again with bash. Both nvtop and htop resize properly. There have been a few improvements to bash since last summer.
Yes, it is still present.