Bug 378710

Summary: OpenGL visual glitches for task switcher, desktop grid and window tiling.
Product: [Plasma] kwin Reporter: Szymon Łągiewka <bugs-kde>
Component: compositingAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.10.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Szymon Łągiewka 2017-04-12 18:12:47 UTC
For some time now (before 5.9.4 at least, update did not change anything) there are some glitches that I (and turns out not only me https://www.reddit.com/r/kde/comments/5zij0p/a_visual_glitch_in_the_task_switcher/) have found inf Task Switcher, Desktop Grid effect and when a window is being dragged for tiling into a specific area.

This happens when OpenGL 2.0/3.1 was selected. When I tried XRender (as the reddit entry suggests) and everything works as it used to. That's why I'm submitting the bug against KWin.

Screenshots: http://imgur.com/a/udzyD

For Task Switcher:
Task switching looks like on the screenshots 1 and 3. Expected behaviour is to have background and selection on the switcher visible. 

For Desktop Grid:
The buttons (or at least their space) for adjusting the number of virtual desktops is covered with a corner of a desktop. It can be seen on screenshot number 2. 'Browse' text is from full screen Spotify window. Sometimes there is a top panel with a part of the screen visible (so upper-left corner).

For window tiling:
When a window is dragged to an edge of the screen (no matter which, top/right/left) the area that is going to be covered with resized window should be painted (i.e. take the left half of the screen, upper-left quarter etc.). This does not happen and the only effect is shown on the last screenshot from the gallery.
Comment 1 Szymon Łągiewka 2017-06-04 19:44:09 UTC
Any news on that? With my brief sessions on Wayland I can tell that this bug does not occur there.
Comment 2 Szymon Łągiewka 2017-06-14 14:13:50 UTC
I made a quick video that shows all of the issues in one take.
https://youtu.be/tZqx2mgY1Bc
Comment 3 Szymon Łągiewka 2017-06-15 11:43:00 UTC
Changing EGL to GLX in kwinrc seems to fix the issue.