nav111 / heekscnc

Automatically exported from code.google.com/p/heekscnc
Other
0 stars 0 forks source link

Too many "save changes" dialogs (only with HeeksCNC enabled) #205

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open HeeksCAD
2. Open a *.heeks file (e.g. Test.heeks) => Popup: "Save changes to
Untitled.heeks?"
3. Do nothing with the opened drawing!
4. Close HeeksCAD => Popup: "Save changes to Test.heeks?" (Even when saving
just before closing)

What is the expected output? What do you see instead?
Only ask for saving when there is really a change.

What version of the product are you using? On what operating system?
HeeksCAD SVN:1165 (Ubuntu 10.04)

Please provide any additional information below.
Aaahh, I just wondered, if I should have reported this to the HeeksCAD
issue list instead of HeeksCNC. To cross check I tried this without the
HeeksCNC plugin enabled: Bingo! No annoying "Save changes" dialogs. So
something in the HeeksCNC plugin does already something to the data and
renders it as "changed".
OK, found the reason for that: HeeksCNC adds the tooltable and the
materials definitions, even when no machining operation was defined yet.

What about having the first entry below "Machining" with a checkbox to
switch Machining on and off. When off, the Machining menu items are grayed
out. On switching on the menu items will be active and the additional data
(tooltable, material) will be added to the geometric data.

Or another variation: Have a plugin menu item, where you can switch on and
off the available plugins (assuming that we would have more plugins in the
future). The "Machining" menu would then appear or disappear accordingly.
Loading a heeks-file with CNC definitions would automatically enable the
necessary plugins. If necessary plugins are missing, the heeks-file could
be treated as read-only forcing a "Save as" without the plugin definitions.

Just a few wild thoughts...

I suggest "Defect" or "Enhancement" with "Low" priority.

Guido

Original issue reported on code.google.com by g.mue...@gmail.com on 27 May 2010 at 8:58

GoogleCodeExporter commented 8 years ago
I have fixed this now.
It should have been clearing the undo history of HeeksCAD after all the tools,
materials, etc. had been added.

Original comment by danhe...@gmail.com on 2 Jun 2010 at 1:09

GoogleCodeExporter commented 8 years ago
Not realy fixed.

It's better but not fixed.
1. start heekscad
2. open drawing
3. save drawing
4. exit heekscad
that's ok. no popup.

but the folowing 
1. start heekscnc
2. open drawing 
3. exit heexcad
.... got popup.

the file is same in both cases.
SVN 1183 WinXp

Slavko.

Original comment by eslavko@gmail.com on 2 Jun 2010 at 6:07

GoogleCodeExporter commented 8 years ago
... and save isn't real save but save AS.

Every time I hit Ctrl S I got window to chose filename and as the filename is 
same
then another popup that this file already exist.

It should be very nice to have Save (ctrl S) to be silent. (no questions about
filename just save with name already known)
But that introduce requierment for Save AS.

Original comment by eslavko@gmail.com on 2 Jun 2010 at 6:18

GoogleCodeExporter commented 8 years ago
Not really fixed:
OK, I have repeated the problem again.
It depends which file you open. I think the problem is related to sketches in 
profile
operations again.

Save/"Save As" has been asked for already
http://code.google.com/p/heekscad/issues/detail?id=151   but not done yet. 
Sorry.

Original comment by danhe...@gmail.com on 2 Jun 2010 at 7:44

GoogleCodeExporter commented 8 years ago
I have found a HeeksCAD only problem, which I am hoping is related.

Run HeeksCAD only.
Draw a closed sketch with "Draw a sketch". I drew a triangle.
Save file as "sketch.heeks".

( optionally ) Start HeeksCAD again.
Open "sketch.heeks".
Exit HeeksCAD.
 The "Save changes..." popup appears.

Original comment by danhe...@gmail.com on 2 Jun 2010 at 9:01

GoogleCodeExporter commented 8 years ago
This is fixed now.

Original comment by danhe...@gmail.com on 23 May 2011 at 8:28