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

            Bug ID: 448188
           Summary: dbus Interface ShowItems does not select if active tab
                    is not last tab.
           Product: dolphin
           Version: 21.12.0
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: dolphin-bugs-n...@kde.org
          Reporter: davidtia...@gmail.com
                CC: kfm-de...@kde.org
  Target Milestone: ---

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

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

Reply via email to