Filename is malformed in the "What to do with this file"... dialog when a .pdf file starts with a numeric character (or other characters that are directionless)
Categories
(Firefox :: File Handling, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr102 | --- | unaffected |
firefox109 | --- | wontfix |
firefox110 | --- | verified |
firefox111 | --- | verified |
People
(Reporter: aoia7rz7l, Assigned: emilio)
References
(Regression)
Details
(Keywords: regression)
Attachments
(4 files)
Tested on 109.0.
Prerequisites:
Action for pdf file type is set to Always Ask
in Preferences > General > Files and Applications > Applications.
(Potential) Prerequisites:
pdfjs.disabled
is set totrue
.browser.download.always_ask_before_handling_new_types
is set totrue
.browser.download.useDownloadDir
is set tofalse
.
STR:
Download any pdf file from e.g. arxiv.org.
Expected Behavior:
Filename in the Open with... dialog corresponds to the actual filename.
Actual Behavior:
Filename in the Open with... dialog is, for example, pdf.1234.5678
when the actual filename is 1234.5678.pdf
. https://mlnsch.files.wordpress.com/2009/08/100-moral-stories.pdf (from bug 1810132) returned moral-stories.pdf-100
. This does not affect the subsequent Enter name of file to save to... dialog. Filenames starting with an alphabetic character are not affected. I haven't tested if this also affects other file extensions.
Mozregression returned
Last good revision: 0f84b85f120f45fe6bad63d5e26b5ba4cd89f801
First bad revision: fd69d6b3aeb8e1e04334a0885f60966883a69c08
Pushlog: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=0f84b85f120f45fe6bad63d5e26b5ba4cd89f801&tochange=fd69d6b3aeb8e1e04334a0885f60966883a69c08
Comment 1•1 year ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox::File Handling' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•1 year ago
|
||
Setting Regressed by
field after analyzing regression range found by mozregression in comment #0.
Comment 3•1 year ago
|
||
I think this is the same problem as the issue with the :
in https://bugzilla.mozilla.org/show_bug.cgi?id=1803089#c16 , but this is more serious. What can we do to fix this?
Updated•1 year ago
|
Comment 4•1 year ago
|
||
Interestingly, if I hover over the filename in the dialog, the tooltip that appears shows it with the proper ordering, as seen here.
Comment 5•1 year ago
|
||
(In reply to Jonathan Kew [:jfkthame] from comment #4)
Interestingly, if I hover over the filename in the dialog, the tooltip that appears shows it with the proper ordering, as seen here.
I haven't verified but I think this is because in bug 1799460 crop=left/start
was changed to be implemented by using inverted directionality on the text. That would only apply to that text, not the tooltip.
Assignee | ||
Comment 6•1 year ago
|
||
This should do?
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 7•1 year ago
|
||
Also cleanup a bit the CSS while at it.
Depends on D168788
Assignee | ||
Comment 8•1 year ago
|
||
Updated•1 year ago
|
Updated•1 year ago
|
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1acfd4dbbdae Hint directionality of label content for crop="start" labels. r=Gijs,jfkthame
Updated•1 year ago
|
Comment 10•1 year ago
|
||
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d5cadf7b100d Standardize on crop="start/end" rather than supporting that and left/right. r=Gijs,settings-reviewers,application-update-reviewers,bytesized https://hg.mozilla.org/integration/autoland/rev/4d2e6730e58f Remove unused idl properties too. r=Gijs
Comment 11•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/1acfd4dbbdae
https://hg.mozilla.org/mozilla-central/rev/d5cadf7b100d
https://hg.mozilla.org/mozilla-central/rev/4d2e6730e58f
Updated•1 year ago
|
Comment 12•1 year ago
|
||
The patch landed in nightly and beta is affected.
:emilio, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox110
towontfix
.
For more information, please visit auto_nag documentation.
Assignee | ||
Comment 13•1 year ago
|
||
Comment on attachment 9315819 [details]
Bug 1814696 - Hint directionality of label content for crop="start" labels. r=Gijs,jfkthame
Beta/Release Uplift Approval Request
- User impact if declined: comment 0
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: comment 0
- List of other uplifts needed: none
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Relatively well-targeted patch. The other two patches in the stack are unnecessary-to-uplift cleanup.
- String changes made/needed: none
- Is Android affected?: No
Assignee | ||
Updated•1 year ago
|
Comment 15•1 year ago
|
||
Comment on attachment 9315819 [details]
Bug 1814696 - Hint directionality of label content for crop="start" labels. r=Gijs,jfkthame
We're in RC week - see earlier beta request.
Updated•1 year ago
|
Comment 16•1 year ago
|
||
Hello! I have managed to reproduce the issue with firefox 110.0b9 and 111.0a1(2023-02-02) on macOS 12.6.2. I can confirm that the issue is fixed with firefox 111.0a1(2023-02-08), updating the flags accordingly.
Comment 17•1 year ago
|
||
Comment on attachment 9315819 [details]
Bug 1814696 - Hint directionality of label content for crop="start" labels. r=Gijs,jfkthame
We already built and shipped our Release Candidate and have no driver for a RC2. We can evaluate it for the planned dot release, thanks.
Comment 18•1 year ago
|
||
Comment on attachment 9315819 [details]
Bug 1814696 - Hint directionality of label content for crop="start" labels. r=Gijs,jfkthame
Low risk, no regression reported since it landed, 2 bug reports by end-user, uplift approved for 110.0.1, thanks.
Comment 19•1 year ago
|
||
bugherder uplift |
Comment 20•1 year ago
•
|
||
Reproduced the issue on Win10x64 using FF 109.0.
Verified as fixed on Win10x64, Mac 10.13 and Ubuntu 20.04 using FF build 110.0.1(20230227191043).
Also added TCs for this scenario : https://testrail.stage.mozaws.net/index.php?/cases/view/2091302
Description
•