Repository navigation
firefox/wrapper: inject gsettings schema paths into XDG_DATA_DIRS - #546288
Conversation
There was a problem hiding this comment.
This report is automatically generated by the PR / Check / cherry-pick CI workflow.
Some of the commits in this PR require the author's and reviewer's attention.
If you need to merge this PR despite the warnings, please dismiss this review shortly before merging.
Important
bffe6b0 is not a cherry-pick, because: wrapGAppsHook is already fixed on master.. Please review this commit manually.
Hint: The full diffs are also available in the runner logs with slightly better highlighting.
614574d ("firefox/wrapper: enable strictDeps") was backported to release-26.05 to allow to backport a new Thunderbird ESR release. This broke injection of gsettings schema paths into XDG_DATA_DIRS for both Thunderbird and Firefox (on Linux). This resulted in empty menus with no text or icons in both apps when running with Wayland (X11 seems to be not affected). The issue is not present on master which has a fix to gapps wrapper hook: a0ee897 ("wrapGAppsHook: prepare for structuredAttrs") that fixes incorrect output being wrapped for mozilla wrapped apps (among other things). We can pursue a backport of the wrapGAppsHook fix in 26.05: NixOS#546281 But since it will take some time for it to arrive to release-26.05, this patch attempts to fix the immediate issue in the firefox wrapper instead. Fixes NixOS#546204 Not-cherry-picked-because: wrapGAppsHook is already fixed on master.
dbc0be6 to
bffe6b0
Compare
|
This is breaking all Wayland Linux users of all Mozilla apps, so I won't wait for a review longer to merge it. Let me know if there's an issue with it (post-merge 😁) and we will deal with it. For Darwin, it's zero rebuilds so no impact at all. The only audience that could still be theoretically impacted are X11 users, but I also checked that it opens on my XQuartz (albeit w/o GL). |
The patch is deliberately for release-26.05 only because master is not impacted.
614574d ("firefox/wrapper: enable
strictDeps") was backported to release-26.05 to allow to backport a new
Thunderbird ESR release.
This broke injection of gsettings schema paths into XDG_DATA_DIRS for
both Thunderbird and Firefox (on Linux). This resulted in empty menus
with no text or icons in both apps when running with Wayland (X11 seems
to be not affected).
The issue is not present on master which has a fix to gapps wrapper
hook: a0ee897 ("wrapGAppsHook: prepare
for structuredAttrs") that fixes incorrect output being wrapped for
mozilla wrapped apps (among other things).
We can pursue a backport of the wrapGAppsHook fix in 26.05:
#546281
But since it will take some time for it to arrive to release-26.05, this
patch attempts to fix the immediate issue in the firefox wrapper
instead.
Fixes #546204
How I tested it: ran Thunderbird through a Wayland compositor on Linux. Menus and text are back. (I was able to reproduce the issue without the patch.)
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.