<AWT Dev> Window Decorations do not work on x86_64

Kyle Galloway kgallowa at redhat.com
Wed Aug 1 06:53:32 PDT 2007


Hi all,

I responded to Artem directly, but I'm going to post my response here 
for those that are interested.

I am using Gnome 2.18.3 running on Fedora 7.  Metacity is my window 
manager, and I have tried "metacity --replace" with no effects.  I am 
not running any composite extensions, or even a proprietary video driver 
(I use VESA and have an ATI video card).  The latest binary JDKs do not 
cause this issue, it is only seen with OpenJDK/IcedTea (although it has 
been fixed in IcedTea 1.2 released today).

I have also enclosed a screenshot of a simple awt app that appears 
correctly on 32-bit systems, but, as can be seen, is missing window 
decorations on our x86_64 machines.

Hope that helps.

Thanks,
Kyle

Artem Ananiev wrote:
> Hi, Francis, all,
>
> the diffs in XPanelPeer are a part of the fix for 6567564 (Canvas's 
> graphics config does not change when moved across monitors, Linux). 
> The fix also includes some changes in XPanelPeer sub/super classes, 
> and I think it's not a right thing to revert the changes from 
> XPanelPeer only.
>
> At the same time, I still can't reproduce the described problem with 
> window decorations on my desktop. I have already written to Kyle 
> privately about the required system configuration (32/64 bit, window 
> manager, window manager version, etc.) but haven't received any reply. 
> Until this information is available, we can't proceed with the bug.
>
> Thanks,
>
> Artem
>
> Francis Kung wrote:
>> Hi everyone,
>>
>>>>>> Could you tell what window manager you're using when you observe 
>>>>>> this behavior? Did you try running under Metacity? Is the bug 
>>>>>> still reproducible then?
>>>>>
>>>>> This was tested under Metacity and it is still a bug.
>>>> Sun accepted this bug this morning as bug 6586752.
>>>>
>>>> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6586752
>>>
>>>
>>> This problem was narrowed down to a regression between b14 and b15. 
>>> The patch causing the problem has been uploaded here: 
>>> http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=37
>>>
>>> Though, we are still trying to determine what part of this patch is 
>>> the cause.
>>
>> I've found the specific area that causes this regression; it was the 
>> change in XPanelPeer.java.  I've attached the relevant b14->b15 diff; 
>> if you revert that patch then window decorations appear once again.
>>
>> Regards,
>> Francis
>>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: window_decs.png
Type: image/png
Size: 22857 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20070801/1bb9ecb8/window_decs.png 


More information about the distro-pkg-dev mailing list