Bug 419241

Summary: 'Z-A'/'Modifed/Newest First' Toolbar button for sort direction won't disengage
Product: [Applications] dolphin Reporter: Clinton <clintonthegeek>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: kfm-devel, mail
Priority: NOR    
Version: 19.12.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: An animation displaying the problem.

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.