What | Removed | Added |
---|---|---|
Priority | P5 - None | P3 - Medium |
Status | NEW | CONFIRMED |
Assignee | yast2-maintainers@suse.de | yast-internal@suse.de |
Summary | "Online update" in Yast2 opens extreme large window on 4K-Screen | Yast2 opens an extremely large window on 4K-Screen (High-DPI monitor) |
Flags | needinfo?(hei.s.e.wurgl@gmail.com) |
Oh, found it in the code, by default it is actually 70% of the screen width/height. (https://github.com/libyui/libyui-qt/blob/master/src/YQUI.cc#L425) That sounds OK but the code does not check the device DPI. So this is a generic issue. The Qt library provides these functions: http://doc.qt.io/qt-5/qguiapplication.html#devicePixelRatio http://doc.qt.io/qt-5/qwindow.html#devicePixelRatio