[dolphin] [Bug 473999] Folder expanding on wrong position

Metz bugzilla_noreply at kde.org
Wed Sep 6 15:17:24 BST 2023


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

Metz <metzelketzer at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |metzelketzer at gmail.com
     Ever confirmed|0                           |1
             Status|REPORTED                    |CONFIRMED

--- Comment #1 from Metz <metzelketzer at gmail.com> ---
I can confirm this bug on Dolphin 23.08.0-1 and i think nailed it down to be
caused by the amount of items in the folder.

Initial situation. Sort is set to Name. i use empty files as items.
Folder 1 (2 Items)
Folder 2 (1 Item)
Folder 3 (3 Items)
Folder 4 (4 Items)

Now set sort to Size. dolphin seems to sort correctly at first:
Folder 2 (1 Item)
Folder 1 (2 Items)
Folder 3 (3 Items)
Folder 4 (4 Items)

In this view the folders open as they should.

Now refresh (F5). View resets to Initial Situation and Bug is triggered.

Now the funny part.
Clicking Folder 1 to expand, instead expands Folder 2 and shows content of
Folder 1.

Took me a second to realize why, but here is the kicker:
Increase item amount in Folder 1 to 4 and now Folder 3 (3 items) expands.
Increase item amount in Folder 1 to 5 and now Folder 4 (4 items) expands.

In other words, always the next smaller folder in item amount is used as
"target"

a Folder with 2 items expands a folder with 1 item.
a Folder with 3 items expands a folder with 2 items.
etc.

that only works _downwards_ though. e.g. Folder 4 never expands Folder 1, no
matter the amount of items.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list