Bug 547966 - ibus: suggest the default engine
Summary: ibus: suggest the default engine
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: ibus
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Peng Huang
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-16 06:14 UTC by fujiwara
Modified: 2010-02-18 15:26 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-02-18 15:26:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch for ibusimpl.c, ibus.schemas.in, enginecombobox.py, main.py (5.80 KB, patch)
2009-12-16 06:14 UTC, fujiwara
no flags Details | Diff
Patch for ibusimpl.c enginecombobox.py (3.99 KB, patch)
2010-01-22 09:54 UTC, fujiwara
no flags Details | Diff

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


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