Bug 511589

Summary: Text input box is too small at compact window sizes
Product: [Applications] NeoChat Reporter: Forest <forestix>
Component: GeneralAssignee: Tobias Fella <fella>
Status: CONFIRMED ---    
Severity: normal CC: carl, josh
Priority: NOR    
Version First Reported In: 25.08.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screen shot highlighting wasted space

Description Forest 2025-11-03 21:59:06 UTC
Created attachment 186472 [details]
screen shot highlighting wasted space

At compact window sizes, NeoChat's text input box is shoved into a small corner, leaving the user with insufficient space to properly edit a message (the app's primary function).

Several things contribute to this problem:
- The buttons to the right are arranged horizontally, wasting all the space above them and stealing horizontal space from the input box. Instead, they could be stacked, collapsed, or moved outside of the text input area.
- All of the buttons to the right are always shown, even when not needed. Instead, some could be hidden when the user has started entering text, as Nheko does.
- The spacing between those buttons is a bit much.
- The margins around the input box are larger than necessary.
- A horizontal scroll bar steals space from the input box, even when nothing requires horizontal scrolling.

STEPS TO REPRODUCE
1. Set NeoChat's window to a compact size, e.g. 380x520.
2. Open a chat room.
3. Start typing a message at least a couple dozen words long.

OBSERVED RESULT

The text input box is needlessly tiny, with very little space devoted to what the user is doing. Very little of what the user writes can be seen before they send it, making composition annoying and needlessly difficult.

EXPECTED RESULT

When the user is editing a message, most of the available window width should be devoted to that.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Flatpak
KDE Plasma Version: 6.3.6 (host system)
KDE Frameworks Version: 6.19.0
Qt Version: 6.9.3 (via flatpak runtime)

ADDITIONAL INFORMATION