Language switching and restart causes strange artifacts in tree views for English texts
Categories
(Core :: Graphics: Text, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr91 | --- | unaffected |
firefox98 | --- | unaffected |
firefox99 | --- | unaffected |
firefox100 | --- | verified |
People
(Reporter: aflorinescu, Assigned: lsalzman)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
[Description:]
I've noticed this mostly in localizations that use special chars. Once it happens, I haven't figured a way to restore a readable search engine list - excluding another live language switching.
[Environment:]
100.0a1 (2022-03-24)
Windows 10 / Ubuntu 20
Mac 11 - not reproducible
[Preconditions:]
Configs:
intl.multilingual.downloadEnabled: true
intl.multilingual.enabled: true
intl.multilingual.liveReload: true
browser.search.log: true
Tools:
language packs
search-addon if needed, preferably in a separate FX for default engine checks
[Steps:]
- Install a firefox Firefox locale, en-us for example (autoset region not that relevant).
- Install zh-CN language pack from the preconditions.
- Open about:preferences / Language.
- Switch the language to zh-cn.
- Restart Firefox.
- Open about:preferences#search and check the search engines list.
[Actual Result:]
Engines names contain artefacts. (interemittent, depends on which language the switch change happens to)
[Expected Result:]
Engine names are readable at all times.
[Note:]
This issue might get fixed or altered when bug 1758730 lands.
Reporter | ||
Comment 1•2 years ago
|
||
It's really close to S3, but given that once it happens, the about:preferences#search engine list looks unusable, I'll set S2 for now pending further triage.
Comment 2•2 years ago
|
||
Does this reproduce without intl.multilingual.liveReload: true
? It sounds like it could be an existing issue.
Reporter | ||
Comment 3•2 years ago
|
||
(In reply to Greg Tatum [:gregtatum] from comment #2)
Does this reproduce without
intl.multilingual.liveReload: true
? It sounds like it could be an existing issue.
Yes, profiles used for testing use the user.js config from preconditions.
Comment 4•2 years ago
|
||
Handing this to the search team for further triage, as it seems like an issue in the backend of the search engine store (rather than just the prefs use of that code), if this happens after a restart.
Comment 5•2 years ago
|
||
I can reproduce this with or without live reload enabled. This only seems to affect Windows, though Linux may also be affected (see bug 1761888).
It also seems to affect tree views specifically.
STR:
- Have then en-US nightly installed/running.
- Set
intl.multilingual.enabled
to true - Install the zh-CN language pack from https://ftp.mozilla.org/pub/firefox/nightly/latest-mozilla-central-l10n/linux-x86_64/xpi/
- Open the bookmarks sidebar.
- Go to Settings -> General and find the language section.
- At the drop down, select the Chinese language, then click Apply & Restart
Results
English text in the bookmarks sidebar is displayed with strange artifacts.
Settings -> Search -> Search Shortcuts are also displayed with strange artiafacts.
An additional restart fixes them.
The search engine names in other places seem to be displayed correctly, so I don't think this is an issue with the search service. For example, the default engine drop-down on the same settings page and the tooltips on the one-off buttons on the address bar are both displayed correctly.
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 7•2 years ago
|
||
I am unable to reproduce this on Linux following the STR. Can you try again on a more recent nightly?
Comment 8•2 years ago
|
||
I can confirm this reproduces for me on Windows with today's Nightly (2022-03-29).
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 9•2 years ago
|
||
The shared font namespace was getting allocated by the RenderBackend, while
we otherwise allocated namespaces for documents on the client. We need to make
sure that if namespace allocation happens on the client, that it also happens
on the client fot the shared font namespace. This adds to RendererOptions to
make passing in a shared font namespace allocated by the client possible.
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Comment 10•2 years ago
|
||
Pushed by lsalzman@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/806e9fc2d511 Ensure the shared font namespace is allocated by the client. r=gw
Comment 11•2 years ago
|
||
bugherder |
Updated•2 years ago
|
Updated•2 years ago
|
Comment 12•2 years ago
|
||
Verified as fixed using Firefox 100.0b4 and Nightly 101.0a1 (2022-04-12) on Ubuntu 22.04, Mac 11 and Windows 10.
Description
•