Closing IDE while graphics banks are opened destroys project file
Closed this issue · 8 comments
(windows 10, last build)
- Create new project from template "hello world" (ca65)
- Open tab with graphics banks
- Close IDE - if asks "save changes?" - press "Yes".
Result: Hello world.nesproject is empty.
I am unable to reproduce this in https://bintray.com/christopherpow/nesicide/nesicide/1.0.107#files
FWIW I tried both OSX and Windows builds and am unable to reproduce given the steps.
Hmm....
I reproduce it very easily. I may make video of process.
Maybe content of global IDE settings are important?
I add CSPSoftware/NESICIDE.ini here in attach.
Also my manual settings after archive unpack are:
- uncheck 'Show welcome on startup...."
- Editor/encoding -> utf-8
- Tabs -> 8
- uncheck 'replace Tabs with spaces...'
NESICIDE.zip
Projects are created in dir c:\devel\nes\
Well, with this release: https://bintray.com/christopherpow/nesicide/nesicide/1.0.107#files I could not reproduce it too. But it's extremly unstable and even crashes while opening my example project from latest version. Well, it's strange. I'll monitor future versions.
I have been seeing crashes on project opening occasionally. I am not yet sure of the cause.
RE the crashes can you try with https://bintray.com/christopherpow/nesicide/nesicide/1.0.109#files
And also let me know if it crashes when you're already running a ROM in the emulator, or if the emulator is paused, or both? I think it's caused by some inappropriate threading behavior when a project is being shut down.
https://bintray.com/christopherpow/nesicide/nesicide/1.0.109#files
My steps:
- download, unpack, run
- goto preferences: uncheck 'show welcome', set utf-8, tabs=8, uncheck 'replace by spaces'
- open project c:\devel\nes\Example04 (I add it in attach)
CRASH (IDE just dissapears) - run it again and open project again
For 1 second I see project tree, but then IDE shuts down like I close it myself.
Example04.zip
Old version works normally with project, but contains bug of this topic.
P.S.
By the way, Nesicide often disappers after changing IDE preferences first time. But preferences are changed. I never reported it because could not find pattern.
@aa-dav latest build https://knob.phreneticappsllc.com/nesicide/?s=download seems pretty stable on Windows. Let me know. Also, your Example04 project seems to have double-newlines, which appears to throw off the execution-line marking. I'm not sure if that's caused by the project wizard creating the project or when it's saved as utf8.