#1830 closed defect (fixed)
qt-immodule support, dead-keys broken
Reported by: | Owned by: | levon | |
---|---|---|---|
Priority: | high | Milestone: | 1.4.0 |
Component: | frontend-qt2 | Version: | 1.3.5 |
Severity: | normal | Keywords: | |
Cc: | j.spitzmueller@…, gour@…, tenentblueberry@…, azugaldia@… |
Description
When lyx is run against a version patched with immodule support:
http://freedesktop.org/wiki/Software_2fimmodule_2dqt
it renders dead-key support useless.
Background/see-also:
https://bugzilla.redhat.com/bugzilla/141475
http://lists.freedesktop.org/archives/immodule-qt/2004-December/000649.html
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg36348.html
http://lists.suse.com/archive/m17n/2004-Dec/0029.html
Attachments (2)
Change History (20)
comment:1 by , 19 years ago
comment:2 by , 19 years ago
Summary: | qt-immodule support → qt-immodule support, dead-keys broken |
---|
comment:4 by , 19 years ago
And some more conceptual info:
http://www.kde.gr.jp/~asaki/how-to-support-input-method.html
comment:5 by , 19 years ago
attachments.isobsolete: | 0 → 1 |
---|
comment:6 by , 19 years ago
Following the patch I proposed to 1.4cvs I have also the previous patch for
1.3, that I have been using around here with some success.
I am not aware of any problems but I am waiting for some tips from the immodule
mailing list before proposing it for inclusion.
comment:7 by , 19 years ago
Cc: | added |
---|
it doesn't work for inside mathmode
(to get a superscript). I do not understand why. :-)
The rudimental patch, and thus the following combination, works for me:
void QContentPane::imEndEvent(QIMEvent * e)
{
Has to be handled separately for mathed superscript
dunno why.
if (e->text() == "") {
QKeyEvent *ev = new QKeyEvent (QEvent::KeyPress,
Qt::Key_AsciiCircum, '', 0,
QString(""));
keyPressEvent(ev);
delete ev;
}
else if (!e->text().isEmpty()) {
QKeyEvent ev(QEvent::KeyPress, 0, *e->text().ascii(), 0,
e->text());
keyPressEvent(&ev);
}
e->accept();
}
comment:8 by , 19 years ago
Subject: lyx-devel src/frontends/qt2/: Tag: BRANCH_1_3_X ...
CVSROOT: /usr/local/lyx/cvsroot
Module name: lyx-devel
Repository: lyx-devel/
Changes by: spitz@… 05/05/28 13:07:45
Modified files:
lyx-devel/src/frontends/qt2/: Tag: BRANCH_1_3_X ChangeLog
QContentPane.C QContentPane.h
lyx-devel/: Tag: BRANCH_1_3_X status.13x
Log message:
José's qt-immodule fixes (#1830)
Bugs:
#1830
Patches:
http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/src/frontends/qt2/ChangeLog?r1=1.389.2.71&r2=1.389.2.72
http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/src/frontends/qt2/QContentPane.C?r1=1.18.2.2&r2=1.18.2.3
http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/src/frontends/qt2/QContentPane.h?r1=1.7.2.2&r2=1.7.2.3
http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/status.13x?r1=1.1.2.249&r2=1.1.2.250
Complete Diff:
/usr/bin/cvs -f diff -kk -u -r 1.389.2.71 -r 1.389.2.72 src/frontends/qt2/ChangeLog
/usr/bin/cvs -f diff -kk -u -r 1.18.2.2 -r 1.18.2.3 src/frontends/qt2/QContentPane.C
/usr/bin/cvs -f diff -kk -u -r 1.7.2.2 -r 1.7.2.3 src/frontends/qt2/QContentPane.h
/usr/bin/cvs -f diff -kk -u -r 1.1.2.249 -r 1.1.2.250 /status.13x
comment:9 by , 19 years ago
Subject: lyx-devel src/frontends/qt2/: ChangeLog QConten ...
CVSROOT: /usr/local/lyx/cvsroot
Module name: lyx-devel
Repository: lyx-devel/src/frontends/qt2/
Changes by: spitz@… 05/05/28 13:08:50
Modified files:
lyx-devel/src/frontends/qt2/: ChangeLog QContentPane.C
QContentPane.h
Log message:
José's qt-immodule fixes (#1830)
Bugs:
#1830
Patches:
http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/src/frontends/qt2/ChangeLog?r1=1.784&r2=1.785
http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/src/frontends/qt2/QContentPane.C?r1=1.32&r2=1.33
http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/src/frontends/qt2/QContentPane.h?r1=1.14&r2=1.15
Complete Diff:
/usr/bin/cvs -f diff -kk -u -r 1.784 -r 1.785 src/frontends/qt2/ChangeLog
/usr/bin/cvs -f diff -kk -u -r 1.32 -r 1.33 src/frontends/qt2/QContentPane.C
/usr/bin/cvs -f diff -kk -u -r 1.14 -r 1.15 src/frontends/qt2/QContentPane.h
comment:11 by , 19 years ago
Cc: | added |
---|
comment:13 by , 19 years ago
Subject: lyx-devel src/frontends/qt2/: Tag: BRANCH_1_3_X ...
CVSROOT: /usr/local/lyx/cvsroot
Module name: lyx-devel
Repository: lyx-devel/
Changes by: spitz@… 05/06/03 11:10:22
Modified files:
lyx-devel/src/frontends/qt2/: Tag: BRANCH_1_3_X ChangeLog
QContentPane.C QContentPane.h
lyx-devel/: Tag: BRANCH_1_3_X status.13x
Log message:
limit qt-immodule fixes (#1830) to qt/x11
Bugs:
#1830
Patches:
http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/src/frontends/qt2/ChangeLog?r1=1.389.2.72&r2=1.389.2.73
http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/src/frontends/qt2/QContentPane.C?r1=1.18.2.3&r2=1.18.2.4
http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/src/frontends/qt2/QContentPane.h?r1=1.7.2.3&r2=1.7.2.4
http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/status.13x?r1=1.1.2.250&r2=1.1.2.251
Complete Diff:
/usr/bin/cvs -f diff -kk -u -r 1.389.2.72 -r 1.389.2.73 src/frontends/qt2/ChangeLog
/usr/bin/cvs -f diff -kk -u -r 1.18.2.3 -r 1.18.2.4 src/frontends/qt2/QContentPane.C
/usr/bin/cvs -f diff -kk -u -r 1.7.2.3 -r 1.7.2.4 src/frontends/qt2/QContentPane.h
/usr/bin/cvs -f diff -kk -u -r 1.1.2.250 -r 1.1.2.251 /status.13x
comment:14 by , 19 years ago
Subject: lyx-devel src/frontends/qt2/: ChangeLog QConten ...
CVSROOT: /usr/local/lyx/cvsroot
Module name: lyx-devel
Repository: lyx-devel/src/frontends/qt2/
Changes by: spitz@… 05/06/03 11:25:46
Modified files:
lyx-devel/src/frontends/qt2/: ChangeLog QContentPane.C
QContentPane.h
Log message:
limit qt-immodule fixes (#1830) to qt/x11
Bugs:
#1830
Patches:
http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/src/frontends/qt2/ChangeLog?r1=1.788&r2=1.789
http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/src/frontends/qt2/QContentPane.C?r1=1.33&r2=1.34
http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/src/frontends/qt2/QContentPane.h?r1=1.15&r2=1.16
Complete Diff:
/usr/bin/cvs -f diff -kk -u -r 1.788 -r 1.789 src/frontends/qt2/ChangeLog
/usr/bin/cvs -f diff -kk -u -r 1.33 -r 1.34 src/frontends/qt2/QContentPane.C
/usr/bin/cvs -f diff -kk -u -r 1.15 -r 1.16 src/frontends/qt2/QContentPane.h
comment:15 by , 19 years ago
Cc: | added |
---|
comment:17 by , 19 years ago
Cc: | added |
---|
Here's some more background and similar reports:
http://bugs.kde.org/88151
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg35044.html