Skip to content

Sorting order not restored on startup with 0.7 (take 3) #1248

@nekohayo

Description

@nekohayo

Testing git master now with ./launch.sh -s some_dataset, I must sadly point out that #1020 (the successor to #353) is still not fixed, in any of the views.

When I open gtg_dev_folder/tmp/the_dataset/xdg/config/gtg/gtg.conf in gedit on the side, and then change the sort order with the menubutton in GTG's main window, I can see that it sets the value for the sort_mode_open variable in the gtg.conf file... however it does not seem to actually read/use/restore it on next startup: GTG remembers and restores which of the 3 views was used, but does not set the sorting order in the views / the sorting popovermenu.

I also noticed that it only saves that one variable in the file, it doesn't seem to save a variable for the sorting direction (ascending or descending)?


P.S.: I also saw that there were leftover variables like

tasklist_sort_column = 6
tasklist_sort_order = 1

…in that file. However, GTG doesn't remove / clean them if present, so I guess it ignores them too; if I delete those lines, they don't come back.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions