[dolphin] [Bug 417230] New: ShowItems does not work if folder is already open
Kai Uwe Broulik
bugzilla_noreply at kde.org
Thu Feb 6 12:49:45 GMT 2020
https://bugs.kde.org/show_bug.cgi?id=417230
Bug ID: 417230
Summary: ShowItems does not work if folder is already open
Product: dolphin
Version: unspecified
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: dolphin-bugs-null at kde.org
Reporter: kde at privat.broulik.de
CC: kfm-devel at kde.org
Target Milestone: ---
SUMMARY
When using the FileManager1 interface it doesn't highlight the files if the
folder is already open and it just witches to it
STEPS TO REPRODUCE
1. In any application that has an "open containing folder" select that option
2. and then do the same for another file in the same folder
3.
OBSERVED RESULT
Dolphin comes to the front and switches tabs, if necessary, but doesn't
highlight the file in the second attempt
EXPECTED RESULT
Dolphin always highlights the file
SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.18
KDE Frameworks Version: 5.66.0
Qt Version: 5.13.2
Dolphin master
ADDITIONAL INFORMATION
In DolphinTabWidget::openFiles it assumes openDirectories will open new tabs,
so it only marks the URL selection for the newly opened tabs. This assumption
is incorrect as Dolphin might reuse tabs when the folder is already open.
Even then, markUrlsAsSelected does nothing when the folder is already opened.
The selection seems to only be used when the folder finishes loading, calls
made after that only change a variable without updating the actual selection.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the kfm-devel
mailing list