Bug 448188 - dbus Interface ShowItems does not select if active tab is not last tab.
Summary: dbus Interface ShowItems does not select if active tab is not last tab.
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 24.04.90
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-10 01:48 UTC by David
Modified: 2024-05-23 06:13 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David 2022-01-10 01:48:35 UTC
SUMMARY
When calling the org.freedesktop.FileManager1.ShowItems to open a folder and select a file inside it, Dolphin will open the folder, but fail to select the item if the active tab is not the rightmost tab.

STEPS TO REPRODUCE
1. Open an instance of dolphin, and open two different tabs (not the root directory, for this example)
2. Run the following command: `dbus-send --session --dest=org.freedesktop.FileManager1 --type=method_call /org/freedesktop/FileManager1 org.freedesktop.FileManager1.ShowItems array:string:"file:///etc" string:""`
(/etc/ is chosen completely arbitrarily)

OBSERVED RESULT
If the left tab was selected before running the command, the root directory is opened in a new tab, but no folder/file is selected.

EXPECTED RESULT
If the right tab was selected, the root directory is opened in a new tab, and the /etc/ folder is selected.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
Linux Kernel: 5.15.12-1
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.2
Comment 1 David 2024-05-23 06:13:40 UTC
This bug is still persistent for me, now running NixOS Unstable 24.05.20240521.5710852:
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1
Kernel Version: 6.9.1 (64-bit)
Graphics Platform: Wayland