Bug 419241 - 'Z-A'/'Modifed/Newest First' Toolbar button for sort direction won't disengage
Summary: 'Z-A'/'Modifed/Newest First' Toolbar button for sort direction won't disengage
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 19.12.3
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-25 17:33 UTC by Clinton
Modified: 2020-04-14 09:30 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
An animation displaying the problem. (1.84 MB, image/gif)
2020-03-25 17:33 UTC, Clinton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Clinton 2020-03-25 17:33:50 UTC
Created attachment 127014 [details]
An animation displaying the problem.

Adding the "Z-A" or "Modified First" or "Newest First" toggle onto the toolbar enables the user to reverse the sort direction of their files, depending on which sort mode is active in the folder.

However, once activated, the toolbar will not allow the disengagement of the option to return to regular A-Z, Modified Last, or Newest Last sort direction.


STEPS TO REPRODUCE
1. Customize the Dolphin toolbar by adding the 'Z-A' button (assuming the current folder is sorted alphabetically).
2. Use the toggle to reverse direction for alphabetic sort.
3. Try to return to regular A-Z sorting without changing display mode to "Details View" and clicking the header.

OBSERVED RESULT
You should be able to easily change direction of sort with the toolbar toggle.

EXPECTED RESULT
You can only reverse direction, you can't return to normal sort.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Julian Steinmann 2020-04-14 09:30:03 UTC
I can reproduce this behavior using Dolphin 20.07.70 - probably one would have to merge the A-Z and Z-A actions into a single action in code and then make it toggleable.