-
Notifications
You must be signed in to change notification settings - Fork 384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestion: Use date instead of numbers and letters as scrap filenames #1172
Comments
I second that! I do sketches and drawings on MyPaint... and I name my finished drawings just with date. So if the scrap file is like that I don't need to manually save all things, just save a scrap and you can go back whenever you want and then it can also be a finished drawing as well. |
the numbers and letter are simply a single serial number (think of the letter as being a number 0-25), you can see this in the implementation, line 1293 of gui/filehandling.py. Personally I like to use the date, so I patched my mypaint to preprocess the prefix with The modification I mention avoids this and you end up with the date followed by the 'numbers then a letter' which you were already getting. Personally I doubt there is a solution that everyone will be happy with. strftime is okay with me because I already know the format codes. Maybe people will be ok with having the date included by default. I suspect they will want the date order they are familiar with. If that's the case then we would need to use something which is at least similar to |
David Gowers ***@***.***> writes:
the numbers and letter are simply a single serial number (think of the
letter as being a number 0-25), you can see this in the implementation,
line 1293 of gui/filehandling.py. Personally I like to use the date, so
I patched my mypaint to preprocess the prefix with time.strftime before
passing it to save_autoincrement_file. But it's not safe to use only the
date, consider what happens if you want to save two scraps on same day -
the second one overwrites the first. Date and time has the same problem,
too, it's just much less likely to want to save in the same minute than
the same day.
Well, there are ways to deal with it. The date should be precise up to
seconds (as screefnshot programs usually do), and an integer can be
added to the end of the filename string in the event of something really
odd happening (timezones, etc).
…--
André A. Gomes
"Free Thought, Free World"
|
When saving scraps, I find it more sensible that the filename will have a date instead of random numbers and letters.
What do you think?
The text was updated successfully, but these errors were encountered: