| Summary: | kmix doesn't show mixer when global scaling is enabled. | ||
|---|---|---|---|
| Product: | [Applications] kmix | Reporter: | firewalker <firew4lker> |
| Component: | KMix Panel Docking | Assignee: | Christian Esken <esken> |
| Status: | REPORTED --- | ||
| Severity: | grave | ||
| Priority: | NOR | ||
| Version First Reported In: | 21.04.0 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
firewalker
2021-05-06 10:44:03 UTC
Manually setting the scale factor, makes kmix behave as expected. QT_SCALE_FACTOR=0.8 kmix 1/1.25=0.8 This has nothing to do with fractional scaling. Running with an integer scale factor ha the same wrong behavior. QT_SCALE_FACTOR=1.6 kmix 1.25x1.6=2 OK. I think the problem is in file kmixdockwidget.cpp. // Now handle Multihead displays. And also make sure that the dialog is not // moved out-of-the screen on the right (see Bug 101742). const QScreen *screen = QGuiApplication::screenAt(pos); if (screen==nullptr) return; line 354 const QScreen *screen = QGuiApplication::screenAt(pos); should change to const QScreen *screen = QGuiApplication::screenAt(QCursor::pos()); With this change kmix seems to work OK with scale factors. |