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

Kai Uwe Broulik <k...@privat.broulik.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-desktop/-/commit/
                   |                            |a2ed9f88c16a8b8be504c1a0b9c
                   |                            |7a93b8b65415f
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #4 from Kai Uwe Broulik <k...@privat.broulik.de> ---
Git commit a2ed9f88c16a8b8be504c1a0b9c7a93b8b65415f by Kai Uwe Broulik.
Committed on 22/04/2025 at 13:46.
Pushed by broulik into branch 'master'.

applets/trash: Use KIO CommandLauncherJob to open trash

QDesktopServices::openUrl (through Qt.openUrlExternally) requests a
token from the focus window. When trash is clicked in a panel, the panel
doesn't have focus, resulting in no token being created.

KProcessRunner used by KIO CommandLauncherJob as a fallback takes
whatever first window in qApp making activation work.

While at it, also use KNotificationJobUiDelegate for proper error
reporting in case opening trash fails.

M  +1    -1    applets/trash/package/contents/ui/main.qml
M  +1    -0    applets/trash/plugin/CMakeLists.txt
M  +10   -0    applets/trash/plugin/trash.cpp
M  +1    -0    applets/trash/plugin/trash.h

https://invent.kde.org/plasma/plasma-desktop/-/commit/a2ed9f88c16a8b8be504c1a0b9c7a93b8b65415f

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

Reply via email to