Review Request 126467: Add Case Sensitive Sorting to Dolphin

arnav dhamija arnav.dhamija at gmail.com
Wed Dec 23 07:23:58 GMT 2015



On Dec. 22, 2015, 2:47 p.m., arnav dhamija wrote:
> > Also perhaps add a screenshot

I have attached the screenshot above. The two radio buttons will be disabled if the Enable Extra Sorting Features checkbox is left unchecked. So far, I have only coded the GUI and I haven't set up the signals and slots for this to work, but I will do so after feedback from the usability team.


- arnav


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/126467/#review89926
-----------------------------------------------------------


On Dec. 23, 2015, 7:21 a.m., arnav dhamija wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/126467/
> -----------------------------------------------------------
> 
> (Updated Dec. 23, 2015, 7:21 a.m.)
> 
> 
> Review request for Dolphin.
> 
> 
> Bugs: https://bugs.kde.org/show_bug.cgi?id=148550
>     https://bugs.kde.org/show_bug.cgi?id=https://bugs.kde.org/show_bug.cgi?id=148550
> 
> 
> Repository: dolphin
> 
> 
> Description
> -------
> 
> See also: https://git.reviewboard.kde.org/r/112330/
> 
> This patch was redone because of the transition to KF5.
> 
> This patch adds an option for case sensitive sorting in Dolphin under General Settings by updating the Case Sensitivity of the QCollator in kfileitemmodel.cpp as with the user's selection. Much of what I have done has been based off the code for the Natural Sorting option.
> 
> However I have made a few observations of the results:
> 1) Toggling the Natural Sorting or the Case Sensitive Sorting checkbox in General Settings will not update the sorting of the files in a directory until Dolphin is restarted (I guess this is a bug?).
> 2) If Natural Sorting AND Case Sensitive Sorting are enabled together, Dolphin will sort the files in Natural Sorting using Case Insensitive mode. This is probably a bug on my part - so I would be glad to have a more experienced programmer take a look at it.
> 
> After some thinking, if Case Sensitive Sorting and Natural Sorting cannot play well together, we can reorganise the General Settings option menu as follows:
> 
> <CheckBox>Enable Extra Sorting Features
>         <RadioButton>Natural Sorting
>         <RadioButton>Case Sensitive Sorting
> 
> 
> Diffs
> -----
> 
>   settings/dolphin_generalsettings.kcfg 9ff14d1 
>   settings/general/behaviorsettingspage.h 6e49169 
>   kitemviews/kfileitemmodel.h 167f508 
>   settings/general/behaviorsettingspage.cpp 093a1f4 
>   kitemviews/kfileitemmodel.cpp 5f6fed0 
> 
> Diff: https://git.reviewboard.kde.org/r/126467/diff/
> 
> 
> Testing
> -------
> 
> manual
> 
> 
> File Attachments
> ----------------
> 
> Idea for Dolphin General Settings behavior tab
>   https://git.reviewboard.kde.org/media/uploaded/files/2015/12/23/d8e9eab1-1c9e-4cac-84e6-11ad10c077e9__dolphin_settings.png
> 
> 
> Thanks,
> 
> arnav dhamija
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20151223/cc48f538/attachment.htm>


More information about the kfm-devel mailing list