|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
Resetting SCIM when using mouse to move cursorHi there,
I need to do some resetting (e.g.: commit uncommitted preedit strings) when the cursor location changes as the result of a mouse click. Using focus_{in,out} won't do, because the user may not leave the active window, but only click another location of the same "text area". I tried using various virtual functions in IMEngineInstanceBase class, but non of them I tested were triggered as the result of a mouse click. I know handling mouse clicks is not SCIM's concern, but the change of context by cursor moving different location in text is important to a SCIM IM module (Sinhala) I maintain. Right now I have a hack, but want to get rid of it. Changing semantics (e.g.: ask users to commit before using the mouse) is not an option, as this IM is very popular, and I don't want to disappoint any of the present users, including myself. ;-) Any thoughts? Thanks in advance! Anuradha -- http://www.sayura.net/anuradha/ ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Scim-devel mailing list Scim-devel@... https://lists.sourceforge.net/lists/listinfo/scim-devel |
|
|
Re: Resetting SCIM when using mouse to move cursorOn Sun, Apr 27, 2008 at 1:13 AM, Anuradha Ratnaweera
<anuradha@...> wrote: > Hi there, Hi > I need to do some resetting (e.g.: commit uncommitted preedit strings) > when the cursor location changes as the result of a mouse click. > > Using focus_{in,out} won't do, because the user may not leave the > active window, but only click another location of the same "text > area". > > I tried using various virtual functions in IMEngineInstanceBase class, > but non of them I tested were triggered as the result of a mouse > click. I know handling mouse clicks is not SCIM's concern, but the > change of context by cursor moving different location in text is > important to a SCIM IM module (Sinhala) I maintain. Right now I have > a hack, but want to get rid of it. Korean input method has the same problem. It's the problem of applications. Each application is responsible for calling "reset" method when users moves the caret or click the mouse button. But many of them do not. So we have to report it to the app's bug tracker as a bug. > Changing semantics (e.g.: ask users to commit before using the mouse) > is not an option, as this IM is very popular, and I don't want to > disappoint any of the present users, including myself. ;-) > > Any thoughts? Thanks in advance! > > Anuradha > -- > http://www.sayura.net/anuradha/ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Scim-devel mailing list > Scim-devel@... > https://lists.sourceforge.net/lists/listinfo/scim-devel > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Scim-devel mailing list Scim-devel@... https://lists.sourceforge.net/lists/listinfo/scim-devel |
|
|
Re: Resetting SCIM when using mouse to move cursorOn Sun, Apr 27, 2008 at 12:07 PM, Choe Hwanjin <choe.hwanjin@...> wrote:
> On Sun, Apr 27, 2008 at 1:13 AM, Anuradha Ratnaweera > <anuradha@...> wrote: > > Hi there, > > Hi > > > > I need to do some resetting (e.g.: commit uncommitted preedit strings) > > when the cursor location changes as the result of a mouse click. > > > > Using focus_{in,out} won't do, because the user may not leave the > > active window, but only click another location of the same "text > > area". > > > > I tried using various virtual functions in IMEngineInstanceBase class, > > but non of them I tested were triggered as the result of a mouse > > click. I know handling mouse clicks is not SCIM's concern, but the > > change of context by cursor moving different location in text is > > important to a SCIM IM module (Sinhala) I maintain. Right now I have > > a hack, but want to get rid of it. > > Korean input method has the same problem. > > It's the problem of applications. > Each application is responsible for calling "reset" method when users > moves the caret or click > the mouse button. But many of them do not. > So we have to report it to the app's bug tracker as a bug. > > > Changing semantics (e.g.: ask users to commit before using the mouse) > > is not an option, as this IM is very popular, and I don't want to > > disappoint any of the present users, including myself. ;-) > > So what kind of application did you test? ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Scim-devel mailing list Scim-devel@... https://lists.sourceforge.net/lists/listinfo/scim-devel |
|
|
Re: Resetting SCIM when using mouse to move cursorI've got the same problem for the scim wijesekera IMEngine. I've
tested with Kate. Dushara On 27/04/2008, Choe Hwanjin <choe.hwanjin@...> wrote: > On Sun, Apr 27, 2008 at 12:07 PM, Choe Hwanjin <choe.hwanjin@...> wrote: > > On Sun, Apr 27, 2008 at 1:13 AM, Anuradha Ratnaweera > > <anuradha@...> wrote: > > > Hi there, > > > > Hi > > > > > > > I need to do some resetting (e.g.: commit uncommitted preedit strings) > > > when the cursor location changes as the result of a mouse click. > > > > > > Using focus_{in,out} won't do, because the user may not leave the > > > active window, but only click another location of the same "text > > > area". > > > > > > I tried using various virtual functions in IMEngineInstanceBase class, > > > but non of them I tested were triggered as the result of a mouse > > > click. I know handling mouse clicks is not SCIM's concern, but the > > > change of context by cursor moving different location in text is > > > important to a SCIM IM module (Sinhala) I maintain. Right now I have > > > a hack, but want to get rid of it. > > > > Korean input method has the same problem. > > > > It's the problem of applications. > > Each application is responsible for calling "reset" method when users > > moves the caret or click > > the mouse button. But many of them do not. > > So we have to report it to the app's bug tracker as a bug. > > > > > Changing semantics (e.g.: ask users to commit before using the mouse) > > > is not an option, as this IM is very popular, and I don't want to > > > disappoint any of the present users, including myself. ;-) > > > > > > So what kind of application did you test? > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Scim-devel mailing list > Scim-devel@... > https://lists.sourceforge.net/lists/listinfo/scim-devel > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Scim-devel mailing list Scim-devel@... https://lists.sourceforge.net/lists/listinfo/scim-devel |
|
|
Re: Resetting SCIM when using mouse to move cursorOn Sun, Apr 27, 2008 at 8:39 AM, Choe Hwanjin <choe.hwanjin@...> wrote:
> > So what kind of application did you test? I tested kate and gedit. This is bad enough, because we are talking about GTK and QT. Anuradha -- http://www.sayura.net/anuradha/ ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Scim-devel mailing list Scim-devel@... https://lists.sourceforge.net/lists/listinfo/scim-devel |
|
|
Re: Resetting SCIM when using mouse to move cursorAnuradha Ratnaweera さんは書きました:
> On Sun, Apr 27, 2008 at 8:39 AM, Choe Hwanjin <choe.hwanjin@...> wrote: >> So what kind of application did you test? > > I tested kate and gedit. This is bad enough, because we are talking > about GTK and QT. It would be good if you could detail the OS and versions of the software you are testing (in particular the scim and KDE versions). Jens ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Scim-devel mailing list Scim-devel@... https://lists.sourceforge.net/lists/listinfo/scim-devel |
|
|
Re: Resetting SCIM when using mouse to move cursorOn Mon, Apr 28, 2008 at 8:41 AM, Jens Petersen <petersen@...> wrote:
> Anuradha Ratnaweera さんは書きました: > > > On Sun, Apr 27, 2008 at 8:39 AM, Choe Hwanjin <choe.hwanjin@...> wrote: > >> So what kind of application did you test? > > > > I tested kate and gedit. This is bad enough, because we are talking > > about GTK and QT. > > It would be good if you could detail the OS and versions of the software > you are testing (in particular the scim and KDE versions). I've just tested it with scim 1.4.6 and gedit 2.18.2 and scim-hangul engine 0.3.1. And gedit works fine. When I click mouse button to move the cursor, the preedit string is committed. But kate doesn't. Maybe the qt or kate itself has a bug on implementation of input method interaction. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Scim-devel mailing list Scim-devel@... https://lists.sourceforge.net/lists/listinfo/scim-devel |
|
|
Re: Resetting SCIM when using mouse to move cursorOn Mon, Apr 28, 2008 at 5:11 AM, Jens Petersen <petersen@...> wrote:
> > It would be good if you could detail the OS and versions of the software > you are testing (in particular the scim and KDE versions). Here are the versions of software I tested. BTW, I am interested in not only preedit string committing, but to catch the event of cursor changing by a mouse click. Some of them *may* auto commit preedit strings. All these software may have additional patches, as I am using stock versions coming with Debian Lenny. scim 1.4.7 gtk 2.12.9 qt 3.3.8 gedit 2.22.1 kate 3.5.9 KDE 3.5.9 OS: Debian GNU/Linux Lenny with all the recent updates. Anuradha -- http://www.sayura.net/anuradha/ ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Scim-devel mailing list Scim-devel@... https://lists.sourceforge.net/lists/listinfo/scim-devel |
| Free Forum Powered by Nabble | Forum Help |