qarmin / czkawka

Multi functional app to find duplicates, empty folders, similar images etc.
Other
20.41k stars 663 forks source link

Sort feature not functional, also breaking symlink feature #1235

Closed thennicke closed 1 month ago

thennicke commented 8 months ago

Bug Description

Steps to reproduce:

Open the program, run the duplicate files search on a folder, then attempt to use the sort button to change the sorting arrangement of the items. Expect to see a re-sorted list of files. Does nothing instead. No terminal output at all from this action.

This breaks the symlink feature because it is impossible to change the order of the items, so as to be able to control which is the source and which the destination for the symlink.

System

ID: com.github.qarmin.czkawka
         Ref: app/com.github.qarmin.czkawka/x86_64/stable
        Arch: x86_64
      Branch: stable
     Version: 6.1.0
     License: MIT
      Origin: flathub
  Collection: org.flathub.Stable
Installation: system
   Installed: 17.2 MB
     Runtime: org.gnome.Platform/x86_64/45
         Sdk: org.gnome.Sdk/x86_64/45

      Commit: eac69a7ec3837f2acbb85290c6ed60054a33f9761e02f5f522bad107acdcfaa5
      Parent: 7c527a356b9775e006bdd6494cffe76215da47b28cd0c7bc55ce530bca4354d9
     Subject: 6.1 update (#23) (1f1466fd)
        Date: 2023-10-15 08:39:26 +0000
thennicke commented 8 months ago

Update: The previous report was made without any reference folders being involved. If I add one folder as a reference folder and then compare to another folder, trying to sort now gives me a crash instead, with the following output in terminal:

(czkawka_gui:2): Gtk-CRITICAL **: 17:06:22.484: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
thread 'main' panicked at /run/build/czkawka_gui/cargo/vendor/gtk4-0.7.3/src/tree_model.rs:46:14:
Failed to get TreeModel value: ValueTypeMismatchError { actual: <invalid>, requested: gboolean }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
qarmin commented 1 month ago

Duplicate of https://github.com/qarmin/czkawka/issues/1116