Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 145328 Details for
Bug 220414
can't commit pre-edit state by clicking in kedit
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch for scim-hangul to enable mouse and commit preedited text
qt-x11-immodule-scim-hangul-204414.patch (text/plain), 1.64 KB, created by
Sachin Tawniya
on 2007-01-11 09:25:57 UTC
(
hide
)
Description:
Patch for scim-hangul to enable mouse and commit preedited text
Filename:
MIME Type:
Creator:
Sachin Tawniya
Created:
2007-01-11 09:25:57 UTC
Size:
1.64 KB
patch
obsolete
>diff -pruN qt-x11-free-3.3.6.org/src/kernel/qwidget_x11.cpp qt-x11-free-3.3.6/src/kernel/qwidget_x11.cpp >--- qt-x11-free-3.3.6.org/src/kernel/qwidget_x11.cpp 2007-01-11 12:42:36.000000000 +0530 >+++ qt-x11-free-3.3.6/src/kernel/qwidget_x11.cpp 2007-01-11 12:44:34.000000000 +0530 >@@ -2907,6 +2907,8 @@ void QWidget::sendMouseEventToInputConte > QInputContext *qic = getInputContext(); > if ( qic ) { > // may be causing reset() in some input methods >+ if (type==QEvent::MouseButtonPress || type==QEvent::MouseButtonDblClick) >+ qic->reset(); > qic->mouseHandler( x, type, button, state ); > } > #endif // QT_NO_IM >diff -pruN qt-x11-free-3.3.6.org/src/widgets/qtextedit.cpp qt-x11-free-3.3.6/src/widgets/qtextedit.cpp >--- qt-x11-free-3.3.6.org/src/widgets/qtextedit.cpp 2007-01-11 12:42:36.000000000 +0530 >+++ qt-x11-free-3.3.6/src/widgets/qtextedit.cpp 2007-01-11 12:48:28.000000000 +0530 >@@ -1575,7 +1575,16 @@ bool QTextEdit::sendMouseEventToInputCon > QTextCursor c( doc ); > if ( c.place( e->pos(), doc->firstParagraph(), FALSE, FALSE, FALSE ) ) { > int mousePos = c.index() - d->preeditStart; >- if ( cursor->globalY() == c.globalY() && >+ if ( e->type() == QEvent::MouseButtonPress || e->type() == QEvent::MouseButtonDblClick ) { >+ QWidget::sendMouseEventToInputContext( mousePos, e->type(), >+ e->button(), e->state() ); >+ drawCursor(FALSE); >+ cursor->remove(); >+ placeCursor(e->pos()); >+ ensureCursorVisible(); >+ drawCursor(TRUE); >+ } >+ else if ( cursor->globalY() == c.globalY() && > mousePos >= 0 && mousePos < d->preeditLength ) { > QWidget::sendMouseEventToInputContext( mousePos, e->type(), > e->button(), e->state() );
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 220414
: 145328