Created attachment 1611983 [details] start spectacle direcly without qdbus Description of problem: if launch spectacle from qdbus not load qt theme Version-Release number of selected component (if applicable): How reproducible: $ qdbus org.kde.Spectacle / StartAgent Steps to Reproduce: 1. run spectacle from .desktop or direcly from qdbus (is same) Actual results: spectacle load default (orible) qt theme Expected results: spectacle must load selected theme from kde settings
Created attachment 1611984 [details] start from qdbus
Happens in Fedora 31 beta when launching any qt application from qdbus. This happens for example when opening a folder in dolphin from a flatpak application, the dolphin window will be unthemed. Also happens when launching dolphin by selecting a filesystem folder that exists on your system from krunner. Launching dolphin normally does not cause this issue.
That said, this almost certainly isn't a spectacle issue (ie, problem lies elsewhere). One possibility: dbus-activated applications may not inherit (all? any?) user environment variables
This bug shipped with Fedora 31. Launching from the KDE Application Menu causes it to lose theme, so it's very easy to run into.
Related bug 1754395?
Yes. Same bug.
I'll mark as dup *** This bug has been marked as a duplicate of bug 1754395 ***