just on Linux: grey rectangles instead of JFrame

From: Tarlika Elisabeth Schmitz (invalid_at_invalid.invalid)
Date: 10/19/04


Date: Tue, 19 Oct 2004 09:55:27 +0100

Hello,
I have an absolutely desperate Problem, which appears on the Linux
target machines only, NOT on my Windows 2000 test environment.

I am simply looking for hints to track down the problem or for someone
who has seen a similar phenomenon.

System:
- Debian Linux
- BlackDown 1.4.2, or Sun 1.4.2_03
- PC 512MB, 2.8 GHz, nothing else running
- Gnome 2.6
- Windowmanager: Sawfish or Metacity

Application: single-threaded Swing application using JFrames. Some are
just hidden upon close, others are newly created each time.

Test: just open, close, open, close windows

Problem: 20-30% of the time a JFrame is not painted properly
a) just a grey rectangle
b) Window decorations drawn, but content just grey
c) content drawn but no Window Decorations
In all cases the rectangle is the size of what the JFrame would've been
Placing other windows on top and pulling them away does not cause a
repaint. Once the rectangle even appeared on all 4 desktops!!!! I also
noticed that sometimes the rectangle doesn't appear in the taskbar.
The only thing that helps is exit and start again.
I can't see a common denominator so far. It seems to happen to arbitrary
windows.

This does not appear to be caused by uncaught exceptions. The phenomenon
appears without any errors being logged nor anything on the console
(neither stack trace nor out of mem).

I first tried Blackdown 1.4.2. It doesn't take long to hit the problem.
De-installed Blackdown, installed Sun 1.4.2. Took much longer for the
problem to appear. I would like to emphasize again, that I have never
seen this on my Win2K machine with Sun SDK 1.4.2_01.

-- 
Regards/Gruß,
Tarlika Elisabeth Schmitz


Relevant Pages

  • Re: Zero Width Pen Draws through clipped region...
    ... Find great Windows Forms articles in Windows Forms Tips and Tricks ... Exclude the rectangle from the graphics clip region. ... IF you use a pen that is more than one pixel the clipping works ...
    (microsoft.public.dotnet.framework.drawing)
  • Re: How to Drawstring with a character drawn "partially"?
    ... Windows Forms Tips and Tricks RSS: http://www.bobpowell.net/tipstricks.xml ... /// Summary description for Form1. ... >> You could draw the text without setting a layout rectangle, ... >>> character of the text only shown partially. ...
    (microsoft.public.dotnet.framework.drawing)
  • Re: Zero Width Pen Draws through clipped region...
    ... Find great Windows Forms articles in Windows Forms Tips and Tricks ... Exclude the rectangle from the graphics clip region. ... IF you use a pen that is more than one pixel the clipping works correctly. ...
    (microsoft.public.dotnet.framework.drawing)
  • Re: Form Shrinking due to Non Client area introduction
    ... Remember also that you don't need to change the rectangle size if WMParam is ... Find great Windows Forms articles in Windows Forms Tips and Tricks ... of the Non Client area is 15 and 4 pixels border respectively. ...
    (microsoft.public.dotnet.languages.csharp)
  • W2K TaskManager always in iconized mode in TaskBar
    ... Windows 2000 SP3 ... TASKMGR invocation produced a green ... rectangle in the TaskBar area, and refused to open in full ...
    (microsoft.public.win2000.general)