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

2023-10-17 Thread Fabian Arndt
https://bugs.kde.org/show_bug.cgi?id=473999

Fabian Arndt  changed:

   What|Removed |Added

   See Also||https://bugs.kde.org/show_b
   ||ug.cgi?id=430177

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

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

2023-10-17 Thread Fabian Arndt
https://bugs.kde.org/show_bug.cgi?id=473999

Fabian Arndt  changed:

   What|Removed |Added

   See Also||https://bugs.kde.org/show_b
   ||ug.cgi?id=386317

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

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

2023-10-16 Thread Fabian Arndt
https://bugs.kde.org/show_bug.cgi?id=473999

--- Comment #7 from Fabian Arndt  ---
Created attachment 162358
  --> https://bugs.kde.org/attachment.cgi?id=162358=edit
The subfolder opens at at the wrong spot and can't be closed

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

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

2023-10-16 Thread Fabian Arndt
https://bugs.kde.org/show_bug.cgi?id=473999

--- Comment #6 from Fabian Arndt  ---
Created attachment 162357
  --> https://bugs.kde.org/attachment.cgi?id=162357=edit
Ordering twice fixes it - but the open subfolders are not preserved

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

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

2023-10-16 Thread Fabian Arndt
https://bugs.kde.org/show_bug.cgi?id=473999

--- Comment #5 from Fabian Arndt  ---
Dolphin 23.08.1

If you open a folder, it is in alphabetical order - it should be by size.
This might be the reason for that behavior.

Also the opened subfolders aren't preserved, like they are if you use other
ordering types.

If you sort the folder twice, the order is different and it works as expected.
Some folders seem to force a refresh the order and it is working afterwards
(like the ".git" folder in my case).
I try to upload some recordings of the behavior.

One more thing: if you close the folder, the subfolder stays open and you have
to refresh.

This is a 15-minutes bug for sure.

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

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

2023-10-16 Thread Fabian Arndt
https://bugs.kde.org/show_bug.cgi?id=473999

--- Comment #4 from Fabian Arndt  ---
Created attachment 162356
  --> https://bugs.kde.org/attachment.cgi?id=162356=edit
Second folder "flutter" opened, subfolder below "docs"

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

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

2023-10-16 Thread Fabian Arndt
https://bugs.kde.org/show_bug.cgi?id=473999

Fabian Arndt  changed:

   What|Removed |Added

 CC||fabian.ar...@root-core.net

--- Comment #3 from Fabian Arndt  ---
Created attachment 162355
  --> https://bugs.kde.org/attachment.cgi?id=162355=edit
Folder "flatpak" opened, subfolder below ".git"

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

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

2023-09-07 Thread Metz
https://bugs.kde.org/show_bug.cgi?id=473999

--- Comment #2 from Metz  ---
(In reply to Metz from comment #1)
> In other words, always the next smaller folder in item amount is used as

Or, it is using the position in the folder list that the clicked folder would
be if the sorting by size would show correctly. E.g. Folder 1 with 5 Items
would be at the bottom but there is Folder 4 with 4 items (in the wrong view)
and it uses that instead.

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

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

2023-09-06 Thread Metz
https://bugs.kde.org/show_bug.cgi?id=473999

Metz  changed:

   What|Removed |Added

 CC||metzelket...@gmail.com
 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED

--- Comment #1 from Metz  ---
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 watching all bug changes.