Bug 2267613

Summary: RFE: emojier listing control codes and non-BMP tofu characters early for partial annotation
Product: [Fedora] Fedora Reporter: Jens Petersen <petersen>
Component: ibusAssignee: fujiwara <tfujiwar>
Status: ASSIGNED --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 40CC: i18n-bugs, shawn.p.huang, tagoh, tfujiwar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jens Petersen 2024-03-04 07:22:07 UTC
eg input of egir
            ^ emoji prompt

Lists candidates:
1. ㌓
2. ꟼ
3. 𒁞
4. 𒁬
5. 𒂕
6. 𒃐
7. 𒄈
8. 𒄉
9. 𒄊
0. 𒄋

1. 𒄌
2. 𒄍
3. 𒄎
4. 𒄏
5. 𒅨
6. 𒒕
7. 👧
8. 🛊
9. 🦒

(I was actually looking for giraffe)

Reproducible: Always



Expected Results:  
Hide or show tofu last

Comment 1 fujiwara 2024-03-05 12:26:54 UTC
Currently IBus does not check the glyphs in fonts.

Comment 2 Jens Petersen 2024-05-07 07:02:17 UTC
Perhaps it is possible to order by Unicode blocks?

At least in my example all the tofu seems to be
https://en.wikipedia.org/wiki/Cuneiform
which is not commonly used.

But seems a little tricky to handle.

Comment 3 Jens Petersen 2024-05-08 09:34:31 UTC
Well filtering out some Unicode blocks could also make sense,
emoji-picker does that by default:
https://github.com/mike-fabian/ibus-typing-booster/blob/main/engine/itb_emoji.py

Anyway it may be better to move this issue upstream.

Comment 4 fujiwara 2024-05-09 03:03:31 UTC
(In reply to Jens Petersen from comment #3)
> Well filtering out some Unicode blocks could also make sense,
> emoji-picker does that by default:
> https://github.com/mike-fabian/ibus-typing-booster/blob/main/engine/
> itb_emoji.py
> 

As I said many times, I won't take that way.
I think no font characters should be shown since the characters are sent out of Fedora and gucharmap and gnome-characters do the right way.