[kmix] [Bug 436681] kmix doesn't show mixer when global scaling is enabled.

2021-05-07 Thread firewalker
https://bugs.kde.org/show_bug.cgi?id=436681

--- Comment #2 from firewalker  ---
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.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmix] [Bug 436681] kmix doesn't show mixer when global scaling is enabled.

2021-05-07 Thread firewalker
https://bugs.kde.org/show_bug.cgi?id=436681

--- Comment #1 from firewalker  ---
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

-- 
You are receiving this mail because:
You are watching all bug changes.