Bug 347638 - When I maximize a window, sometime the content appears black
Summary: When I maximize a window, sometime the content appears black
Status: RESOLVED DUPLICATE of bug 324823
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.3.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-12 22:26 UTC by Nico
Modified: 2016-09-02 10:22 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Output of dbus org.kde.KWin /KWin supportInformation (5.40 KB, text/plain)
2015-05-14 20:10 UTC, Nico
Details
qdbus org.kde.KWin /KWin supportInformation (5.44 KB, text/plain)
2015-05-21 19:08 UTC, Frederic Roussel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nico 2015-05-12 22:26:41 UTC
When I maximize a window, sometime the content appears black

Reproducible: Sometimes

Steps to Reproduce:
1.Maximize a window
2.
3.

Actual Results:  
WHen I maximize a window the content is black.
to fix it I have to make the window smaller, then try again

Expected Results:  
see the content of the window when is maximized
Comment 1 Marco Martin 2015-05-14 08:17:53 UTC
if happens to any window is more a problem of kwin.
I've seen it happening once or twice, on nvidia drivers.
what video drivers are you using?
Comment 2 Thomas Lübking 2015-05-14 09:09:25 UTC
I bet your left and his right arm on a combo of nvidia drivers and the maximization effect.
Comment 3 Martin Flöser 2015-05-14 14:54:10 UTC
in order to figure that one out: please provide output of:
qdbus org.kde.KWin /KWin supportInformation
Comment 4 Nico 2015-05-14 20:10:03 UTC
Created attachment 92600 [details]
Output of dbus org.kde.KWin /KWin supportInformation
Comment 5 Frederic Roussel 2015-05-21 19:06:38 UTC
Similar problem for me. I've noticed some additional wrong behavior:
Sometimes the maximizing leads to a black window. Mostly happens when using the top edge action to maximize. I subsequently turned that action off.
The maximizing, using window decoration button, does what it is expected to do, but when restoring the original window size, with the same maximize decoration button, its content is then entirely black.

I will attach the output of qdbus org.kde.KWin /KWin supportInformation for my sstem.
Comment 6 Frederic Roussel 2015-05-21 19:08:30 UTC
Created attachment 92770 [details]
qdbus org.kde.KWin /KWin supportInformation
Comment 7 Thomas Lübking 2015-05-23 11:28:21 UTC
Using the resize effect and resizing a window out of maximization, I reliably get an invalid texture that remains during the resize.

Cutting the clientMaximizedStateChanged signals, the error warning

> kwin_core: 0x20084: Texture state usage warning: Texture 0 is base level inconsistent. Check texture size.

otherwise only occurs once on the begin and the end of the resize and the texture during the resize is valid.

The trigger is crossfading in the maximize effect.
Comment 8 Thomas Lübking 2015-05-23 15:53:32 UTC
add.
> kwin_core: 0x20084: Texture state usage warning: Texture 0 is base level inconsistent. Check texture size.

it's actually NOT texture 0 but a real texture (mostly 13, sometimes 19) id that causes the spam
Comment 9 Martin Flöser 2016-09-02 10:22:23 UTC
I assume it's a duplicate of bug #324823

*** This bug has been marked as a duplicate of bug 324823 ***