Bug 385588

Summary: Sorting and groupping items by rating, tags, comments causes invalid selection when navigating back to folder
Product: [Applications] dolphin Reporter: aldo.mateli
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: minor CC: elvis.angelaccio, mail, sebastian.arndt95
Priority: NOR    
Version: 17.08.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description aldo.mateli 2017-10-11 09:43:38 UTC
When you navigate back and forth in directories with metadata sorting+groupping, dolphin view selects the wrong items.

Reproduce:

1. Have a directory groupped by either tags, comments or rating.
2. Make sure that the item that would be shown first if this custom sorting would not be active, is not first. Similar to the screenshots, "Apps" folder is on the second group and hence not ordered first in this group by rating. This is the important step.
3. Navigate to a folder within this one and navigate back.

Expected: Only one directory is selected
Actual: All items between this folder and the "first" (in the screenshots "Apps" folder") are selected.

Note that this does not occurr when you group by name or type etc.

Images demoing the bug: https://imgur.com/a/DbmHL
Comment 1 aldo.mateli 2017-10-11 11:22:11 UTC
Apparently this also happens without groupping as well.
Comment 2 Sebastian Arndt 2017-10-13 12:53:33 UTC
(In reply to aldo.mateli from comment #1)
> Apparently this also happens without groupping as well.

Hello Aldo,

I was able to reproduce this issue. Maybe I'll find the time to take a look into this.
Comment 3 Julian Steinmann 2018-06-09 16:32:14 UTC
Thanks for reporting this bug, I can still reproduce the behavior with Dolphin 18.04.2 -> confirmed. Sebastian, if you already found time to look into this issue it'd be great if you could share your findings :)
Comment 4 Sebastian Arndt 2018-06-16 13:11:43 UTC
(In reply to Julian Schraner from comment #3)
> Thanks for reporting this bug, I can still reproduce the behavior with
> Dolphin 18.04.2 -> confirmed. Sebastian, if you already found time to look
> into this issue it'd be great if you could share your findings :)

Hi there,

I sadly have'nt had the time yet. But I'm really keen on help improving my favorite software. I started to get into the layout of the dolphin code, to track down, where I might find the issue. If you'ld give me some time (like 2 weeks), I might be able to help.

Sincerely 
Sebastian
Comment 5 Julian Steinmann 2018-06-16 14:35:09 UTC
That sounds fantastic! Take yourself the time needed & we are of course always open to any questions (if you have problems, drop us a message in #kde-devel).
Comment 6 aldo.mateli 2018-11-20 18:06:46 UTC

*** This bug has been marked as a duplicate of bug 352296 ***