New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"sketch has been modified" message cannot be dismissed. #3898

Closed
hillmark opened this Issue Sep 29, 2015 · 7 comments

Comments

Projects
None yet
3 participants
@hillmark

hillmark commented Sep 29, 2015

When opening 2.x sketches a modal dialog is presented, which states: "Your sketch has been modified externally. Would you like to reload the sketch?"

This dialog cannot be dismissed regardless of the action, and a forced restart is required.

Not a huge problem, but worth noting.

Thanks.

@benfry

This comment has been minimized.

Show comment
Hide comment
@benfry

benfry Sep 29, 2015

Member

What version of Processing are you using? What operating system? Where is the sketch stored?

It has nothing to do with opening a 2.x sketch; it's about your machine and where the files are stored.

Member

benfry commented Sep 29, 2015

What version of Processing are you using? What operating system? Where is the sketch stored?

It has nothing to do with opening a 2.x sketch; it's about your machine and where the files are stored.

@hillmark

This comment has been minimized.

Show comment
Hide comment
@hillmark

hillmark Sep 29, 2015

I'm running 3.0b7 on 10.10.3 (Yosemite)

Yes, you're right it's about where the file is stored. I was attempting to open an archived sketch from a folder stored on an SD card, which works okay for 2.x

I can confirm that opening a 2.x sketch from a folder on the local file system is working fine.

hillmark commented Sep 29, 2015

I'm running 3.0b7 on 10.10.3 (Yosemite)

Yes, you're right it's about where the file is stored. I was attempting to open an archived sketch from a folder stored on an SD card, which works okay for 2.x

I can confirm that opening a 2.x sketch from a folder on the local file system is working fine.

@benfry

This comment has been minimized.

Show comment
Hide comment
@benfry

benfry Sep 29, 2015

Member

Ok, so that means #3387 is not fixed.

And the dialog box keeps popping up even if you click yes or no?

Member

benfry commented Sep 29, 2015

Ok, so that means #3387 is not fixed.

And the dialog box keeps popping up even if you click yes or no?

@benfry benfry changed the title from Opening 2.x sketch in 3.x modal dialog cannot be dismissed - os x to "sketch has been modified" message cannot be dismissed. Sep 29, 2015

@benfry benfry added this to the 3.0 final milestone Sep 29, 2015

@hillmark

This comment has been minimized.

Show comment
Hide comment
@hillmark

hillmark Sep 29, 2015

That's correct, the modal cannot be dismissed by clicking yes or no, hence the forced restart.

hillmark commented Sep 29, 2015

That's correct, the modal cannot be dismissed by clicking yes or no, hence the forced restart.

@benfry

This comment has been minimized.

Show comment
Hide comment
@benfry

benfry Sep 30, 2015

Member

Can you try quitting Processing, then opening ~/Library/Processing/preferences.txt and changing this line:
editor.watcher.debug = false
to
editor.watcher.debug = true
and try running Processing after that? It should print some text to the console about why it thinks the file has changed. Can you report that back here?

Member

benfry commented Sep 30, 2015

Can you try quitting Processing, then opening ~/Library/Processing/preferences.txt and changing this line:
editor.watcher.debug = false
to
editor.watcher.debug = true
and try running Processing after that? It should print some text to the console about why it thinks the file has changed. Can you report that back here?

@JakubValtar

This comment has been minimized.

Show comment
Hide comment
@JakubValtar

JakubValtar Sep 30, 2015

Contributor

@hillmark Also could you please send a list of files in your sketch folder with visible extensions? Printscreen of the sketch folder is enough. We think there might be some funny filename causing the problems. Thanks.

Contributor

JakubValtar commented Sep 30, 2015

@hillmark Also could you please send a list of files in your sketch folder with visible extensions? Printscreen of the sketch folder is enough. We think there might be some funny filename causing the problems. Thanks.

@hillmark

This comment has been minimized.

Show comment
Hide comment
@hillmark

hillmark Sep 30, 2015

I've been able to isolate what appears to be the issue. The external SD in question is ExFAT, which means that when these sketches were originally copied ._ prefixed counterparts were automatically created as a way to handle HFS+ metadata unsupported by ExFAT.

I've created an isolated case using one of the example sketches, and found that by adding a ._ prefixed .pde, such as ._Foo.pde file replicates the problem, and ._ files without a .pde extension work fine.

screen shot 2015-09-30 at 09 09 01

@benfry in answer to your request for a console log, here's the output produced:

screen shot 2015-09-30 at 09 26 34

Thanks.

hillmark commented Sep 30, 2015

I've been able to isolate what appears to be the issue. The external SD in question is ExFAT, which means that when these sketches were originally copied ._ prefixed counterparts were automatically created as a way to handle HFS+ metadata unsupported by ExFAT.

I've created an isolated case using one of the example sketches, and found that by adding a ._ prefixed .pde, such as ._Foo.pde file replicates the problem, and ._ files without a .pde extension work fine.

screen shot 2015-09-30 at 09 09 01

@benfry in answer to your request for a console log, here's the output produced:

screen shot 2015-09-30 at 09 26 34

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment