processing/processing

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

Closed

#4,366 opened on Mar 21, 2016

 (2 comments) (0 reactions) (0 assignees)Java (1,540 forks)batch import
help wanted

Repository metrics

Stars
 (6,431 stars)
PR merge metrics
 (No merged PRs in 30d)

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