Screenshots filenames truncated when the OS Save dialog is triggered
Categories
(Firefox :: Screenshots, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | unaffected |
firefox126 | --- | unaffected |
firefox127 | --- | wontfix |
firefox128 | --- | wontfix |
People
(Reporter: sbadau, Unassigned)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
Found in
- Firefox 127.0b3
Affected versions
- Firefox 127.0b3
- Nightly 128.0a1
Tested platforms
- Affected platforms: macOS 14. Ubuntu 22.04, Windows 10
Preconditions
- Ensure that the "Always ask you where to save files" option is enabled in about:preferences.
Steps to reproduce
- Navigate to CNN.
- Enable Screenshots using Ctrl+Shift+S.
- Take a screenshot and select a location to save it.
- Observe the filename of the saved screenshot.
Expected result
- The filename should follow the pattern: "Screenshot YYYY-MM-DD at hh-mm-ss website title".
Actual result
- The title of the website in the filename is truncated with an ellipsis. Example: Screenshot 2024-05-20 at 10-39-16 Five things you proba[...].png.
Regression range
- This issue seems to be a regression, as it does not occur in Firefox 126 with screenshots.browser.component.enabled set to true. I'll look for the regression range ASAP.
Reporter | ||
Comment 1•5 months ago
|
||
After looking for a regression window the behaviour I'm seeing might actually be by design. Please mark as Invalid if that's the case.
Found commit message:
Bug 1818862 - Revise how we generate a filename to fit inside platform pathname length constraints. r=niklas
Pushlog: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=0beadc50afd86168f85dd997bc26a8fc9a9c2bdd&tochange=c77138bc1f869eb72bb8f573030c6e5bbdbb2ea8
Comment 2•5 months ago
|
||
@Simona, I agree this appears to be working as design. The filenames are being shortened to be within OS limits. If there is a problem with the way the filename was shortened such as the filename was shortened unnecessarily or the [...]
is causing a problem, then we should re-open the bug. Without the fix, did the filename get saved in full without [...]
?
Updated•4 months ago
|
Description
•