FS#15674 - [openjdk6] Include patch for non-reparenting WMs in openjdk builds for repos

Attached to Project: Arch Linux
Opened by Stephen Sugden (grncdr) - Saturday, 25 July 2009, 01:40 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 04 August 2009, 20:46 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Openjdk/icedtea defaults to assuming a reparenting window manager is being used if it can't identify the wm. This means that on many non-reparenting window managers, (most tiling window managers such as awesome, dwm, and xmonad) java applications display no GUI, just a blank grey canvas. The attached patch for openjdk (taken from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=508650) allows users to set an environment variable that explicitly tells the application a non-reparenting wm is being used. I've rebuilt openjdk with this patch and it appears to be behaving correctly. Given the relative popularity of tiling wm's in the Arch user base, the minimal size and impact of this patch, and significant resources required to recompile openjdk, I think this patch could be included as part of the standard openjdk6 package in the repos.

Steps to reproduce:

While using a non-reparenting wm, start a GUI java application.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Tuesday, 04 August 2009, 20:46 GMT
Reason for closing:  Implemented
Comment by Andreas Radke (AndyRTR) - Saturday, 25 July 2009, 11:06 GMT
looks ok to me. i may implement this.

has there any discussion happened about this upstream? is it already implemented the same way in a new testing openjdk6 version? then we could just bump to a new snapshot.

Loading...