Opened 19 years ago

Closed 19 years ago

Last modified 19 years ago

#1830 closed defect (fixed)

qt-immodule support, dead-keys broken

Reported by: rdieter@… 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

Attachments (2)

bug-1830.patch (1.6 KB ) - added by José Matos 19 years ago.
Possible fix.
deadkeys-patch.diff (1.5 KB ) - added by Juergen Spitzmueller 19 years ago.
rudimental implementation

Download all attachments as: .zip

Change History (20)

comment:2 by rdieter@…, 19 years ago

Summary: qt-immodule supportqt-immodule support, dead-keys broken

comment:3 by Juergen Spitzmueller, 19 years ago

Milestone: 1.4.0

I think this has to be fixed for 1.4

comment:4 by Juergen Spitzmueller, 19 years ago

by José Matos, 19 years ago

Attachment: bug-1830.patch added

Possible fix.

by Juergen Spitzmueller, 19 years ago

Attachment: deadkeys-patch.diff added

rudimental implementation

comment:5 by José Matos, 19 years ago

attachments.isobsolete: 01

comment:6 by José Matos, 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 Juergen Spitzmueller, 19 years ago

Cc: j.spitzmueller@… 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 Juergen Spitzmueller, 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 Juergen Spitzmueller, 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:10 by Juergen Spitzmueller, 19 years ago

Resolution: fixed
Status: newclosed

.

comment:11 by lasgouttes, 19 years ago

Cc: tenentblueberry@… added

comment:12 by lasgouttes, 19 years ago

* #1849 has been marked as a duplicate of this bug. *

comment:13 by Juergen Spitzmueller, 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 Juergen Spitzmueller, 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 Juergen Spitzmueller, 19 years ago

Cc: azugaldia@… added

comment:16 by Juergen Spitzmueller, 19 years ago

* #1909 has been marked as a duplicate of this bug. *

comment:17 by Juergen Spitzmueller, 19 years ago

Cc: gour@… added

comment:18 by Juergen Spitzmueller, 19 years ago

* #1625 has been marked as a duplicate of this bug. *

Note: See TracTickets for help on using tickets.