REPRODUCIBILITY: 100%
BUILD ID: 4.3 (This has most likely existed before)
HARDWARE: X10II
UI LANGUAGE: Finnish / English
REGRESSION: Unknown
DESCRIPTION:
Screenshot filenames are localized, which causes them to be ordered not by date anymore, making ls -1 | tail 1
not guaranteed to return the latest screenshot anymore, and just browsing the files with computer using media share also makes them appear in non-chronological order, which can be confusing.
PRECONDITIONS:
Know two supported languages well enough to use the languages on the device
STEPS TO REPRODUCE:
- Use e.g. English language
- Take a screenshot
- The filename is
Screenshot_20211105_001.png
- Switch to e.g. Finnish and reboot
- Take a screenshot
EXPECTED RESULT:
The filename is Screenshot_20211105_002.png
ACTUAL RESULT:
The filename is NÀyttökuva_20211105_001.png
, and not _002.png
as one would expect.
ADDITIONAL INFORMATION:
Rationale: Filenames are not important when accessing the images by, say, Gallery. When the files are accessed by filename, for example by using Terminal, the user assumes consistency in filenames; aka. the filename ordering should follow the time. Changing the locale breaks this assumption, causing confusion. Sorting files by date is also an option, but history has taught me (mostly on Windows, but still) that file timestamps can not be blindly trusted.
Hence I propose removing localisation in this specific use case, either by stopping translating the string (or by dropping the prefix):
- Pictures taken with Camera are not prefixed with e.g.
Camera_
either - Providing localized screenshot names doesnât really add anything to a user who is technical enough to âcare about the filenamesâ
- Having locale-dependent filenames make filenames non-predictable
- The
_001.png
numbering per day scheme can break - Some languages, e.g. Finnish, use non-us-ascii characters that may cause issues (
NÀyttökuva
)