Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.7.0
-
Windows
-
23a74e810bb2ec4cb950eaae9760889c1e8a5d54 (qtmultimedia/5.8, 11.1.2017, 5.8.1)
Description
When using a QVideoWidget with high dpi enabled application (dpiawareness=2, per monitor dpi aware), moving the window to the high dpi screen does not properly scale the QVideoWidget. Other widgets like QTextEdit and QPushButton are properly scaled at the same time.
With dpiawareness=1 (System does scaling) this issue is not reproducible.
Steps to reproduce:
- Run Qt example "Video Widget Example" with QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); and dpiawareness=2 set.
- Load a video and play it
- Move the window to another monitor (i.e. 4k monitor with higher text size set, for example 200%)
- EXPECTED: All widgets in the application are properly scaled
- ACTUAL: QVideoWidget is scaled to be very small compared to other controls (buttons, progress bar) which properly keep their size
Attachments
For Gerrit Dashboard: QTBUG-57145 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
177418,1 | WIP: DirectShow/ EvrVideoWindowControl: Apply the High DPI scale factor | 5.6 | qt/qtmultimedia | Status: ABANDONED | -2 | 0 |
177440,3 | QWindowVideoWidgetBackend: scale coordinates passed to control | 5.8 | qt/qtmultimedia | Status: MERGED | -2 | 0 |