Details
-
Type:
Bug
-
Status: Reported
-
Priority:
P3: Somewhat important
-
Resolution: Unresolved
-
Affects Version/s: 5.15
-
Fix Version/s: None
-
Component/s: GUI: High-DPI, Widgets: Layout, Widgets: Main Window
-
Labels:None
-
Platform/s:
Description
QWidgets do not recognize the Screen Density changes when using Samsung Dex with
com.samsung.android.keepalive.densitycom.samsung.android.multidisplay.keep_process_alive
- Compile and launch the annexed project on a Samsung S8 (or later).
- Connect a screen, let Samsung Dex launch.
- On the new screen, select currently running apps (||| button) and select this app.
In the annexed images the current result and the expected one.
I think something missing somewhere, in order to emit QWindow::screenChanged.
In the annexed project I already put the code to catch ConfigChanges and let MainWindow know there is something to do... But I think this should be handled on a much deeper level. (See MainWindow.cpp, rows 87-97.