[kleopatra] [Bug 464229] mainwindow icon bug

Friedrich W. H. Kossebau bugzilla_noreply at kde.org
Fri Jan 13 09:05:54 GMT 2023


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

Friedrich W. H. Kossebau <kossebau at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kossebau at kde.org

--- Comment #1 from Friedrich W. H. Kossebau <kossebau at kde.org> ---
As commented on irc, I suspect the cause is that the window manager used here
is an X11 one which only fetches the window icons from the X properties
directly, does not map the _KDE_NET_WM_DESKTOP_FILE to a desktop file to fetch
metadata like the app icon.

For those one still needs to set the window icon directly, e.g. by adding
app.setWindowIcon(QIcon::fromTheme(QStringLiteral("kleopatra"),
app.windowIcon())); 
to  https://invent.kde.org/pim/kleopatra/-/blob/master/src/main.cpp#L128

While at it, all the app metadata setting is better moved to before  the  "//
Initialize GpgME" section, otherwise e.g. the text in the warning message will
not be translated properly I expect as well as the window again missing needed
metadata to be nicely shown as Kleopatra window.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Kdepim-bugs mailing list