Bug 1220 : selectInput() fails when called from within keyPressed()
Last modified: 2010-04-08 19:27




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

 

Reporter:
ames
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2009-03-26 09:17
When selectInput() or selectOutput() is called from within a keyPressed
block, a blank window (with proper title) appears, but the file selection
interface does not.
selectFolder() work fine though.

tested with Processing 1.0.3 on a 2005 MacBook running Ubuntu 9.04
(development branch) and using KDM (KDE desktop).

also, it would be awesome if Processing on Linux could use system native
file chooser dialogs, like on MacOS...

void setup(){
}
void draw(){
}

void keyPressed(){ //other methods cause no problem, including
keyReleased();
//println(selectFolder()); //works fine
println(selectInput()); //does not work. A blank window appears...
//println(selectOutput()); //neither does this
}
Additional Comment #1 From MrFeinberg 2010-04-08 19:27
Can't reproduce.