processing/processing

Exported application fails to run when a "+" is present in the filepath

Open

#4366 opened on Mar 21, 2016

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Java (6,431 stars) (1,540 forks)batch import
help wanted

Description

It appears that when an exported application contains a "+" anywhere in it's filepath an application won't launch properly. This only seems to happen when the sketch calls loadImage(), and I've only tested this on windows 8. When I try to launch the application I just get a blank grey screen, like what happens when you run a sketch without drawing anything. Seems like loadImage() just doens't work if there is a "+" in the filepath.

PImage image;
void setup()
{
  size(400,400);
  fill(255,0,0);
  stroke(0);
  strokeWeight(10);

  image=loadImage("test.png");
}

void draw()
{
  image(image,random(360),random(360),40,40);
}

Edit: can now confirm this also happens on windows 7

Contributor guide