Bug 169390 - Problems inputing some key under linux-ppc (SWT/StyledText class)
Summary: Problems inputing some key under linux-ppc (SWT/StyledText class)
Status: CLOSED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.2.1   Edit
Hardware: Macintosh Linux-GTK
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Bogdan Gheorghe CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2007-01-02 19:24 EST by Bruno Beaufils CLA
Modified: 2018-12-07 11:46 EST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno Beaufils CLA 2007-01-02 19:24:03 EST
Build ID: M20060921-0945 (Debian version: 3.2.1-3)

I am using eclipse 3.1.2 on a debian sid ppc
(linux 2.6.18-3-vserver-powerpc) runing on a
french layout PowerBook Aluminium.

I remapped my keyboard with Xmodmap since XKB
does not map the french PowerBook keyboard
very well. XKB is completely disabled.
You can have a look to my Xmodmap file in [1].

Every applications I use on my box works very
well, from emacs to firefox. No problem with any
applications (using gtk, qt, athena or pure xlib).
I have problems only with eclipse :-(

I am unable to input some characters when in the
editor window. These characters are mapped on keys
bindings using the apple key. Some examples : `{'
(apple+`('), `}' (apple+`)'), `\' (apple+`:'), etc.

The weirdest thing is that under eclipse I am able
to input these characters for instance in file
dialog boxes.

On advice by Daniel Megert I tried a simple
StyledText widget via the snippet [2] which
produce the same bad behavior.

So I think the bug comes from the implementation
of that class in SWT.

[1] http://bruno.boulgour.com/trucs/powerbook-g4-aluminium/keyboard/Xmodmap

[2] http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet210.java
Comment 1 Steve Northover CLA 2007-01-16 12:56:02 EST
Wow.  Are you really running Linux-GTK on a Macintosh?
Comment 2 Bruno Beaufils CLA 2007-01-17 03:08:05 EST
I add this comment as asked by Steve (sorry that I am not that familiar with bugzilla).

(In reply to comment #1)
> Wow.  Are you really running Linux-GTK on a Macintosh?

Yes, is this thus surprising ?  I do not think so : debian is available on
ppc...

$ uname -a
Linux watney 2.6.18-3-vserver-powerpc #1 SMP Sun Dec 10 18:16:16 CET 2006
ppc GNU/Linux

$ cat /proc/cpuinfo
processor       : 0
cpu             : 7447A, altivec supported
clock           : 1499.999000MHz
revision        : 0.1 (pvr 8003 0101)
bogomips        : 36.73

total bogomips  : 36.73
timebase        : 18432000
platform        : PowerMac
machine         : PowerBook5,4
motherboard     : PowerBook5,4 MacRISC3 Power Macintosh
detected as     : 287 (PowerBook G4 15")
pmac flags      : 0000001b
L2 cache        : 512K unified
pmac-generation : NewWorld

$ file /usr/lib/eclipse/eclipse
/usr/lib/eclipse/eclipse: ELF 32-bit MSB executable, PowerPC or cisco
4500, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses
shared libs), for GNU/Linux 2.2.5, stripped

$ gtk-config --version
1.2.10
[watney-bruno-~]$ dpkg --list |grep libgtk
ii  libgtk1.2                                1.2.10-18                       The GIMP Toolkit set of widgets for X
ii  libgtk1.2-common                         1.2.10-18                       Common files for the GTK+ library
ii  libgtk1.2-dev                            1.2.10-18                       Development files for the GIMP Toolkit
ii  libgtk2-gladexml-perl                    1.006-1                         Perl interface to use user interfaces create
ii  libgtk2-perl                             1.140-1                         Perl interface to the 2.x series of the Gimp
ii  libgtk2.0-0                              2.8.20-3                        The GTK+ graphical user interface library
ii  libgtk2.0-bin                            2.8.20-3                        The programs for the GTK+ graphical user int
ii  libgtk2.0-common                         2.8.20-3                        Common files for the GTK+ graphical user int
ii  libgtk2.0-dev                            2.8.20-3                        Development files for the GTK+ library
ii  libgtkgl2.0-1                            1.99.0-2.3                      Gimp Toolkit OpenGL area widget shared libra
ii  libgtkglext1                             1.0.6-2.1+b1                    OpenGL Extension to GTK (shared libraries)
ii  libgtkhtml2-0                            2.11.0-3                        HTML rendering/editing library - runtime fil
ii  libgtkhtml3.6-18                         3.6.2-1                         HTML rendering/editing library - runtime fil
ii  libgtkmm-2.4-1c2a                        2.8.8-1                         C++ wrappers for GTK+ 2.4 (shared libraries)
ii  libgtksourceview-common                  1.8.2-1                         common files for the GTK+ syntax highlightin
ii  libgtksourceview1.0-0                    1.8.2-1                         shared libraries for the GTK+ syntax highlig
ii  libgtkspell0  
Comment 3 Xi Yan CLA 2018-08-16 16:02:39 EDT
Is this bug still reproducible?
Comment 4 Xi Yan CLA 2018-12-07 11:46:38 EST
No response for months, closing. Please reopen this ticket if the issue reoccurs.