Package: sun-java6-jdk
Version: 6-10-2
Severity: important

Applications implemented in Java (and also in Tcl/Tk and Python with
Tkinter) fail to raise their own toplevel windows when working under
the Metacity window manager.

You can retrieve a small test from

http://www.ncc.up.pt/gpsman/tmp/Controller.java
http://www.ncc.up.pt/gpsman/tmp/Raisewindow.java

[compile and run with:  javac Controller.java ; java Controller]

This test creates 3 windows each with two buttons for raising the other
two using the standard tofront method. To reproduce the bug, run
the program under Metacity, move the windows so that they partially overlap
the others and then try to use the buttons. There will be only a
change of focus but the windows are not raised.
Under other window managers (kwin, sawfish, wmaker, fvwm2) the program
works as expected.

I submitted a bug report to Bugzilla

http://bugzilla.gnome.org/show_bug.cgi?id=567528

but the last answer to it was that I should file a bug with the 
language developers as they "need to provide a way to send 
_NET_ACTIVE_WINDOW (and with a correct timestamp!)" when trying
to "bring this window to user's attention".

As Metacity is used by default in many Debian distributions this
problem is likely to severely affect many applications and therefore
two weeks ago I also submitted a general bug report to Debian

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=512401

that was not answered in any way, apart from an automatic reply.

Best regards,
Miguel Filgueiras


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf-8, LC_CTYPE=en_GB.utf-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages sun-java6-jdk depends on:
ii  debconf [debconf-2.0]         1.5.24     Debian configuration management sy
ii  libc6                         2.7-15     GNU C Library: Shared libraries
ii  libx11-6                      2:1.1.5-2  X11 client-side library
ii  sun-java6-bin                 6-10-2     Sun Java(TM) Runtime Environment (

sun-java6-jdk recommends no packages.

Versions of packages sun-java6-jdk suggests:
pn  sun-java6-demo                <none>     (no description available)
pn  sun-java6-doc                 <none>     (no description available)
pn  sun-java6-source              <none>     (no description available)

-- debconf information:
* shared/accepted-sun-dlj-v1-1: true
  shared/error-sun-dlj-v1-1:
* shared/present-sun-dlj-v1-1:



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to