Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 894392 - net-im/telegram-desktop-4.6.2: missing spell useflag
Summary: net-im/telegram-desktop-4.6.2: missing spell useflag
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Esteve Varela Colominas
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-14 13:27 UTC by kamal
Modified: 2023-02-14 21:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kamal 2023-02-14 13:27:54 UTC
Versions <=4.6.2 allowed disabling spellchecking altogether with -spell.
In 4.6.2 spell checking is forced due to "^^ ( enchant hunspell )".
However, the DESKTOP_APP_DISABLE_SPELLCHECK cmake argument is still present upstream.
Is this intended for stability reasons or can the useflag added again?


Reproducible: Always

Steps to Reproduce:
Emerge net-im/telegram-desktop-4.6.2 with USE="-spell -hunspell -enchant"
Actual Results:  
Emerge fails, unmet useflag requirements.

Expected Results:  
A Telegram installation without spell checking support.
Comment 1 Esteve Varela Colominas 2023-02-14 21:29:18 UTC
I knew someone was gonna report this as a bug, lol. Thanks for doing so, I'm glad to know people care.

The argument is currently broken upstream, as they've been phasing out support for the toggle, as it was only used for old macOS versions. See the comment at:

https://github.com/telegramdesktop/tdesktop/commit/f5be551ff8bb16f92638d4ddb5097a4e64507851#r99549281

Apparently, the existence of a toggle doesn't necessarily mean it works with this package. Personally, I've been having trouble disabling spellchecking in the client itself (now the feature flag is mandatory), so if anyone knows how to make the red squiggles disappear forever, I'd love to know.