Boo0ns / arduino

Automatically exported from code.google.com/p/arduino
0 stars 0 forks source link

Screen flicker on full screen unless proceeded by prompt #462

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Version of Arduino: 0022
OS: Ubuntu 10.04 Netbook Remix 32bit
Hardware: Asus EEEPC 1005HA

Issue:

Starting up the Arduino IDE under the 10.04 Ubuntu Netbook Remix causes the 
entire window to flicker rapidly to white. Remains unusable until minimized, at 
which point flickering stops. Re-maximizing the window causes it to flicker 
again.

This does not occur if a JOptionPane prompt is triggered in the Base function 
of processing.app.Base (just after the check for sketchbookPath != null). This 
will normally happen if the sketchbook directory cannot be located. Through 
some testing I've found that hitting enter to dismiss the prompt will have no 
effect (flickering continues), but clicking on the OK button with the mouse 
will result in the IDE starting up in full screen mode perfectly fine.

Misc facts:
- Flickering does not happen if you choose GNOME as your OS GUI option from the 
login screen
- Older version from Ubuntu repositories (0018) does not have this problem; so 
far only confirmed on latest build from source

Original issue reported on code.google.com by benji.sc...@gmail.com on 17 Jan 2011 at 3:32

GoogleCodeExporter commented 9 years ago
Hmm, which version of Java are you using?  Can you try a different one?  This 
sounds like a Java / video card driver issue that will be difficult to solve 
within the Arduino code itself.

Original comment by dmel...@gmail.com on 9 Feb 2011 at 2:37

GoogleCodeExporter commented 9 years ago
Encountered this running Sun Java 1.6.0_22. After switching to openjdk 
1.6.0_20 it looks like the problem disappears. Thanks!

Original comment by benji.sc...@gmail.com on 10 Feb 2011 at 4:18

GoogleCodeExporter commented 9 years ago

Original comment by dmel...@gmail.com on 11 Feb 2011 at 5:13