Bug 1355 : processing very slow after a sketch using frame.setLocation(1280,0);
Last modified: 2009-10-20 16:52




Status:
RESOLVED
Resolution:
INVALID -
Priority:
P2
Severity:
normal

 

Reporter:
janebeta7
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2009-10-20 15:59
This is something very rare. When I use inside a

draw(){
frame.setLocation(0,0); // Correct
but if i put

frame.setLocation(1280,0) // to put in the proyector
}

I run, and All correct, but I STOP, and I RUN Twice and ALL goes very slow, and I need
to restart Processing, THis occurs with 1.06 and 1.09 too.

(without OPENGL)

best regards and luck!
Additional Comment #1 From janebeta7 2009-10-20 16:03
The problem only occurrs if I have twoo Screens, A proyector and my Laptop. Maybe it's
for the ATI Card?


Additional Comment #2 From fry 2009-10-20 16:27
Yes, it's your graphics card or the driver (not Processing). It's not
uncommon for graphics to be slower on a second screen for some cards, or
for strange interactions to occur. Either way, it's not a Processing bug or
something I can fix.
Additional Comment #3 From janebeta7 2009-10-20 16:37
But If I export in a Application Windows, I have no problem :(
With the same Card, the same proyector, the same screen.
NO slow

:(
Additional Comment #4 From fry 2009-10-20 16:43
So it's not the driver, it's Java. Still, it's not a Processing bug, and
there's nothing I can do to fix it.
Additional Comment #5 From janebeta7 2009-10-20 16:48
you are right. Look

this is very similar
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6231735

Thanks!!

:-(

Additional Comment #6 From janebeta7 2009-10-20 16:52
Ey Ben!

I think the problem was in my Java Function

public void init() {
setBackground(Color.black);
frame.removeNotify();
frame.setUndecorated(true);
frame.addNotify();
super.init();
}

I comment and All works

Exactly If I comment the line
// frame.setUndecorated(true);

all works :(

something strange

thanks for all