Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64359 - A Cursor Key Problem of GTK+ 2.4.9 on PPC64
Summary: A Cursor Key Problem of GTK+ 2.4.9 on PPC64
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: PPC64 Linux
: High normal (vote)
Assignee: ppc64 architecture team
URL:
Whiteboard:
Keywords:
: 64360 64364 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-17 00:35 UTC by Yang Dehua
Modified: 2004-12-31 00:49 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for gtk+-2.4.9-r1.ebuild (gtk+-2.4.9-r1.ebuild.patch,491 bytes, patch)
2004-12-25 09:59 UTC, Yuta SATOH (RETIRED)
Details | Diff
patch for gtk+-2.4.6 and later version on ppc64 (gtk+-2.4.9-ppc64.patch,1.69 KB, patch)
2004-12-25 10:02 UTC, Yuta SATOH (RETIRED)
Details | Diff
patch for gtk+-2.4.14.ebuild (gtk+-2.4.14.ebuild.patch,487 bytes, patch)
2004-12-25 10:08 UTC, Yuta SATOH (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yang Dehua 2004-09-17 00:39:39 UTC
I installed gtk+2.4.9 on my ppc64 2004.2 successfully, but in Gnome I had a probelm with cursor keys: keys <up> and <down> didnt function as expected, actually they were just like <right> and <left> keys. I tried many gtk+ based apps, all had the same problem. So I reverted to gtk+2.4.4, the problem went away.
Comment 1 Brian Harring (RETIRED) gentoo-dev 2004-09-17 00:45:40 UTC
*** Bug 64360 has been marked as a duplicate of this bug. ***
Comment 2 Brian Harring (RETIRED) gentoo-dev 2004-09-17 00:46:22 UTC
emerge info please...
Comment 3 Yang Dehua 2004-09-21 01:38:09 UTC
Gentoo Base System version 1.5.3
Portage 2.0.50-r11 (default-ppc64-2004.2, gcc-3.4.2, glibc-2.3.4.20040916-r0, 2.6.8-custom)
=================================================================
System uname: 2.6.8-custom ppc64 PPC970, altivec supported
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="ppc64"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=G5 -mtune=G5 -mpowerpc64 -mpowerpc-gpopt -maltivec -mabi=altivec -fno-strict-aliasing  -pipe"
CHOST="powerpc64-unknown-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=G5 -mtune=G5 -mpowerpc64 -mpowerpc-gpopt -maltivec -mabi=altivec -fno-strict-aliasing  -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://gg3.net/pub/linux/gentoo/ http://mymirror.asiaosc.org/gentoo/ http://mirror.averse.net/pub/gentoo/ http://gentoo.gg3.net/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X berkdb bitmap-fonts cjk cups dvd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libwww mitshm motif mozilla mysql nls nptl oggvorbis opengl oss pam perl png ppc64 python qt readline sdl slang ssl tcpd truetype xprint xv"

Comment 4 foser (RETIRED) gentoo-dev 2004-09-21 02:52:09 UTC
there a patch line in the 2.4.9-r1 ebuild saying 'smoothscroll', if you comment it out & recompile, does the problem go away ?
Comment 5 Yang Dehua 2004-09-21 06:20:31 UTC
No. I've just tried it, the problem's there.
Comment 6 foser (RETIRED) gentoo-dev 2004-11-02 15:40:47 UTC
can't reproduce & no further reports, it might be hw specific 
Comment 7 Yang Dehua 2004-11-02 17:08:42 UTC
Well, but there is no problem with gtk+-2.4.4. I tried the latest 2.4.13 too. It also has the problem in my system.
Comment 8 Markus Rothe (RETIRED) gentoo-dev 2004-11-03 08:08:59 UTC
*** Bug 64364 has been marked as a duplicate of this bug. ***
Comment 9 Yang Dehua 2004-11-16 06:37:27 UTC
I updated my system, gnome 2.8 and many other things, including gtk+ 2.4.9. Now it seems only gedit(2.8.0) has the problem. The cursor keys in apps like abiword, gvim and emacs function correctly.
For gedit in my system:
<left>,<up>,<pageup> and <home> have same effect;
<right>,<down>,<pagedown> and <end> have same effect. 
Comment 10 Yang Dehua 2004-11-17 05:07:38 UTC
Oh, no. It seems all applications based on gtk+ have the problem.
Sorry for the inconvenience.
Comment 11 Yang Dehua 2004-12-13 02:32:25 UTC
Any progress in solving this problem?
Comment 12 Yuta SATOH (RETIRED) gentoo-dev 2004-12-25 09:59:07 UTC
Created attachment 46870 [details, diff]
patch for gtk+-2.4.9-r1.ebuild
Comment 13 Yuta SATOH (RETIRED) gentoo-dev 2004-12-25 10:02:22 UTC
Created attachment 46871 [details, diff]
patch for gtk+-2.4.6 and later version on ppc64

file name is gtk+-2.4.9-ppc64.patch
Comment 14 Yuta SATOH (RETIRED) gentoo-dev 2004-12-25 10:07:06 UTC
I think that a problem is solvable by applying these patches for the time being.
Please try!
Comment 15 Yuta SATOH (RETIRED) gentoo-dev 2004-12-25 10:08:50 UTC
Created attachment 46872 [details, diff]
patch for gtk+-2.4.14.ebuild
Comment 16 Yang Dehua 2004-12-25 17:39:41 UTC
Good job! That did the trick. Now gtk+ works fine on my system.
Thank you very much.
Comment 17 Markus Rothe (RETIRED) gentoo-dev 2004-12-26 02:05:43 UTC
Well done Yuta SATOH!

I've added gtk+-2.4.9-r2 with the patch to portage and marked it stable on ppc64 only. I've also added the patch to gtk+-2.4.14 and will remove 2.4.9-r2 when 2.4.14 gets stable.

Markus
Comment 18 Markus Rothe (RETIRED) gentoo-dev 2004-12-31 00:49:59 UTC
nobody complains -> closing