Bug 396046 - Incorrect window refresh on maximize
Summary: Incorrect window refresh on maximize
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (other bugs)
Version First Reported In: 5.12.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-01 11:20 UTC by Ilya Bizyaev
Modified: 2018-07-05 08:46 UTC (History)
0 users

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


Attachments
Incorrect window refresh on maximize (3.04 MB, video/mp4)
2018-07-01 11:20 UTC, Ilya Bizyaev
Details
Basic Qt Quick test program (1.05 KB, application/gzip)
2018-07-01 11:23 UTC, Ilya Bizyaev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ilya Bizyaev 2018-07-01 11:20:24 UTC
Created attachment 113673 [details]
Incorrect window refresh on maximize

The issue occurs when maximizing some programs, e.g. Firefox and a minimal Qt Quick test program (attached), on both X and Wayland. Disabling compositing has no effect.

I think something's wrong about events that programs receive from KWin on maximization, as nothing like that happens on resize.

The bug is common, easy to notice and was present at least as of 5.8.
Comment 1 Ilya Bizyaev 2018-07-01 11:23:10 UTC
Created attachment 113674 [details]
Basic Qt Quick test program

I used Qt 5.10 from qt.io to build
Comment 2 Martin Flöser 2018-07-01 13:52:57 UTC
I'm sorry but if the issue persists with compositing disabled the issue cannot be in KWin.
Comment 3 Ilya Bizyaev 2018-07-01 14:31:01 UTC
I tested in IceWM and the problem is indeed reproducible there.

Where could it be? Qt/GTK?
Comment 4 Ilya Bizyaev 2018-07-05 08:46:19 UTC
Firefox screenshot by another person for completeness: https://i.imgur.com/ZlE1wEH.jpg