Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Leap 42.1 - Kate - Documents panel - Files not sorted correctly.

  1. #1
    Join Date
    Jun 2008
    Location
    South-West France
    Posts
    1,031

    Default Leap 42.1 - Kate - Documents panel - Files not sorted correctly.

    Hello.

    I plan to change 13.2 to leap.
    I have just installed leap 42.1 to replace 13.2

    Laptop ASUS G75VW 24Gb of ram.
    Done a fresh install.
    Folder / , folder /home and folder /root has been formatted during install.
    Installed language is English, keyboard layout is french.



    In kate documents panel,iIs there any tips to have documents sorted.

    http://paste.opensuse.org/91393881

    like in dolphin

    http://paste.opensuse.org/28217525


    Any help is welcome.
    Last edited by malcolmlewis; 18-May-2017 at 08:24. Reason: Update prefix as 42.1 is EOL
    Thanks for helping. JCD
    __________

    server leap 15-- ASUS g75vw KDE leap 42.3 -- ASUS g750JZ KDE leap 42.3 -- acer aspire s13 win 10 home -- HP Omen win 10 home - scan EPSON V500 - Brother HL2250DN - Samsung CLP-325W

  2. #2
    Join Date
    Jun 2008
    Location
    South-West France
    Posts
    1,031

    Default Re: Leap 42.1 - Kate - Documents panel - Files not sorted correctly.

    Any help is welcome
    Thanks for helping. JCD
    __________

    server leap 15-- ASUS g75vw KDE leap 42.3 -- ASUS g750JZ KDE leap 42.3 -- acer aspire s13 win 10 home -- HP Omen win 10 home - scan EPSON V500 - Brother HL2250DN - Samsung CLP-325W

  3. #3

    Default AW: Leap 42.1 - Kate - Documents panel - Files not sorted correctly.

    And what's your "problem" exactly?

    They should be sorted alphabetically by filename.
    And if you right-click on the panel, there's an "Sort By" sub menu where you can choose to sort by file path and opening order.
    You can choose the default in Kate's settings.

    Or do you want to have "natural" sorting?
    Like yast20.txt coming before yast100.txt, not after?
    Well, that's not implemented in Kate AFAICS. Feel free to file a bug report/wishlist entry at http://bugs.kde.org/.

  4. #4
    Join Date
    Jun 2008
    Location
    South-West France
    Posts
    1,031

    Default Re: AW: Leap 42.1 - Kate - Documents panel - Files not sorted correctly.

    Quote Originally Posted by wolfi323 View Post
    And what's your "problem" exactly?

    They should be sorted alphabetically by filename.
    And if you right-click on the panel, there's an "Sort By" sub menu where you can choose to sort by file path and opening order.
    You can choose the default in Kate's settings.

    Or do you want to have "natural" sorting?
    Like yast20.txt coming before yast100.txt, not after?
    Well, that's not implemented in Kate AFAICS. Feel free to file a bug report/wishlist entry at http://bugs.kde.org/.
    The problem is :
    13.2 Kate and dolphin have same sorting.
    In Kate the document panel show (natural sorting as in dolphin)
    Code:
    01_file_a
    02_file_b
    0_file_c
    1_file_d
    2_file_x
    3_file_y
    ...
    9_file_e
    10_file_f
    11_file_g
    11a_file_h
    ...
    20_file_i
    ....
    98_file_k
    .......
    101_file_l
    102_file_m
    .........
    110_file_n
    ........
    Leap 42.2 Kate and dolphin have different sorting.
    Natural sorting
    In Dolphin 42.2 in the file panel I have
    Code:
    0_file_c
    01_file_a
    1_file_d
    2_file_x
    02_file_b
    3_file_y
    ...
    9_file_e
    10_file_f
    11_file_g
    11a_file_h
    ...
    20_file_i
    ....
    98_file_k
    .......
    101_file_l
    102_file_m
    .........
    110_file_n
    ........
    In Kate 42.2 in the file panel I have
    Code:
    0_file_c
    01_file_a
    02_file_b
    1_file_d
    10_file_f
    101_file_l
    102_file_m
    110_file_n
    11_file_g
    11a_file_h
    2_file_x
    20_file_i
    3_file_y
    9_file_e
    98_file_k
    Thanks for helping. JCD
    __________

    server leap 15-- ASUS g75vw KDE leap 42.3 -- ASUS g750JZ KDE leap 42.3 -- acer aspire s13 win 10 home -- HP Omen win 10 home - scan EPSON V500 - Brother HL2250DN - Samsung CLP-325W

  5. #5

    Default Re: Leap 42.1 - Kate - Documents panel - Files not sorted correctly.

    Quote Originally Posted by jcdole View Post
    The problem is :
    13.2 Kate and dolphin have same sorting.
    Yes, and?

    In 13.2 both dolphin and kate were KDE4 based, in 42.1 they are KF5 based.

    In KDE4, dolphin's settings for this actually changed the global KDE settings for sorting things.
    In KF5, the dolphin developers decided to change this and use their own setting now, because dolphin's settings should not have effect on the rest of the system for seemingly unrelated stuff.

    And kate now just uses non-"natural" sorting in its document panel apparently.
    There is no setting for this and it doesn't use the global setting either (from ~/.config/kdeglobals).

    As I wrote, feel free to report this at http://bugs.kde.org/.
    I'd consider this as a missing/unimplemented feature as I wrote, or call it a "porting bug" if you want.
    Last edited by wolfi323; 14-Dec-2016 at 12:37.

  6. #6
    Join Date
    Jun 2008
    Location
    South-West France
    Posts
    1,031

    Default Re: Leap 42.1 - Kate - Documents panel - Files not sorted correctly.

    Quote Originally Posted by wolfi323 View Post
    Yes, and?

    In 13.2 both dolphin and kate were KDE4 based, in 42.1 they are KF5 based.

    In KDE4, dolphin's settings for this actually changed the global KDE settings for sorting things.
    In KF5, the dolphin developers decided to change this and use their own setting now, because dolphin's settings should not have effect on the rest of the system for seemingly unrelated stuff.

    And kate now just uses non-"natural" sorting in its document panel apparently.
    There is no setting for this and it doesn't use the global setting either (from ~/.config/kdeglobals).

    As I wrote, feel free to report this at http://bugs.kde.org/.
    I'd consider this as a missing/unimplemented feature as I wrote, or call it a "porting bug" if you want.
    OK. I will fill a feature report.

    Thank you again.
    Thanks for helping. JCD
    __________

    server leap 15-- ASUS g75vw KDE leap 42.3 -- ASUS g750JZ KDE leap 42.3 -- acer aspire s13 win 10 home -- HP Omen win 10 home - scan EPSON V500 - Brother HL2250DN - Samsung CLP-325W

  7. #7
    Join Date
    Jun 2008
    Location
    South-West France
    Posts
    1,031

    Default Re: Leap 42.1 - Kate - Documents panel - Files not sorted correctly.

    I have emit a bug report
    https://bugs.kde.org/show_bug.cgi?id=375676

    How to use the information :

    Code:
                Wolfgang Bauer                                                  2017-04-14 10:45:04 UTC                                                
       Git commit eb9cab2e55ba9b7f9b86577ba12f673c40e07e67 by Wolfgang Bauer.
    Committed on 14/04/2017 at 10:43.
    Pushed by wbauer into branch 'Applications/17.04'.
    
    Enable numericMode for sorting document list in filetree
    
    Turns on "natural" sorting for the document list in the filetree addon,
     so that e.g. 10 comes after 9, not before.
    That's how the KDE4 version behaved too.
    FIXED-IN: 17.04.1
    Differential Revision: https://phabricator.kde.org/D5448
    
    M  +1    -0    addons/filetree/katefiletreeproxymodel.cpp
    
    https://commits.kde.org/kate/eb9cab2...2f673c40e07e67
    I don't see any things to do :
    Code:
    Enable numericMode for sorting document list in filetree
    Thanks for helping. JCD
    __________

    server leap 15-- ASUS g75vw KDE leap 42.3 -- ASUS g750JZ KDE leap 42.3 -- acer aspire s13 win 10 home -- HP Omen win 10 home - scan EPSON V500 - Brother HL2250DN - Samsung CLP-325W

  8. #8

    Default Re: Leap 42.1 - Kate - Documents panel - Files not sorted correctly.

    Quote Originally Posted by jcdole View Post
    I have emit a bug report
    https://bugs.kde.org/show_bug.cgi?id=375676

    How to use the information :
    That means that this change has been committed to the KDE source repository, and it will be in 17.04.1.
    So the file list in the documents panel will be sorted "naturally" in kate 17.04.1 or higher (will be in Leap 42.3 as well).
    Last edited by wolfi323; 07-May-2017 at 10:37.

  9. #9
    Join Date
    Jun 2008
    Location
    South-West France
    Posts
    1,031

    Default Re: Leap 42.1 - Kate - Documents panel - Files not sorted correctly.

    Quote Originally Posted by wolfi323 View Post
    That means that this change has been committed to the KDE source repository, and it will be in 17.04.1.
    So the file list in the documents panel will be sorted "naturally" in kate 17.04.1 or higher (will be in Leap 42.3 as well).
    Now we just wait opensuse update ?
    Thanks for helping. JCD
    __________

    server leap 15-- ASUS g75vw KDE leap 42.3 -- ASUS g750JZ KDE leap 42.3 -- acer aspire s13 win 10 home -- HP Omen win 10 home - scan EPSON V500 - Brother HL2250DN - Samsung CLP-325W

  10. #10

    Default Re: Leap 42.1 - Kate - Documents panel - Files not sorted correctly.

    Quote Originally Posted by jcdole View Post
    Now we just wait opensuse update ?
    Yes, but that definitely won't happen for 42.1, which will be out of support in about a week.

    As I wrote, kate 17.04 (with this "fix") will be in Leap 42.3, or you can get it for 42.2 from the KDE:Applications repo.
    We could release that change for 42.2 as official update too, but that would need an *openSUSE* bug report.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •