Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX(client): Limit size of the chat bar #6578

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

Hartmnt
Copy link
Member

@Hartmnt Hartmnt commented Sep 30, 2024

Previously, the chat bar QTextEdit was unlimited in screen space size and would start stretching the main window and chat log, if messages were too large.
This resulted in the window becoming unusable unless you would manually resize the window down again.

This commit adds a sensible limit to how much of the chat bar can be visible at once. Currently, this limit is set to 10 times the font height. After that the chat bar will stop growing in screen space and instead start showing a scrollbar.

Fixes #6528
Fixes #1320

screencast2

Previously, the chat bar QTextEdit was unlimited in screen space
size and would start stretching the main window and chat log, if
messages were too large.
This resulted in the window becoming unusable unless you would
manually resize the window down again.

This commit adds a sensible limit to how much of the chat bar
can be visible at once. Currently, this limit is set to 10 times
the font height. After that the chat bar will stop growing in screen
space and instead start showing a scrollbar.

Fixes mumble-voip#6528
Fixes mumble-voip#1320
@Hartmnt Hartmnt added client ui bug A bug (error) in the software auto-backport-to-1.5.x labels Sep 30, 2024
@Hartmnt Hartmnt requested a review from Krzmbrzl September 30, 2024 14:50
@Hartmnt Hartmnt marked this pull request as ready for review September 30, 2024 14:50
@Krzmbrzl Krzmbrzl merged commit 1a630e1 into mumble-voip:master Oct 3, 2024
19 checks passed
@Krzmbrzl
Copy link
Member

Krzmbrzl commented Oct 3, 2024

💚 All backports created successfully

Status Branch Result
1.5.x

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

Krzmbrzl added a commit that referenced this pull request Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Large messages wreak havoc upon window layout Stacked UI expands text box - 1.3
3 participants