When opening and closing a Qt application, settings are automatically saved by Qt so the layout of the application stays the same when they are changed by the user. If breeze.so is loaded by Qt, then this saving step saves incorrect values which causes an empty layout to be loaded next time, all toolbars and dock widgets will have disappeared. STEPS TO REPRODUCE 1. Open a Qt application with toolbars 2. Close it 3. Open it again OBSERVED RESULT Qt layout is empty, all toolbars and dock widgets are hidden. Removing the settings fix the issue. EXPECTED RESULT Application should look the same as before SOFTWARE/OS VERSIONS Linux/KDE Plasma: ArchLinux KDE Plasma Version: 5.14.4 KDE Frameworks Version: ? Qt Version: 5.12.0 Preventing breeze.so to load prevent the issue Using breeze.so from 5.12.4 (Ubuntu current version) prevent the issue. for reference : https://gitlab.kitware.com/paraview/paraview/issues/18659
Looks like it is related to using setStyleSheet. See here for reference : https://gitlab.kitware.com/paraview/paraview/merge_requests/2963
Is this still happening with Breeze 5.21? If so, can you provide an example of an application that can be used to reproduce the issue? Thanks!
Tbh I have no idea. You can try with an old version of ParaView, eg ParaView 5.5.
I tried with the latest version of ParaView available in my distro (5.8) and couldn't reproduce the bug. Let's call it fixed. :)
We fixed it in ParaView here, way before ParaView 5.8, by not using setStyleSheet. https://gitlab.kitware.com/paraview/paraview/-/merge_requests/2963 I'm fine with closing as we are not impacted anymore.
Yeah in general using setStyleSheet is a good way to break things. :) See also Bug 354627.