Bug 419333 - [Wayland] Titlebar of a window turns black
Summary: [Wayland] Titlebar of a window turns black
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: 5.18.3
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-28 12:43 UTC by Stefan K.
Modified: 2022-02-11 08:31 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan K. 2020-03-28 12:43:27 UTC
SUMMARY

The titlebar of an application turns into a black box. You can still click the buttons or move it around. I am using the default breeze (light) appearance.


STEPS TO REPRODUCE
1. So far I only observed this on Xwayland clients and if it is "raised(?)". The german version says "Fensterheber" - so you can only see its titlebar/window decoration. I do not know what causes it, yet.


OBSERVED RESULT

The titlebar is rerendered correctly if I resize the window. Not using the maximize or minimize buttons.


EXPECTED RESULT

Obviously to keep its titlebar intact :)


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE neon (custom kernel 5.4.24)
KDE Plasma Version: 5.18.3
KDE Frameworks Version: 5.68.0
Qt Version: 5.14.1
Comment 1 Vlad Zahorodnii 2020-03-30 13:15:19 UTC
Can you reproduce this bug on X11?
Comment 2 Stefan K. 2020-03-31 21:22:04 UTC
I have been testing wayland for a few weeks to see how stable it got. I started with an empty kde configuration folder. Before that I used X11 for years (and occasional wayland tests) and have never encountered "black boxes". I may check, if I can reproduce it now on X11? But in the past (on neon bionic) it never happened.
Comment 3 Stefan K. 2020-04-19 12:42:34 UTC
There is a way not to get the titlebar black but make it disappear instead. I am Houdini ;)

I changed the window title font to something else and the "raised" window titlebar - of Thunderbird/Xwayland in my case - became invisible. If I doubleclick the title bar (to get the window contents back) it is visible again.

Sometimes this font changing crash plasmashell and leave the titlebar visible. I can upload a crashdump if you are interested?
Comment 4 David Redondo 2022-01-19 15:25:14 UTC
Can you still see this behavior. In the past I saw flickering titlebars but not anymore
Comment 5 Stefan K. 2022-01-27 21:04:36 UTC
I haven´t seen it for a long time, too. I guess it´s fixed for XWayland. Native windows don´t support it (yet).
Comment 6 Bug Janitor Service 2022-02-11 04:37:04 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!