Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.6.2, 5.8.0, 5.9, 5.12.0 RC, 5.12.0, 5.12.1
-
Windows 10 1703 64 bit
MSVC2015 32 bit
MSVC2015 64 bit
-
730f0df17db53b249b8680a14c40d12107c8e24e (qt/qtbase/5.12)
Description
DelayButton finishes in half delay time depending on the screen it's shown on
- Have a primary UHD-screen scaled to 200% and a secondary FullHD-screen scaled to 100%.
- Run the example "Qt Quick Extras - Gallery".
It's in Examples\Qt-5.9\quickcontrols\extras\gallery\gallery.pro - Click on "DelayButton".
- Show the example on the primary screen.
- Click on the DelayButton and keep the mouse button pressed.
It will take 3 seconds until the DelayButton starts flashing. 3000ms is the default delay of a DelayButton. - Click on the DelayButton.
It stops flashing. - Move the example to the secondary screen.
- Click on the DelayButton and keep the mouse button pressed.
It will only take 1.5 seconds until the DelayButton starts flashing. If you set a higher delay, the example will still use only half the time on the secondary screen.
The DelayButton should always start flashing after the set delay, or after the default if not delay was set explicitly. By no means this duration should depend on the screen the DelayButton is shown on.
Another way to see the same effect is using the qmlpreview inside the QtDesignStudio and change the zoomfactor:
import QtQuick 2.9 Rectangle { visible: true width: 640 height: 1000 color: "blue" Rectangle { id: testRect y: 4 width: parent.width height: 10 } NumberAnimation { id: testAni target: testRect property: "height" running: true to: 1000 from: 0 loops: -1 duration: 10000 } }
Attachments
Issue Links
- is duplicated by
-
QTBUG-71094 animation runs faster after the qmlpreview refreshed the app
- Closed
For Gerrit Dashboard: QTBUG-59660 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
250597,3 | Windows: Set opengl swap interval whenever we make a new window current | 5.12 | qt/qtbase | Status: MERGED | +2 | 0 |