There are some noticable performance issues (slowness) with GTextField when using larger font size and while there is more text than fits the text field. Curiously the text field responds very fast when deleting characters with backspace.
I'm experiencing this on Windows 7 64, Processing 3.1.1 and G4P 4.0.4.
import g4p_controls.*;
import java.awt.Font;
GTextField txf1;
int fontSize = 80;
void setup() {
size(800, 600);
txf1 = new GTextField(this, 100, 250, 600, 100);
txf1.setFont(new Font("Arial", Font.PLAIN, fontSize));
}
void draw() {
background(125);
}
The text scrolling does not keep the text insertion point visible on screen when typing is very fast and can be very slow in catching up. This also applies when blocks of thext are pasted in.
This problem has been fixed with V4.0.5
Hi quark! Did you test the bug with Home/End that I've reported on the forum?
I think it's better not to push the fix if that bug is not fixed as well. It might introduce errors in previously working programs. Best regards!
Yes the NaN bug is fixed as well.
Peter
On 14/07/2016 15:09, izumitelj wrote:
Related
Tickets:
#13