I noticed that some .lbrn2 files, not all, show the file change indicator (*) in window title immediately upon opening the file. Does anyone know why ?
It’s a little unnerving to see an indicator that something changed where the only action was to open the file. I haven’t yet recognize a pattern as to which files this occurs to and which files don’t. However, if it occurs once to a file, it appears to be consistent with that file thereafter.
Are you using the Open command or the Import command? I just tried this and if I use Import, I get the *.
You should use import for bringing graphic files into your project, not for opening projects unless there are elements from that project you wish to incorporate into the current project.
I’m using Open, but thanks for differentiation those functions.
It doesn’t matter if I Open the .lbrn2 file with double click from Win Exploder or File-Open from within LB upon launching LB. Again, its NOT occurring to all files, in fact it’s only occurring to fewer than most. However, when it occurs to a file, its consistently doing it at every Open for that file.
Now that I give further thought to recalling these occurrences with different files in the past 2 months, I’m going to lean towards it occurring to most of my more complex files, perhaps 50 shapes or more, usually a nested arrangement of duplicate shapes and groups of shapes. That’s about as much of a pattern as I can come up with at this time.
I have now sent this latest .lbrn2 file to LB support@lightburnsoftware.com with reference to this post. The file is not a drawing that I can share publicly for business reasons.
We have received your .LBRN2 file. Thank you.
I can confirm the file change indicator (*) appearing right after opening the file. Saving the file and reopening it, it doesn’t happen again.
Comparing the files before and after saving, I see the change could be related to the currently selected laser:
The (*) appears only when I have my Ruida selected as the default device. (Origin top left) not when i have the Ortur LM2 per default. (origin front left)
Do you have multiple default lasers and recently changed the default one?
Thanks for the quick look at this.
Yes, I have 7 or 8 Device profiles, some different CNCs, but also variations of same units.
So I recall a day or so ago that i altered the device settings in my default device profile, changing the ‘Working Size’ ‘Width’ and ‘Height’ values. I believe that was after opening a previous version of this file, then doing a Save As to create a new instance. The file has been saved numerous times since, so the discovery you made makes perfect sense in your use case, but in mine I have not changed my device profile since that one time of editing it early on in the file design workflow, with numerous saves of the .lbrn2 since and numerous close/open of LB app. So I’m still confused.
more data… I just copied the .lbrn2 file to preserve the original. I Opened the copy, same result as expected, change indicator is ON. I Save the file (like you did). Close LB. Double click the now Saved copy, change indicator is ON (unexpected).
Am I miss understanding your description of the solution ?
well, adding some more clues to the puzzle perhaps…
after closer exam of your file compare screen shot, I noticed the diffs were related in part to ‘cut selected’, ‘use selected origin’, and cut origin values. So I changed those three attributes on the Laser window, Saved the file, re-Opened the file… file change indicator is OFF However, when I close LB, I get the pop up window Save Project? yes/no/cancel msg. Again, the file change indicator is OFF in this case.
I was unable to reproduce what you are explaining in LB version 1.6.03.
When the * file change indicator is off, i’m not (and should not be) prompted to save the file if i just open it and don’t change anything.
@Aaron.F ,
I understand what you are describing, but that is not the scenario I have performed. Let’s try another scenario please. Same file I sent to support line the other day.
I Open it with LB via double click from Win Expl.
change indicator is ON upon open, fine.
I click on the pallet, Ctrl+A to select all, Edit-Copy
File-New, don’t save original file
Edit-Paste
Save, give it a name, newone.
Close LB
double click ‘newone’ in Win Expl
change indicator is ON.
Nothing at all changed with the Device profile name etc. in this scenario.
Also, I get the same result if I launch LB without a target file, Open original, copy, paste, save newone, close LB, launch LB, open newone, change flag ON.
after some further testing, this does not seem to be .lbrn2 file specific. I’m getting the change indicator ON for everything now, so perhaps my .ini file is hosed. I just sent LB Support line the Help-Support Data dump.
please advise how I may recover and preserve my Device Profiles in whole or in part.
Thanks.
When opening the file, are you opening it using the same device profile as you saved it with? If not, and the origin location is different than what the file was saved with, the file will be automatically flipped to the correct orientation, and this will flag it as changed.
Edit: For a moment I suspected it might be the “Cut Selected” thing being updated when the file loads, because clicking that toggle will change the file state, but when loading, it doesn’t alter it.
yes, same device as when it was saved, originally days ago and many times since. The change indicator continues to be ON immediately upon open. So if I understand you description correctly, and that of Aaron, it seems logical then that a simple Save solves the issue, but it’s not solving it. Please correct if I misunderstand.
Also the scenario I just posted 3 hours ago has no action involving changing the device profile or settings of the default device profile.
So in my impatience since, I have Exported 3 of the device profiles I wish to keep (of 7 or so I had defined), uninstalled LB and reinstalled twice, only to have the same thing- change indicator ON after loading a file, and that was using a freshly defined ‘No Machine’ device, and not having loaded the 3 devices I had earlier Exported.
So… I uninstalled again, and then renamed the [user]\AppData\Local\Lightburn folder to disable it, then installed again. That seems to have forced an install creating a fresh and default .ini or other prefs.
This procedure seems to have solved my OP issue.
I was doing that when I noticed you had just posted, thus the brief testing I’ve done so far seems to show the issue is fixed now; both with the busy original .lbrn2 I sent you the other day, and with a few new ones I just created.
If the issue resurfaces, I’ll write to LB Support line.
I have preserved the prior AppData\Local\Lightburn folder if you want a zipped copy of it, let me know.
Thanks.
Thanks. I wasn’t able to make it happen here either, and I tried a few variations of having different origins, different settings for “save Cut Selected” and the like, and it all behaved as expected. Not saying there couldn’t be an issue, but I wasn’t able to repro it. If it happens again, or you’re able to narrow it down, let us know.
@Aaron.F , @LightBurn , ok, while re-establishing preferences via LB Settings tool I broke it again. On that window, File Settings, turning ON option ‘Save Job Origin to project’ seems to trip the OP behavior, which is file change indicator is ON upon Opening a .lbrn2 project. Turning OFF ‘Save Job Origin to project’ repairs the behavior. Nothing was changed with the default device or it’s settings.
LB v1.6.03
That’s a good hint - I’ll have a look at the code that updates that. It’s likely that when the project is loaded and it updates the control, the change to the control is in turn telling LB the project has been modified. Shouldn’t be a hard fix. Thanks for the follow up - much appreciated.