mirror of
https://github.com/mumble-voip/mumble.git
synced 2026-03-03 00:46:56 -05:00
Settings window layout is broken by high Windows DPI #2238
Labels
No labels
GlobalShortcuts
Hacktoberfest
accessibility
acl
asio
audio
bonjour
bsd
bug
build
certificate
ci
client
code
documentation
external-bug
feature-request
gRPC
github
good first issue
help wanted
help-needed
ice
installer
linux
macOS
needs-ckeck-with-latest-version
needs-more-input
overlay
positional audio
priority/P0 - Blocker
priority/P1 - Critical
priority/P2 - Important
priority/P3 - Somewhat important
priority/P4 - Low
public-server-registration
qt
recording
release-management
server
stale-no-response
stale-support
support
task
test
theme
translation
triage
ui
windows
wontfix
x64
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/mumble-mumble-voip#2238
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @quixoticaxis on GitHub (Jun 2, 2021).
Describe the bug
The left stack panel of the "Settings" window does not stretch to content's width.
The Windows DPI for the display hosting the window on the screenshot below is 175%. The layout is also broken at 150%. The layout is correct at 100%.
I checked it in Mumble - Lite, Classic themes, and also checked with None theme option.
Steps to Reproduce
Steps to reproduce the behavior:
Expected behavior
The stack panel correctly stretches to show the non-cut content. I expect the panel to fit the largest item.
Screenshots

Desktop:
Additional context
It looks like for some reason the contents of the buttons are DPI aware and thus become bigger with higher DPI, but the stack panel either ignores DPI or simply has a fixed width.
@quixoticaxis commented on GitHub (Jun 2, 2021):
Seems related to #3792. Using compatibility DPI settings fixes the layout, but makes everything blurry.
@Krzmbrzl commented on GitHub (Jun 2, 2021):
I have seen a similar effect on Linux without using any high DPI. Some entries are just abbreviated.
Thus I strongly suspect that the sidebar simply has a fixed width and everything that exceeds it, is cut off.
@quixoticaxis commented on GitHub (Jun 2, 2021):
I don't know Qt, but I checked the menu markup and it seems to use resize policy with horizontal stretching.
@Krzmbrzl commented on GitHub (Jun 2, 2021):
Then maybe the size calculation is broken 🤷