[RFC Regression Fix] XWindowPeer override-redirect w/ metacity WM

Andrew John Hughes ahughes at redhat.com
Tue Apr 6 10:38:11 PDT 2010


On 1 April 2010 20:47,  <jon.vanalten at redhat.com> wrote:
> Hi,
>
> It's been reported that applet windows that should be full-screen are being displayed *behind* desktop elements.  See https://bugzilla.redhat.com/show_bug.cgi?id=577953 for one such report.  I agree with Deepak that this is a problem not limited to applets, but within openjdk.  Afaict this is since http://icedtea.classpath.org/hg/icedtea6/rev/83619682858e when patches/icedtea-override-redirect-metacity.patch was removed.  Changeset indicates the patch has been upstreamed in b17.  Closer inspection reveals that only the first hunk is upstream, the second part of the patch which actually addresses the metacity wm is not.  I think this part of the patch needs to be restored.  Building locally with that line back in XWindowPeer.java I see the correct behavior ie desktop elements hidden by java window.  Diff attached.  Does anyone see anything wrong with putting this back in?
>
> cheers,
>
> jon


See http://icedtea.classpath.org/wiki/IcedTea_JDK6_Patches

'The Metacity issue has been marked as not a bug in the JDK, but one
in Metacity: see S6514512.'

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6514512
https://bugzilla.gnome.org/show_bug.cgi?id=405269

No progress since 2007.  I think the better course of action would be
to at least ping the GNOME developers and find out what's going on.  I
don't really want the patch back in IcedTea unless we have to,
especially when upstream have specifically objected to it.
-- 
Andrew :-)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net

PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8



More information about the distro-pkg-dev mailing list