Skip to content

DBus activation with filemanager iface

Andrey Butirsky requested to merge work/bam/xdg_token into master

In Dolphin on Wayland currently, if you right clicks a file and create a zip file from it, Dolphin makes a new window.
What we want to happen is Dolphin to focus the window we have with the file selected.

We need to:
[*] patch Dolphin's dbusinterface.cpp to call KWindowSystem::setCurrentXdgActivationToken() with the startupID

[*] patch KIO::highlightInFileManager to call KWindowSystem::requestXdgActivationToken(..) and set the result as the OpenFileManagerWindowJob's startupID

This patch implements the second part of the task.

system/dolphin!261 (merged)

Edited by Andrey Butirsky

Merge request reports