File with ProjectionGroup always marked as edited

Discussions about the development of the TechDraw workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
chrisb
Veteran
Posts: 53934
Joined: Tue Mar 17, 2015 9:14 am

File with ProjectionGroup always marked as edited

Post by chrisb »

When loading a file containing a TechDraw page with a ProjectionGroup, the file is diretly after loading marked as changed.

To reproduce:
- Load the attached file.

-> Without any change the file is marked as changed.

Code: Select all

OS: macOS 10.16
Word size of FreeCAD: 64-bit
Version: 0.21.0.32198 (Git)
Build type: Release
Branch: master
Hash: f51b2156f35399cab38eef1e957a59ad5a11de66
Python 3.10.9, Qt 5.15.6, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: C/Default (C)
Installed mods: 
  * FC_SU
  * DynamicData 2.46.0
  * freecad.gears 1.0.0
  * FeedsAndSpeeds 0.5.0
  * dxf-library
  * fcgear 1.0.0
  * fasteners 0.4.54
  * sheetmetal 0.2.61
  * ExplodedAssembly
  * Curves 0.6.8
Attachments
TDLoad.FCStd
(5.43 KiB) Downloaded 22 times
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
user1234
Veteran
Posts: 3345
Joined: Mon Jul 11, 2016 5:08 pm

Re: File with ProjectionGroup always marked as edited

Post by user1234 »

There are more recompute issues atm, but i would not bother as long it works and there is no release atm, since pretty every new addition in TechDraw, this is somehow affected.

Greetings
user1234
chrisb
Veteran
Posts: 53934
Joined: Tue Mar 17, 2015 9:14 am

Re: File with ProjectionGroup always marked as edited

Post by chrisb »

user1234 wrote: Tue Mar 14, 2023 8:21 am but i would not bother as long it works
You are right it's not a big issue. I was working on a rather big file, which I have sometimes open for quite some time even while working on other stuff (e.g. looking at forum posts :) ). If I want to track if I have unsaved changes I have to save the file just after reopening. And since I had to do some serious fixes, I would avoid overwriting my automatic backup files one by one.

My solution for now is to set KeepUpdated=false, which does now pretty much what I want.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
user1234
Veteran
Posts: 3345
Joined: Mon Jul 11, 2016 5:08 pm

Re: File with ProjectionGroup always marked as edited

Post by user1234 »

Yes, for tracking it is not good atm. The problem is, even when this is fixed, it takes only a few days/weeks, then the issue appears again, since wandererfan is atm working heavy on TechDraw (alone). And as on every work, there are chips falling (which is normal). Just said, a few weeks ago there were some real reloading issues. Now it works much better.

Greetings
user1234
Post Reply