View Issue Details

IDProjectCategoryView StatusLast Update
0004047DraftBugpublic2019-07-08 21:29
ReporteropenBrain Assigned Toyorik  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Summary0004047: Draft/Shape2DView object locks document edit
DescriptionWhen a Draft/Shape2DView is double-clicked, it enters edit mode (despite it doesn't support it) - yellow background on the tree view -. The main issue is that by doing so, it prevent further document editing (like deleting an object fro example).
Clearing document edit (by Python or eg. creating/editing a sketch) is a way to recover normal behavior.
Forum thread
Steps To Reproduce
  1. Create a blank new document and go to Draft WB
  2. Draw any shape (eg. a rectangle)
  3. Select it and use [wiki]Draft Shape2DView[/wiki] on it
  4. Double-click on the resulting Shape2DView object => The report view shows a "This object type is not editable" message (0.18 version) but the Shape2DView object is nonetheless placed in "edit mode" (yellow background on the tree view). From there, there is no easy solution for eg. delete an existing object (try to delete the first shape, only a recompute is done but it's not deleted).
Additional InformationProblem may exist with other types of object
OS: Ubuntu 18.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.1.
Build type: Release
Python version: 2.7.15rc1
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: French/France (fr_FR)

OS: Ubuntu 18.04.2 LTS (KDE/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19. // 2019/06/29
Build type: Release
Python version: 3.6.8
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: French/France (fr_FR)

OS: Windows 8.1
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.17171 (Git)
Build type: Release
Branch: master
Hash: d19470a9711ea604f3ca6c93e46afadf64d5bb87
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Bulgarian/Bulgaria (bg_BG)
TagsNo tags attached.
FreeCAD Information

Activities

yorik

2019-07-08 21:29

administrator   ~0013338

Fix committed to master branch.

Related Changesets

FreeCAD: master afed22ef

2019-07-08 21:28:41

yorik

Details Diff
Draft: Fixed bug in edit mode - Fixes 0004047 Affected Issues
0004047
mod - src/Mod/Draft/DraftEdit.py Diff File
mod - src/Mod/Draft/DraftTools.py Diff File

Issue History

Date Modified Username Field Change
2019-07-02 18:15 openBrain New Issue
2019-07-08 21:29 yorik Changeset attached => FreeCAD master afed22ef
2019-07-08 21:29 yorik Note Added: 0013338
2019-07-08 21:29 yorik Assigned To => yorik
2019-07-08 21:29 yorik Status new => closed
2019-07-08 21:29 yorik Resolution open => fixed