Bug 83952 - Qt 3.3.4 breaks app-i18n/skim <= 1.1.0
Bug#: 83952 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: All Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: cjk@gentoo.org Reported By: zenith@mpi-magdeburg.mpg.de
Component: Applications
URL: 
Summary: Qt 3.3.4 breaks app-i18n/skim <= 1.1.0
Keywords:  
Status Whiteboard: 
Opened: 2005-03-03 06:59 0000
Description:   Opened: 2005-03-03 06:59 0000
The recent unmasking of Qt 3.3.4 has caused problems to Skim, a KDE port of the
SCIM input engine. Skim will perform erratically, incorrectly and sluggishly, 
will not be usable for most purposes and will occasionally freeze the system
for a few seconds.

To reproduce: emerge qt-3.3.4 (with USE="immqt"), kde and scim-qtimm (if not
present already), skim; try to use Skim.

To fix, add ebuilds for scim-qtimm 0.8.5 and skim 1.2.0; furthermore, specify
in the current ebuilds of skim (1.1.0, 1.0.2) that they depend on Qt being <
3.3.4.

Ebuilds for new versions of skim and scim-qtimm follow. Please test and UNMASK
ASAP, as Qt 3.3.4 has been unmasked already and everybody with Skim is probably
wondering what is going on with their input engine.

The ebuilds work fine on my Pentium4, CFLAGS="-O3 -march=pentium4 -pipe",
USE="mysql ipv6 cdr f77 cdparanoia -gtk -gtk2 -gnome gimpprint cjk nls canna
immqt-bc". Will check this evening on my Athlon64 too.

------- Comment #1 From Federico Zenith 2005-03-03 07:04:11 0000 -------
Created an attachment (id=52543) [details]
Ebuild for scim-qtimm-0.8.5

------- Comment #2 From Federico Zenith 2005-03-03 07:04:45 0000 -------
Created an attachment (id=52544) [details]
Ebuild for skim-1.2.0

This fixes problems with Qt-3.3.4.

------- Comment #3 From Federico Zenith 2005-03-03 09:34:56 0000 -------
Just to confirm, these ebuilds compile and work correctly on amd64.

------- Comment #4 From Mamoru KOMACHI (RETIRED) 2005-03-05 05:39:20 0000 -------
Thanks for the bug report. I added scim-qtimm-0.8.5.ebuild
and skim-1.2.0.ebuild. Please wait for another day to unmask them.

------- Comment #5 From Federico Zenith 2005-03-06 04:10:02 0000 -------
Hi, could you please add ~amd64 in the keywords of scim-qtimm? I'm using it
here on an amd64 and it works fine.
&#12393;&#12358;&#12418;&#65281;

------- Comment #6 From Mamoru KOMACHI (RETIRED) 2005-03-06 10:55:37 0000 -------
matsuu: could you please test scim-qtimm and add it to ~amd64?
I got a bug report about skim-1.2.0, so I'll wait for a while before
unmasking them, though....

------- Comment #7 From liuspider 2005-03-12 17:31:49 0000 -------
I think this bug is caused by the somehow broken immqt patch, this is howto
solve it:
qwidget.cpp (after applied the immqt patch)

line 3296 from
if ( prev != this ) {
to
if ( prev != this && prev->isInputMethodEnabled() &&
                     (isInputMethodEnabled() || !testWFlags(WType_Popup))) {
//if this is a popup and inputmethod is not enabled, then we should not unfocus
the current editing widget

and add this line:
  if(isInputMethodEnabled())
before line 3310  which is
  focusInputContext();

------- Comment #8 From Mamoru KOMACHI (RETIRED) 2005-04-03 00:13:51 0000 -------
Thanks liuspider, I added the patch to qt ebuild.

Federico: both scim-qtimm-0.8.5-r1 and skim-1.2.0
are marked stable. If you want to have scim-qtimm
~amd64, please open another bug for that and
assign it to amd64@gentoo.org. I cannot keyword
that for you (because I don't have access to amd64
box). Sorry.