Menu

#917 Keep original file datetime

open
5
2007-12-15
2007-11-21
Anu de Deus
No

In the 'Save modified file?' dialog box, it could have a checkbox in each panel (left file/right file) to give the option to keep the original file's datetime stamp, which means:
- if checked:
a) store in a local variable current file's datetime
b) save file
c) set file's datetime stamp with value stored in a)

- if not checked: just save the file as it's doing now

Additionally, give the option to set the file datetime stamp using the datetime stamp of the file from the other side, maybe using the popup menu just like the 'copy left to right' or 'move left to right' options.

Discussion

  • Kimmo Varis

    Kimmo Varis - 2007-11-21

    Logged In: YES
    user_id=631874
    Originator: NO

    This is clearly a new feature request - moving to feature request list.

     
  • Kimmo Varis

    Kimmo Varis - 2007-11-21
    • labels: 572055 --> File handling
     
  • Kimmo Varis

    Kimmo Varis - 2007-11-22

    Logged In: YES
    user_id=631874
    Originator: NO

    About the request: I don't want to make save dialog's any more complex.

    I understand the reasoning and I agree in general that it would be useful. But I don't think the GUI is to add more controls to dialogs.

    Maybe just new option "Keep file's original timestamp when saving" is enough? Or does this need to be enabled/disabled per file or even per file save basis?

    Another possibility is finally create file info dialog (showing file size, time etc) and add this option there.

     
  • Anu de Deus

    Anu de Deus - 2007-11-23

    Logged In: YES
    user_id=1942282
    Originator: YES

    Well, a new option "Keep file's original timestamp when saving" could be enough (I actually think it's mandatory, I already see it as a missing feature, I need it all the time), but I can see it quickly getting requests to implement the other options as well.
    So it's up to who is going to implement it, how far is he willing to go?
    I'd like the option on a per file save basis.
    And adding the option in the file info dialog would be great.

     
  • Kimmo Varis

    Kimmo Varis - 2007-12-15

    Logged In: YES
    user_id=631874
    Originator: NO

    Ok, I'll implement the option.

     
  • Kimmo Varis

    Kimmo Varis - 2007-12-15
    • assigned_to: nobody --> kimmov
     
  • Kimmo Varis

    Kimmo Varis - 2007-12-16

    Logged In: YES
    user_id=631874
    Originator: NO

    Just submitted a patch:
    #1851921 Add option to preserve original file time in file compare
    http://winmerge.org/patch/1851921

     
  • Kimmo Varis

    Kimmo Varis - 2007-12-17

    Logged In: YES
    user_id=631874
    Originator: NO

    I've committed my patch to add a global option - so it will be available in next experimental release later this week.

    Fileinfo-dialog and checkboxes in it have to wait some time (read: months).

     

Log in to post a comment.