Mailto handler setting shows mixed language and includes "Pick an application" as an app name
Categories
(Firefox :: Settings UI, defect, P3)
Tracking
()
People
(Reporter: lamalbrut, Unassigned)
Details
Attachments
(3 files, 1 obsolete file)
Hello. A source string for Firefox locales containing an expression incorrectly defined for being queried from the Windows system locale file instead of the Firefox locale file
Steps to reproduce
- Set current Windows system locale to non-English or non-English derivative.
- Set current Firefox locale to English or a derivative of it.
- In Firefox | in the
about:preferencespage, inspect assigned action for content type mailto; see attachment firefox_v.133_UI_content_type_mailto.action.png.
So, in step 2., e.g. for en_GB, a correctly configured source string would have thus been expressed as "Use Pick an application (default)".
Comment 1•2 years ago
|
||
Can you provide a screenshot of the actual dropdown? On my system I can only see Use (name of the app) (default), so I'm surprised to see Pick an application in there, independently of the language.
What do you see with the OS set to English, if that's something you can test?
Please attach to the bug the raw content of your about:support:
- Type about:support in the address bar, press enter.
- Click
Copy raw data to clipboard. - Come back to this bug, click the
Attach new filebutton above your first comment. - Paste the content from your clipboard, add a description and hit
Submitat the bottom.
Updated•2 years ago
|
Updated•2 years ago
|
Comment 5•2 years ago
|
||
Fairly confident that we don't own this interface.
Comment 6•2 years ago
|
||
(In reply to Robin Steuber (she/her) [:bytesized] from comment #5)
Fairly confident that we don't own this interface.
I assume the problem would be starting in nsILocalHandlerApp? All bugs for that file are either here or in File Handling.
Comment 7•2 years ago
|
||
I'm a little confused. It seems like the blame for the code you just linked to mostly leads to Bug 1365133 and Bug 1581383, both of which are in this component.
Comment 8•2 years ago
|
||
I linked to the code used for the dropdown (which would be Settings material).
document.l10n.setAttributes(
defaultMenuItem,
"applications-use-app-default",
{
"app-name": handlerInfo.defaultDescription,
}
);
But where does handlerInfo.defaultDescription come from? That feels like Shell Integration territory.
With that said, I don't mind where the bug ends, as long as someone familiar with the code can take a look.
Comment 9•2 years ago
|
||
Tried to trace this back but things got murky pretty quickly. My best guess is that the value is coming from here, which seems to be the file handling component. Maybe it belongs there? I'm not entirely sure.
Updated•2 years ago
|
Comment 10•1 year ago
|
||
NI :mpohle, just verifying this wouldn't have been impacted by your work.
Comment 11•1 year ago
|
||
Thanks for sharing, I will keep this on my radar.
- I see no way how my changes could have let to this, because I have not changed the field where this string comes from.
- I tried to reproduce the problem with a German locale, but I could not reproduce it.
However, I think the string is dynamic and takes the form of Use { $app-name } (default). So I wonder how that looks in the Windows settings for you? To find that out you can use:
[Windows key]-rto open the run dialog, enterms-settings:defaultappsin the text field and click on Ok- Scroll way down and click on "Choose default apps by link type"
- Search for
mailto
Comment 12•1 year ago
|
||
A needinfo is requested from the reporter, however, the reporter is inactive on Bugzilla. Given that the bug is still UNCONFIRMED, closing the bug as incomplete.
For more information, please visit BugBot documentation.
Description
•