We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2018-06-16 17:37:22 +0300

[BUG?] Cut/Paste files retains the original timestamp but Copy/Paste does not

As a user of Sailfish OS

I want to be able to cut/copy paste files from one location to another

And those files have the same date and time stamp as they originally had

So that I can organise when files were originally created/modified.

Scenario: Cut/Copy and Paste a File in the Home Directory
  Given I am in the home directory
  And the following file exists:
    | Name     | Size     | Date       |
    | test.txt | 10.00 KB | 30/05/2018 |
  When I <action> the file "text.txt"
  And I navigate to the directory "./Documents"
  And I Paste
  Then I should see the following files:
    | Name     | Size     | Date       |
    | test.txt | 10.00 KB | 30/05/2018 |
  Examples:
  | action |
  | Cut    |
  | Copy   |

This scenario works for Cut but fails for Copy:

 expected '30/05/2018'; got '16/06/2018'

When a file is copied and pasted to another location, even a sub-directory of the original location, a new timestamp is generated.

[BUG?] [answered] Cut/Paste files retains the original timestamp but Copy/Paste does not

As a user of Sailfish OS

I want to be able to cut/copy paste files from one location to another

And those files have the same date and time stamp as they originally had

So that I can organise when files were originally created/modified.

Scenario: Cut/Copy and Paste a File in the Home Directory
  Given I am in the home directory
  And the following file exists:
    | Name     | Size     | Date       |
    | test.txt | 10.00 KB | 30/05/2018 |
  When I <action> the file "text.txt"
  And I navigate to the directory "./Documents"
  And I Paste
  Then I should see the following files:
    | Name     | Size     | Date       |
    | test.txt | 10.00 KB | 30/05/2018 |
  Examples:
  | action |
  | Cut    |
  | Copy   |

This scenario works for Cut but fails for Copy:

 expected '30/05/2018'; got '16/06/2018'

When a file is copied and pasted to another location, even a sub-directory of the original location, a new timestamp is generated.