So basically i had fedora 44 cosmic spin installed . Excited to try out the future of Linux in cosmic as you yall know being the common talk today.
I also installed KDE, seeing its actually stable and usable for now ( i planned to use this for my daily driver)
So when the issue was that when i switched between these 2 DEs and opened chrome, in the case of KDE, i would get almost total black on the top menu bars, with the tabs and close minimize etc button.
Now if i switch to cosmic, i get another glitched variant with windows 95 type glitched blue colors almost on the same top bar.
After debugging the issue with gpt 5.6 sol, i figured out the issue was the chrome themes.
Cosmic uses GTK theme, but KDE uses QT theme. But chrome doesnt have a automatic switcher or detector for compatible themes, so the theme u log out from on one DE was being used for example in KDE, which was incorrectly to be the GTK theme.
The solution simply is to go to
chrome://settings/appearance
For KDE : QT
For Cosmic : KDE
Thats it, that should fix this.
Please note that if u are directly logging out and switching DEs instead of a complete reboot, you may get it randomly working on either using the wrong theme, since apparently some background processes that allow theme to render properly still are running . But this is not predictable . A reboot will always cause glitchy menu bars when using wrong themes.
Hopefully if someone else stumbles on this issue, they find this and save their time.
I have already submitted a feature request to chromium to add this sort of feature. This can be classified both as a bug and feature, since i imagine that installing multiple DEs is common for Linux, making this functionality needed.
Also first time , but hopefully not the last time posting here.
Peace