https://bugs.kde.org/show_bug.cgi?id=374272

Harald Sitter <sit...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unspecified                 |3.0
            Product|neon                        |partitionmanager
           Assignee|neon-b...@kde.org           |andr...@stikonas.eu
          Component|Packages User Edition       |general

--- Comment #5 from Harald Sitter <sit...@kde.org> ---
Ah yes, I actually discussed this on IRC a couple of weeks ago.

The flag [1] indeed is causing the problem. Specifically, partitionmanager has
code [2] that would automatically restart itself as root supposedly preserving
the environment of the user so that Qt can load the correct theme plugin. This
code however only runs when not already root. So the flag in the desktop file
effectively renders the auto-root feature moot as it never gets used when the
application started via the desktop file (which would be the default way).
Ultimately this results in no theme plugin getting loaded as partitionmanager
is running with super minimal environment variables set making Qt blissfully
unaware of what theme to load.

[1]
https://cgit.kde.org/partitionmanager.git/tree/src/org.kde.PartitionManager.desktop?h=v3.0.0
https://cgit.kde.org/partitionmanager.git/tree/src/util/guihelpers.cpp?h=v3.0.0#n52

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to