FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 294 : hitting F10 causes cursor to appear when using noCursor()
Last modified: 2006-02-24 11:52
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
WONTFIX -
Pr
i
ority:
P5
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
electrotwit
Assigned To:
fry
Attachment
Type
Created
Size
Actions
Description
: Opened: 2006-02-24 05:51
when using noCursor(), and mouse is not pressed, hitting F10 causes the
cursor to re-appear. clicking twice it usually dissappears again. This
does not happen when the mouse is pressed while F10 is pressed.
I believe it's due to windows default keyboard shortcut for F10:
"Activate the menu bar in the active program."
still- there must be some way to disable or prevent this (as there is no
menu bar for processing applications)
the following code (modified from an example) shows the bug:
void setup() {
noCursor();
size(200, 200);
background(102);
}
void draw() {
stroke(255);
if(mousePressed) {
line(mouseX, mouseY, pmouseX, pmouseY);
}
}
Additional Comment
#1 From fry 2006-02-24 11:51
this is an os problem, not something we can get at through java.