To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=105416
                 Issue #|105416
                 Summary|vcl: some short-cut keys can't work in Linux when IME 
                        |is open
               Component|gsl
                 Version|OOO310m9
                Platform|PC
                     URL|
              OS/Version|Linux
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P1
            Subcomponent|code
             Assigned to|pl
             Reported by|victor21





------- Additional comments from [email protected] Mon Sep 28 09:46:10 
+0000 2009 -------
OS: Redhat

problem description:
OO has some short-cut keys, for example, press "Alt" can pop up main menu; 
press "ctrl + left/right shift" can change text alignment and layout from left-
to-right/right-to-left in Writer. If current input is English(i.e., don't open 
input method), above short-cut keys work well. However, if open input method
(e.g., open Chinese input method), above short-cut key don't work.

Root cause:
The cause is the keys(Alt, Ctrl, Shift...) are filtered by gtk when input 
method is open. The detail like below:
First, "GtkSalFrame::signalKey" calls "GtkSalFrame::IMHandler::handleKeyEvent" 
when the key is in "GDK_KEY_RELEASE"
Then, in "GtkSalFrame::IMHandler::handleKeyEvent", if current event 
is "GDK_KEY_RELEASE", the result of "gtk_im_context_filter_keypress( 
m_pIMContext, pEvent )" is true, then this method return true to 
GtkSalFrame::signalKey. 
Then, GtkSalFrame::signalKey return true to caller and don't do futher process.

I think one solution for this problem is adding more condition in " if( pThis-
>m_pIMHandler->handleKeyEvent( pEvent ) )" in "GtkSalFrame::signalKey", then 
let application go on futher process instead of "return True".

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to