Bug 509483

Summary: reconversion feature doesn't work
Product: [Fedora] Fedora Reporter: Akira TAGOH <tagoh>
Component: ibus-anthyAssignee: fujiwara <tfujiwar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: i18n-bugs, petersen, phuang, tagoh, tfujiwar
Target Milestone: ---Keywords: i18n, Patch
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.1.0.20090814-1.fc11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-08-28 22:01:16 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 engine/engine.py none

Description Akira TAGOH 2009-07-03 02:53:44 UTC
Description of problem:
As per ibus-anthy config UI, reconversion shortcut key are assigned to Shift+Henkan though, given that it behaves similarly to scim-anthy, even if selecting words and press Shift+Kenkan, nothing happens.

Version-Release number of selected component (if applicable):
ibus-1.1.0.20090612-1.fc11
ibus-anthy-1.1.0.20090603-1.fc11

How reproducible:
always

Steps to Reproduce:
1.turn on IM and type nihonngo and press space and enter to convert and commit.
2.select a word committed at step 1
3.press shift+henkan
  
Actual results:
nothing happens

Expected results:
should starts to reconvert

Additional info:

Comment 1 Jens Petersen 2009-07-28 09:29:41 UTC
seems true also for ibus-anthy-1.2.0.20090617-1.fc12

Comment 2 fujiwara 2009-07-31 08:58:52 UTC
I could reproduce this problem and now I got an idea to fix this.

Comment 3 fujiwara 2009-07-31 09:06:39 UTC
Created attachment 355782 [details]
Patch for engine/engine.py

I implemented __cmd_reconvert() in ibus-anthy.
When type Shift_R + Henkan_Mode, ibus-anthy calls __cmd_reconvert().

When I use gtk.Clipboard.wait_for_text(), ibus stopped with the timeout.
So I suggest to use gtk.Clipboard.request_text() at the moment.

I wonder which layer should implement GTK+ GUI. I updated the engine.py simply.
Comparing ibus with scim, the preedit color is different but I would expect it's not a big problem.

Comment 4 fujiwara 2009-08-13 09:16:15 UTC
It seems now is alpha freeze but the build is finised.
http://koji.fedoraproject.org/koji/taskinfo?taskID=1602834

Comment 6 Fedora Update System 2009-08-14 06:01:54 UTC
ibus-anthy-1.1.0.20090814-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/ibus-anthy-1.1.0.20090814-1.fc11

Comment 7 Fedora Update System 2009-08-15 08:23:46 UTC
ibus-anthy-1.1.0.20090814-1.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update ibus-anthy'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-8610

Comment 8 Fedora Update System 2009-08-28 22:00:47 UTC
ibus-anthy-1.1.0.20090814-1.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.