Created attachment 138566 [details] Screenshot SUMMARY A black box is drawn around the latte dock whenever latte dock is started on wayland (see screenshot). Sometimes the dock itself is rendered above the black area. On other occasions the dock itself is hidden below the black box. Desktop windows are always behind the black box. STEPS TO REPRODUCE 1. Run plasma session in wayland. 2. Start latte dock with any layout. OBSERVED RESULT Black box as shown in the screenshot. In the screenshot the desktop image is not drawn correctly and black as well, making it hard to see the latte black box. It starts where the Kate window is clipped at the bottom. EXPECTED RESULT No black box. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Manjaro Linux (available in About System) KDE Plasma Version: 5.21.5 KDE Frameworks Version: 5.82.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION
It shown permanently or after a while disappears?
(In reply to Michail Vourlakos from comment #1) > It shown permanently or after a while disappears? No, it stays permanently. Tried to disable all effects in the settings of the dock, but didn't change anything.
What is your graphics driver amd compositor settings? I can not reproduce this in my system
Yes, most probably this is a wayland issue further down the stack. Latte dock works perfectly with X11 on the same system. It is a system with a nvidia (proprietary) driver. I know this setup is highly experimental. The support improved a lot over the past few plasma releases so that the shell is mostly usable nowadays. This latte rendering issue is one of the more obvious showstoppers on my system. It would be great if we could track down the root cause of it. I haven't found any other program having similar rendering issues. Tried different compositor settings (OpenGL 2.0 and 3.1 both have this issue, Xrender does not work at all). Also tried it with latest KDE built from source and latte shows the same behavior.
(In reply to Simon Spinner from comment #4) > Yes, most probably this is a wayland issue further down the stack. Latte > dock works perfectly with X11 on the same system. It is a system with a > nvidia (proprietary) driver. I know this setup is highly experimental. The > support improved a lot over the past few plasma releases so that the shell > is mostly usable nowadays. This latte rendering issue is one of the more > obvious showstoppers on my system. It would be great if we could track down > the root cause of it. I haven't found any other program having similar > rendering issues. > > Tried different compositor settings (OpenGL 2.0 and 3.1 both have this > issue, Xrender does not work at all). Also tried it with latest KDE built > from source and latte shows the same behavior. probably something down the Qt stack, no idea what...
With a fix in kwin for bug 437573, the behavior of latte is now more consistent. The dock is always rendered in the foreground and visible. The black box behind the dock stays though hiding any window in that area (see second screenshot). Could it be that the alpha channel is not handled correctly for the latte dock surface and we are seeing the areas that should be transparent as a black area instead?
Created attachment 138740 [details] Screenshot with fix for 437573
(In reply to Simon Spinner from comment #7) > > Could it be that the alpha channel is not handled correctly for the latte > dock surface and we are seeing the areas that should be transparent as a > black area instead? yes, that is the case but no idea why EGLStreams do not like it. Latte specifies its transparent background at: https://invent.kde.org/plasma/latte-dock/-/blob/master/app/view/view.cpp#L99
*** This bug has been marked as a duplicate of bug 437573 ***
(In reply to Michail Vourlakos from comment #8) > (In reply to Simon Spinner from comment #7) > > > > Could it be that the alpha channel is not handled correctly for the latte > > dock surface and we are seeing the areas that should be transparent as a > > black area instead? > > yes, that is the case but no idea why EGLStreams do not like it. Latte > specifies its transparent background at: > https://invent.kde.org/plasma/latte-dock/-/blob/master/app/view/view.cpp#L99 I think it should not be specific to latte dock. I have already sent bug reports because all my transparent plasma themes are broken and turn black (mainly the task bar) with eglstreams.
(In reply to noname from comment #10) > (In reply to Michail Vourlakos from comment #8) > > (In reply to Simon Spinner from comment #7) > > > > > > Could it be that the alpha channel is not handled correctly for the latte > > > dock surface and we are seeing the areas that should be transparent as a > > > black area instead? > > > > yes, that is the case but no idea why EGLStreams do not like it. Latte > > specifies its transparent background at: > > https://invent.kde.org/plasma/latte-dock/-/blob/master/app/view/view.cpp#L99 > > > > I think it should not be specific to latte dock. > I have already sent bug reports because all my transparent plasma themes are > broken and turn black (mainly the task bar) with eglstreams. It isnt follow the mentioned bug report