Bug 251878 - SCIM cannot leave message with gnome-screensaver
SCIM cannot leave message with gnome-screensaver
Product: Fedora
Classification: Fedora
Component: scim (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Peng Huang
Fedora Extras Quality Assurance
: Reopened
Depends On:
  Show dependency treegraph
Reported: 2007-08-13 00:32 EDT by han pingtian
Modified: 2008-07-08 02:28 EDT (History)
6 users (show)

See Also:
Fixed In Version: F9
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-07-08 02:28:15 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Patch from Wu Peng. (3.13 KB, patch)
2008-02-29 00:05 EST, Hu Zheng
no flags Details | Diff
Patch for scim-bridge (1.80 KB, text/x-patch)
2008-02-29 03:35 EST, Peng Wu
no flags Details
Patch for scim (1.72 KB, patch)
2008-02-29 03:36 EST, Peng Wu
no flags Details | Diff

  None (edit)
Description han pingtian 2007-08-13 00:32:12 EDT
Description of problem:
I think there will be a lot of users want to be able to input utf-8 fonts into
the "leave messages" when x-window is locked. 

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:
Comment 1 Ray Strode [halfline] 2007-08-14 11:17:40 EDT
So what happens right now? If you try to activate SCIM it doesn't work?
Comment 2 Ray Strode [halfline] 2007-08-14 11:46:16 EDT
The information we've requested above is required in order
to review this problem report further and diagnose/fix the
issue if it is still present.  Since there haven't been any
updates to the report in quite a long time now after we've
requested additional information, we're assuming the problem
is either no longer present in our current OS release, or
that there is no longer any interest in tracking the problem.

Setting status to CANTFIX, however if you still
experience this problem after updating to our latest Fedora
Core release and are still interested in Red Hat tracking
the issue, and assisting in troubleshooting the problem,
please feel free to provide the information requested above,
and reopen the report.

Thank you in advance.

(this message is mass message)
Comment 3 han pingtian 2007-08-15 00:39:39 EDT

The SCIM cannot be actived after the screen being locked. So if trying to input
some "leave messages", you only can input english I think. 

But it's just a "be blessed with a double portion of good fortune" I think. So, if  
this can be implemented, it will be good. If cannot, it's not bad.
Comment 4 Ricky Ng-Adam 2008-01-02 15:40:37 EST
Still a problem for gnome-screensaver-2.20.0-10.fc8: only English input is
Comment 5 Matthias Clasen 2008-02-27 17:24:03 EST
Not an easy fix, I fear. Most likely the problem is that scim's window doesn't
get raised over the screensaver window. Fixing this may need changes to the
screensaver extension.
Comment 6 Jens Petersen 2008-02-27 20:26:48 EST
Hmm I tested with uim and that works fine.
So looks like this is a scim issue.
Comment 7 Ray Strode [halfline] 2008-02-27 23:05:40 EST
note we don't use the screensaver extension...
Comment 8 Peng Huang 2008-02-27 23:17:39 EST
It seems that gtk_im_context doesn't receive key events from the GtkTextView. I
don't know what's the different between screensaver and normal gtk applications.
Comment 9 Hu Zheng 2008-02-29 00:05:06 EST
Created attachment 296304 [details]
Patch from Wu Peng.

hi, here is a patch from Wu Peng. phuang, can you help me to verify and test
it? Thanks.
Comment 10 Peng Wu 2008-02-29 00:32:17 EST
Please set environment variable:
export GTK_IM_MODULE=xim
Comment 11 Peng Huang 2008-02-29 01:06:29 EST
I just tested the patch with scim-bridge & scim im module. It can not fix this
I checked the code of im-scim im module. It seems that gnome-screensaver does
not set right focused widget to im context.
Comment 12 Peng Wu 2008-02-29 03:35:50 EST
Created attachment 296315 [details]
Patch for scim-bridge
Comment 13 Peng Wu 2008-02-29 03:36:58 EST
Created attachment 296317 [details]
Patch for scim
Comment 14 Hu Zheng 2008-02-29 03:41:45 EST
Nice. Can phuang check it again?
Comment 15 Peng Huang 2008-03-04 00:17:34 EST
I tested the patches. scim can work now. 
Thanks Wu Peng.

scim was fixed in version 1.4.7-15.
Also fixed scim-bridge in version 0.4.15-1.
Comment 16 Bug Zapper 2008-05-13 23:07:19 EDT
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:

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