Currently, Thunar restores the last setting for hidden files. I think it is more intuitive that the user can pick a default setting and have that be used in every new window. I believe that most people usually want to or don't want to see hidden files. I don't think it goes in streaks.
Created attachment 3690 Possible patch This is a possible patch. It adds a spin button in the preferences window that allows the user to choose whether to show, hide or use the last state in new windows. transform_hidden_string_to_index() and transform_hidden_index_to_string() probably need some work. (in fact there is probably a lot of fixing to do).
Created attachment 3691 Possible patch Last patch was messed up. This is the proper one.
*** Bug 7644 has been marked as a duplicate of this bug. ***
"that allows the user to choose whether to show, hide or use the last state in new windows." So your setting will act as default setting. Liked the idea! :-)
-- GitLab Migration Automatic Message -- This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/thunar/-/issues/31. Please create an account or use an existing account on one of our supported OAuth providers. If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev