Bug #7342 - shapebinder selection color persists after task close

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
User avatar
quiret
Posts: 72
Joined: Wed Jun 15, 2022 1:23 pm
Location: Germany
Contact:

Bug #7342 - shapebinder selection color persists after task close

Post by quiret »

Problem description:
The selection color of shape binders stays on the sketcher geometry even though the task which colored it no longer exists. After deleting the shape binder the color persists aswell. This problem even persists across saving the FreeCAD document.

phpBB [video]


Steps to reproduce:
1. create a sketcher geometry
2. create a shape binder which selects the previously created sketcher geom,
on a edge-by-edge basis
3. click on Add Geometry and then click OK. You will see that the geometry
is purple even though we have left the task
4. edit the shape binder and remove one edge, then click OK. You will see
that the geometry is no longer purple.
5. edit the shape binder, then click Add Geometry and click OK. The geom
is purple again, minus the one edge.
6. again edit the shape binder, then click Add Geometry, click on the previously
removed edge, adding it back into the list, but click Cancel instead. You
will see that the geometry is purple.
7. again edit the shape binder, then click on Add Geometry, finally click on the
previously removed edge. This time the geometry stays purple even though
you have added the last one to the list.
8. click on OK, then delete the shape binder from the FreeCAD document. You
will see that the sketcher geometry stays purple even though the shape
binder which created the selection color no longer exists.

FreeCAD document file after the steps: https://green-candy.osdn.jp/external/fo ... _bug.FCStd

FreeCAD version:

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.29177 (Git)
Build type: Release
Branch: releases/FreeCAD-0-20
Hash: 68e337670e227889217652ddac593c93b5e8dc94
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.2
Locale: English/Germany (en_DE)
Last edited by Kunda1 on Tue Apr 18, 2023 2:06 pm, edited 1 time in total.
Reason: Added github issue to title
User avatar
NewJoker
Veteran
Posts: 3017
Joined: Sun Oct 11, 2020 7:49 pm

Re: Bug: shape binder selection color persists after task close

Post by NewJoker »

I can confirm this but you don't need that many steps to reproduce it. The sketch stays purple already after the third step so steps 1-3 are sufficient.

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.21.29997 (Git)
Build type: Release
Branch: master
Hash: b52967d52ac46eff7c59e74d991f3f5b298944ef
Python 3.10.5, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.2
Locale: Polish/Poland (pl_PL)
User avatar
quiret
Posts: 72
Joined: Wed Jun 15, 2022 1:23 pm
Location: Germany
Contact:

Re: Bug: shape binder selection color persists after task close

Post by quiret »

NewJoker wrote: Mon Aug 08, 2022 6:56 pm I can confirm this but you don't need that many steps to reproduce it. The sketch stays purple already after the third step so steps 1-3 are sufficient.

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.21.29997 (Git)
Build type: Release
Branch: master
Hash: b52967d52ac46eff7c59e74d991f3f5b298944ef
Python 3.10.5, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.2
Locale: Polish/Poland (pl_PL)
Thank you, NewJoker! The remaining steps are for maximizing the error situation.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Bug #7342 - shapebinder selection color persists after task close

Post by Kunda1 »

Bumping for issue #7342 visibility
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Post Reply