Bug 365824

Summary: krunner, launcher and applet windows just blink and won't show up
Product: [Plasma] kwin Reporter: altosch <ales>
Component: compositingAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: ales, bugseforuns, egorov_egor, notuxius
Priority: NOR    
Version: 5.6.5   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=350826
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: qdbus org.kde.KWin /KWin supportInformation

Description altosch 2016-07-18 18:21:39 UTC
When any window is on the desktop I can't use krunner, application launcher, application menu and applet windows (e.g. Networks, Calendar, ...). All of them just blink and won't show up. Only Application Dashboard works normally. 

If all windows are minimized (nothing on the desktop) everything works again.

Reproducible: Always

Steps to Reproduce:
1. click on an icon on system tray or press ALT+F2 to show krunner or ALT+F1 to show launcher

Actual Results:  
a window just shortly blinks and nothing more happens

Expected Results:  
a window is shown

Kubuntu: 16.04
KDE Plasma: 5.6.5
KDE Frameworks: 5.23.0
Qt: 5.5.1
Kernel: 4.4.0-28-generic
OS Type: 64-bit
Comment 1 Thomas Lübking 2016-07-19 08:20:02 UTC
please attach the output of "qdbus org.kde.KWin /KWin supportInformation" and ensure this doesn't happen w/ suspended compositor (SHIFT+Alt+F12)

This only affects plasma windows, ie. kwrite still shows up fine?
Comment 2 altosch 2016-07-19 20:43:46 UTC
Created attachment 100184 [details]
qdbus org.kde.KWin /KWin supportInformation
Comment 3 altosch 2016-07-19 20:50:29 UTC
It affects just windows that should be shown over running app in a normal window. For instance if I have maximized Firefox and click on time on bottom right to show calendar it won't show. But if I minimize all running apps (empty desktop) it works and the calendar is shown as expected.
Comment 4 Thomas Lübking 2016-07-19 21:49:16 UTC
Something tells me this is related to bug #350826 resp. bug #365685
Comment 5 Martin Flöser 2016-07-20 05:40:02 UTC
> OpenGL version string: 3.3 (Core Profile) Mesa 11.2.0

Please try OpenGL 2 compositor.
Comment 6 altosch 2016-07-20 20:15:07 UTC
Yes, that was it. I switched to OpenGL 2 and the problem is gone.

The setting is here: System Settings / Display / Compositor / Rendering backend / OpenGL2.0
Then I wanted to log out and log in to apply change but Plasma got frozen (just black screen and mouse cursor) so I had to restart the sddm service from console.

Thank you for your help.
Comment 7 altosch 2016-07-20 20:23:36 UTC
Correction: krunner still doesn't work. It behaves like I described before. Just blinks and nothing more.
Comment 8 Thomas Lübking 2016-07-20 20:25:50 UTC
Please check against the xrender compositor, but

> if I minimize all running apps (empty desktop) it works and the calendar is shown as expected

really makes me believe it's the window type juggling, notably since only QML clients seem affected.
Comment 9 altosch 2016-07-21 07:21:40 UTC
With xrender krunner shows but looses focus (I have to click inside to type), draws border around the close button and can't be closed with Esc. On top of it I switched back to OpenGL 2 which worked before and it stopped working too.
Comment 10 Alexander Mentyu 2018-04-09 13:36:09 UTC
Is this issue still relevant for you?
Comment 11 altosch 2018-04-12 06:02:39 UTC
(In reply to Alexander Mentyu from comment #10)
> Is this issue still relevant for you?

No. That was a long time ago. I think it could be closed. Thanks.