Bug 2100580 - [Silverblue] Fedora Flatpaks only support en-us spell-check (hunspell).
Summary: [Silverblue] Fedora Flatpaks only support en-us spell-check (hunspell).
Alias: None
Product: Fedora
Classification: Fedora
Component: flatpak
Version: 36
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: David King
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2022-06-23 18:41 UTC by mail.redhat
Modified: 2023-03-05 01:08 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2023-03-05 01:08:44 UTC
Type: Bug

Attachments (Terms of Use)

Description mail.redhat 2022-06-23 18:41:32 UTC
Description of problem:

Fedora's Flatpaks (contrary to Flathub's Flatpaks) only support spell check in en-US.

I suspect this is due to the Fedora runtime only containing hunspell-us-en:


This bug might be the same as https://bugzilla.redhat.com/show_bug.cgi?id=1762826

This was quite problematic for me as a new user of Fedora, as I had not realized there could be such difference between Fedora and Flathub Flatpack.

Version-Release number of selected component (if applicable): Fedora silverblue 36

How reproducible: 100%

Steps to Reproduce:
1. Install Fedora Siverlight
2. Install with "Software" Geary (or Evolution, or any other Fedora Flatpak that uses hunspell).
3. Try to choose a language for spellcheck

Actual results:
Only en-US can be selected.
Confirmed by running
$ flatpak enter org.gnome.Geary hunspell -D

Expected results:
Any languages can be selected for spell check. As is the case when installing from Flathub.

Additional info:

My current workaround is to install Flathub's Flatpacks instead of Fedora's ones, but I would prefer using Fedora's ones.

When installing the Flathub version of Geary, all of my languages (en,fr,de) are present.

Comment 1 mail.redhat 2022-06-23 19:07:19 UTC
It definitely seems like Gnome packs all Hunspell dictionaries in their runtime contrary to Fedora:

 $ flatpak run  org.fedoraproject.Platform/x86_64/f36 -c 'hunspell -D'

 $ flatpak run  org.gnome.Platform/x86_64/41 -c 'hunspell -D'

I think Fedora should allow Gnome and package all of Hunspell dictionaries in its runtime.

A (better?) fix could also be to install the Hunspell Dictionaries in the local runtimes, to minimize disk size.

Comment 3 Fedora Update System 2023-03-02 16:52:51 UTC
FEDORA-FLATPAK-2023-e69c75a57e has been submitted as an update to Fedora 37 Flatpaks. https://bodhi.fedoraproject.org/updates/FEDORA-FLATPAK-2023-e69c75a57e

Comment 4 Fedora Update System 2023-03-03 02:57:46 UTC
FEDORA-FLATPAK-2023-e69c75a57e has been pushed to the Fedora 37 Flatpaks testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-FLATPAK-2023-e69c75a57e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2023-03-05 01:08:44 UTC
FEDORA-FLATPAK-2023-e69c75a57e has been pushed to the Fedora 37 Flatpaks stable repository.
If problem still persists, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.