Bug 442080 - ANGLE: Resizing window sometimes causes client area to render with offset
Summary: ANGLE: Resizing window sometimes causes client area to render with offset
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: git master (please specify the git hash!)
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2021-09-06 14:22 UTC by Alvin Wong
Modified: 2022-02-04 14:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screenshot of the offset (74.82 KB, image/png)
2021-09-06 14:22 UTC, Alvin Wong
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alvin Wong 2021-09-06 14:22:44 UTC
Created attachment 141336 [details]
screenshot of the offset

To reproduce:

- Grab the corner of the window
- Resize slowly

or (on my Surface Pro):

- Maximize window
- Enter sleep (press power button)
- Turn it back on and log in

Additional Information:

- Does not happen with OpenGL, only with ANGLE
- Happens on both Intel and NVIDIA graphics
- Returns to normal when you move the window
Comment 1 Halla Rempt 2021-09-08 09:30:08 UTC
I don't think there's anything we can do about this: this is Qt painting the window texture in the wrong place?
Comment 2 Alvin Wong 2021-09-08 10:21:58 UTC
I think this needs to be checked against unpatched Qt to see if our patches causes the bug (I think Dmitry added quite a few patches for ANGLE), and with newer Qt to see if there might be upstream patches that we can cherry-pick.

Can you reproduce this with nightly?
Comment 3 Alvin Wong 2022-02-04 14:13:59 UTC
I checked some old versions. 4.0.0 and 4.1.7 does not show this bug. It appears on 4.2.0. (I made sure ANGLE is active.) From this I'll say it may be caused by the upgrade from Qt 5.9 to 5.12, or one of the HDR patches...