Bug 430030

Summary: Dolphin appends extra file to a selection
Product: [Applications] dolphin Reporter: Scott <shagooserver>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: kfm-devel, meven29, nate
Priority: NOR    
Version: 20.08.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Scott 2020-12-05 01:58:31 UTC
SUMMARY
Dolphin is automatically selecting a (related) file when another file is selected.

STEPS TO REPRODUCE
In my usage scenario what I am doing is combining a number of wav files into a dts file and then muxing the resulting dts file with a video file, typically a h264 file to create an m2ts file. After completing this operation I spot check the m2ts file for completeness before moving it to a separate storage folder. After this I delete all of the component files that are either direct or indirect components of the m2ts file, all of which are in different folders under a common higher level folder.

When I select some of these component files to delete Dolphin is also selecting the finished file so when I press delete the finished file is scheduled for deletion as well as the selected file(s). There is an element of randomness here, it does not every time although most times and it seems not to matter which component files I select.

OBSERVED RESULT
By selecting one or more files in a directory Dolphin also appends another recently used file in another directory. So without carefully checking the delete list I end up deleting my finished work.

EXPECTED RESULT
That only the files I click on are selected.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 20.10
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.14.2
Kernel Version: 5.8.0-32-generic
OS Type: 64-bit
Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor
Memory: 15.6 GiB of RAM
Graphics Processor: GeForce GTX 1080/PCIe/SSE2 

ADDITIONAL INFORMATION
Is a recent occurrence, not seen prior to updates since about 25/11/20.
Comment 1 Méven Car 2020-12-07 07:21:18 UTC
Are you using tabs or split views ?
Are you using the details view with expanded folders ?

Could you extract small minimal steps to reproduce the bug ?

> When I select some of these component files to delete Dolphin is also selecting the finished file

Do you know if the file was already selected in the background, or if the file got selected the same time you selected the new files ?
Comment 2 Scott 2020-12-07 08:23:04 UTC
I am using 2 Dolphin windows with each window containing 2 tabs.
I am using detail view.
 Dir A
|-----Dir B completed m2ts file
|
|h264
|dts file

--------------------------------------------------------------
 Dir C
|wave files

The above is an abbreviation as requested. The wave files in Dir C are the input for the creation of the dts file in Dir A which is then muxed with the h264 file to create the m2ts file in Dir B which is a subdirectory of Dir A.

The problem occurs if I mistakenly mux the m2ts file into Dir A then move it to Dir B manually.

-----------------------------------------------------------------------

Once the move is completed I might for example click on one of the waves files in Dir C and shift+click all of them and then right click delete. As has happened historically once I click on a new file the previously selected file should be deselected but the new m2ts file is being highlighted as well.

I hope this is the detail you were after?
Comment 3 Scott 2020-12-09 01:40:10 UTC
After a PC restart this problem has now resolved itself and this bug can be closed.
Comment 4 Nate Graham 2020-12-09 03:23:28 UTC
Ok thanks!