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

Dmitry Nezhevenko <d...@inhex.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |d...@inhex.net

--- Comment #2 from Dmitry Nezhevenko <d...@inhex.net> ---
It looks like ktraderclient5 completely ignores
~/.local/share/applications/mimeapps.list.
That's actually why configuring preferred email client via systemsettings5 is
ignored by xdg-open.

dion@debpad:~% export XDG_UTILS_DEBUG_LEVEL=2 
dion@debpad:~% xdg-mime query default "x-scheme-handler/mailto"
Running KDE trader query "x-scheme-handler/mailto" mimetype and "Application"
servicetype
org.kde.kmail.desktop

dion@debpad:~% xdg-mime default mutt_terminal.desktop x-scheme-handler/mailto   
make_default_kde: No kde runtime detected
make_default_generic mutt_terminal.desktop x-scheme-handler/mailto
Updating /home/dion/.local/share/applications/mimeapps.list

dion@debpad:~% xdg-mime query default "x-scheme-handler/mailto"              
Running KDE trader query "x-scheme-handler/mailto" mimetype and "Application"
servicetype
org.kde.kmail.desktop

And now let's lie to xdg-mime that we don't have KDE:

dion@debpad:~% KDE_SESSION_VERSION= xdg-mime query default
"x-scheme-handler/mailto"
Checking /home/dion/.local/share/applications/mimeapps.list
mutt_terminal.desktop

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

Reply via email to