Timestamp not added to filename when copy&paste images in localized versions
Categories
(Core :: DOM: File, defect, P3)
Tracking
()
People
(Reporter: next4adm, Unassigned)
Details
(Whiteboard: dom-lws-bugdash-triage)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:100.0) Gecko/20100101 Firefox/100.0
Steps to reproduce:
copy&paste of images in e.g. Confluence always generates the file name grafik.png. No timestamp is generated for the file name. In previous Firefox versions a filename in the form image<TIMESTAMP>.png e.g. image2022-5-23_9-24-42.png was always generated.
When I change the language in Firefox to English (US) the filename in the form image<TIMESTAMP>.png is generated again.
Actual results:
copy&paste of images in Firefox german image name without timestamp just grafik.png
Expected results:
opy&paste of images in Firefox german image name with timestamp e.g. image2022-5-23_9-24-42.png or in german grafik2022-5-23_9-24-42.png
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Layout: Images, Video, and HTML Frames' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•3 years ago
|
||
Not a localization issue, or an error specifically in German's localization.
I tracked down "grafik" to https://searchfox.org/mozilla-central/source/dom/events/DataTransferItem.cpp#42
But can't find anything that shows use of timestamp, so I wonder if that's Firefox manipulating that name.
Updated•3 years ago
|
It is in the german translation
find in chrome\de\locale\de\global\dom\dom.properties
NEW:
GenericImageNamePNG=grafik.png
OLD:
GenericImageNamePNG=grafik.png
when I copy&paste an image into confluence, the file name image.png was always passed. In newer Firefox versions now grafik.png is passed (German version).
Conflunece expects image.png so that a timestamp can be inserted between image and .png.
Comment 4•3 years ago
|
||
(In reply to next4adm from comment #3)
Conflunece expects image.png so that a timestamp can be inserted between image and .png.
That sounds like a bug in Confluence, not Firefox. Users should expect to have a localized name when saving the file.
Updated•3 years ago
|
Comment 5•7 months ago
|
||
(In reply to Francesco Lodolo [:flod] from comment #4)
(In reply to next4adm from comment #3)
Conflunece expects image.png so that a timestamp can be inserted between image and .png.
That sounds like a bug in Confluence, not Firefox. Users should expect to have a localized name when saving the file.
Closing this based on comment 3.
Updated•7 months ago
|
Description
•