unison icon indicating copy to clipboard operation
unison copied to clipboard

add ability to collapse directories in the synchronisation view (GTK UI)

Open kerner1000 opened this issue 6 years ago • 12 comments

I use to synchronize directories that contain a lot of files. In the synchronization view, I see those folders and one row for each file in that folder. So this list tends to get very long.

It would be great to have an option to collapse that view into a folder tree, for example, or show only folders in that list.

This would improve usability a lot, imo.

kerner1000 avatar Jul 27 '19 08:07 kerner1000

The graphical user interfaces for unison do provide this feature, though the text UI does not.

   - Benjamin

On Jul 27, 2019, at 04:21, Kerner [email protected] wrote:

I use to synchronize directories that contain a lot of files. In the synchronization view, I see those folders and one row for each file in that folder. So this list tends to get very long.

It would be great to have an option to collapse that view into a folder tree, for example, or show only folders in that list.

This would improve usability a lot, imo.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

bcpierce00 avatar Aug 20 '19 23:08 bcpierce00

How can I use this feature? I cannot see any possibility to collapse the file tree.

Unison File Synchronizer Version 2.48.4

kerner1000 avatar Aug 22 '19 11:08 kerner1000

Click the little arrow icons to the left of the file list.

On Aug 22, 2019, at 7:21 AM, Kerner <[email protected] mailto:[email protected]> wrote:

How can I use this feature? I cannot see any possibility to collapse the file tree.

Unison File Synchronizer Version 2.48.4

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bcpierce00/unison/issues/272?email_source=notifications&email_token=ABVQQC7TKDUOLOZEVR6KWIDQFZZD7A5CNFSM4IHIXXZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD44YJAQ#issuecomment-523863170, or mute the thread https://github.com/notifications/unsubscribe-auth/ABVQQCYE6KUN2LT5LUIQ2YLQFZZD7ANCNFSM4IHIXXZA.

bcpierce00 avatar Aug 22 '19 12:08 bcpierce00

I do not see any arrows? unison

kerner1000 avatar Aug 22 '19 19:08 kerner1000

Oh, drat -- I was looking at the Mac GUI. I thought the other GUI also had this functionality, but I must have misremembered. Sorry!

bcpierce00 avatar Aug 22 '19 19:08 bcpierce00

Same: #16

tleedjarv avatar Jun 26 '21 17:06 tleedjarv

Actually, in my current version, 2.51.3 in Linux, there's even no indentation for files in the same directory... I remember that in previous versions, the indentation was there, as shown in the above screenshot... basically, now all files in the "Path" column have no indentations at all.

LorenzoBettini avatar Jan 05 '22 16:01 LorenzoBettini

A lot has changed and I'm having trouble reading the history. I think but am not sure that improvements have been made which bear on this request, and in general we're starting to address things that aren't really serious, more so than earlier. A fresh assessment of the GTK3 UI and the mac UI would be appreciated, so we can rewrite this to be accurate.

gdt avatar Apr 03 '23 01:04 gdt

@gdt I think the issue is still valid: in Linux GTK we have only a list of changes, no tree structure.

LorenzoBettini avatar Apr 03 '23 06:04 LorenzoBettini

Thanks. Awaiting a PR then......

gdt avatar Apr 03 '23 12:04 gdt

@gdt I'm afraid I can't work on that: I lack knowledge of Caml and GTK. ;) If no one from the project's developers can work on that, I can live with the current behavior.

LorenzoBettini avatar Apr 03 '23 12:04 LorenzoBettini

I also think that this feature would be very useful! Two observations:

  • Directories could be collapsed by default if all the arrows underneath point in the same direction.
  • If for some reason the above is not possible, at least atomic directories could be collapsed by default.

grothesque avatar Mar 21 '24 21:03 grothesque