3x380V

Results 205 comments of 3x380V

I'm not aware of anything special bisecting FreeCAD code. Do you have an idea where such chapter should live? A new `codedebugging` directory?

@luzpaz, not sure @wwmayer noticed, since you mentioned someone else...

@ppemawm, since Assembly4 is not working with current version of FreeCAD, this bug will hardly see any progress. I just tried again [link_sketch-bug.zip](https://github.com/FreeCAD/FreeCAD/files/13908002/link_sketch-bug.zip) with current FreeCAD at commit 7d738f161a64b1f and...

@ppemawm, I cannot reproduce that one either. Sketch opens at Body origin.

@ppemawm, I see, _activating link_ is what breaks it. However, I do not see how https://github.com/FreeCAD/FreeCAD/commit/a3c4f4b makes it worse. Just optimized it https://github.com/3x380V/FreeCAD/commit/7ddd97b2e74788731a99c81d39e6728f38c7f4f9 to make more obvious what it does....

That suspicious commit noted in the issue description is misleading to say the least. With ``` OS: Debian GNU/Linux 12 (bookworm) (GNOME/gnome) Word size of FreeCAD: 64-bit Version: 0.20.2. Build...

@Syres916 investigation was repeated, after 12 iterations `git bisect` showed the very same commit: ``` a3c4f4bb01f5201daf666852444a8f9c5adbda8d is the first bad commit commit a3c4f4bb01f5201daf666852444a8f9c5adbda8d Author: wmayer Date: Fri May 12 23:59:45...

https://github.com/FreeCAD/FreeCAD/blob/ff40ef3586bfa041e01d0d9e3ad176382f4ccfc5/src/Mod/PartDesign/Gui/Utils.cpp#L92 is calling https://github.com/FreeCAD/FreeCAD/blob/ff40ef3586bfa041e01d0d9e3ad176382f4ccfc5/src/Gui/ActiveObjectList.cpp#L40-L58 with `resolve = true`, thus _Link_ is resolved to a _Body_ it is pointing to. This was not a problem prior #9557 as _Link_ itself was...

...above does not fix original problem in [link_sketch-bug.zip](https://github.com/FreeCAD/FreeCAD/files/13908002/link_sketch-bug.zip) ` Document.cpp(386): Invalid sub object 'link_sketch_bug#Assembly.Sketch002.'` While reason is obvious, solution is not ;-)

@wwmayer, I thought we already proved your commit just revealed other problems, although it is the one after described behavior began to manifest itself. Independent bisecting done by @Syres916 and...