Bug 547966

Summary: ibus: suggest the default engine
Product: [Fedora] Fedora Reporter: fujiwara <tfujiwar>
Component: ibusAssignee: Peng Huang <phuang>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: i18n-bugs, petersen, phuang
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-02-18 15:26:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch for ibusimpl.c, ibus.schemas.in, enginecombobox.py, main.py
none
Patch for ibusimpl.c enginecombobox.py none

Description fujiwara 2009-12-16 06:14:35 UTC
Created attachment 378694 [details]
Patch for ibusimpl.c, ibus.schemas.in, enginecombobox.py, main.py

Currently if both ibus-anthy and m17n-db anthy could be shown.
It would be good not to show the duplicated engines.

Comment 1 Peng Huang 2009-12-17 06:51:18 UTC
I think we do not release anthy keymap in m17n-db-japanese.noarch for fedora. So this patch is not very useful for fedora. For upstream, I also think this patch is not appropriate. Maybe using a backlist to hide some IMEs is better.

Comment 3 Jens Petersen 2009-12-23 05:34:19 UTC
I would prefer to see default IMEs for languages,
but IMEs should not hidden behind the user's back.

eg default IME list for ja might be just ibus-anthy.

Comment 4 fujiwara 2010-01-22 09:54:08 UTC
Created attachment 386111 [details]
Patch for ibusimpl.c enginecombobox.py

I'd like to suggest if the engine rank is greater than 98, the rank means not to load other rank engines by default.
It implies 99 is the default engine, 98 are other recommended engines.
It means, if you'd like to load all engines in the language, the rank of all engines would be lower than 97.

I tried to set the bold strings in ibus-setup combobox engines to indicate the recommended engines.
But unfortunately it seems it's not enough for me to indicate the recommendation when I see the left click engine menu, whose engines are preloaded engines and the bold color specifies the current engine but not the recommendation.

(In reply to comment #3)
> I would prefer to see default IMEs for languages,
> but IMEs should not hidden behind the user's back.
> 
> eg default IME list for ja might be just ibus-anthy.    

So I'd like this idea and my suggestion is, 98 is the recommended line.

The patch can be integrated with 'git am foo'

Comment 5 Peng Huang 2010-01-25 08:39:12 UTC
Fixed in upstream. I will build it soon.

Comment 6 Peng Huang 2010-02-18 15:26:48 UTC
Built it for rawhide. http://koji.fedoraproject.org/koji/buildinfo?buildID=154049