View Issue Details

IDProjectCategoryView StatusLast Update
0003036DraftBugpublic2017-10-10 11:55
Reporterwtrssn Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionunable to reproduce 
PlatformMACOSMac OsOS Version10.12.4
Product Version0.16 
Summary0003036: Draft -> Clone feature doesn't work when you open file directly
DescriptionOn Mac OS 10.12.4 with FreeCad 0.16

If FreeCad is off and you open a * .FCStd file directly with double click and you try to make a clone (for example a cube), the clone is created but not seen, if you try to set the visibility = true, nothing changes, The clone can be seen.

If FreeCad is turned on and you open a * .FCStd file from the File menu, and you try to make a clone (for example a cube), the clone is created and viewed.
Steps To Reproduce1. if it is on, turn off the FreeCad application.
2. open a previously created * .FCStd file with double click.
3. Try to make a clone of a cube.
4. The clone is created but is invisible and inaccessible.
TagsClone
FreeCAD Information

Relationships

related to 0003066 closedyorik PartDesign Draft clone fails with "name 'Draft' is not defined" if used first time in Draft workbench 

Activities

Kunda1

2017-05-17 16:40

administrator   ~0009044

Please ask in the forum and always post your Help > About FreeCAD > Copy to clipboard when asking for help.

Kunda1

2017-05-19 11:55

administrator   ~0009056

@wtrssn ping

Kunda1

2017-05-26 16:23

administrator   ~0009150

@chrisb can you reproduce?

Kunda1

2017-06-02 00:12

administrator   ~0009249

@Abdullah can you assist in determining how to proceed?

wtrssn

2017-06-02 07:28

reporter   ~0009252

Hi kunda1! tell me how could I help you?

Kunda1

2017-06-02 10:35

administrator   ~0009253

@warssn please follow up my request in 0003036:0009044
Also to get more attention, the most ideal way is to open a ticket on the FC forums. Especially with 0.16 issues since there is a high probability it's fixed already in 0.17

Kunda1

2017-06-02 11:49

administrator   ~0009254

@wtrssn ^

abdullah

2017-06-10 23:20

manager   ~0009339

It is weird. With:
OS: Ubuntu 16.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.11215 (Git)
Build type: None
Branch: master
Hash: 369cc735e1095557dc05d33c4520203c9c7b79b0
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0

I cannot reproduce it because I get an error right away:

Running the Python command 'Draft_Clone' failed:
Traceback (most recent call last):
  File "/usr/lib/freecad-daily/Mod/Draft/DraftTools.py", line 4832, in Activated
    self.proceed()
  File "/usr/lib/freecad-daily/Mod/Draft/DraftTools.py", line 4841, in proceed
    FreeCADGui.doCommand("Draft.clone(FreeCAD.ActiveDocument."+obj.Name+")")
  File "<string>", line 1, in <module>

name 'Draft' is not defined

the work-around is to write in the python console "import Draft"...

This is fixed in:
OS: Ubuntu 16.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.11266 (Git)
Build type: None
Branch: master
Hash: ab1b344410600b7d694abf6bb4ff2b71769978c5
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0

In the latter I cannot reproduce the reporters issue. I open from the filemanager, switch to Draft WB, select my object (this may even be hidden) and the resulting clone is (nevertheless) shown.

Kunda1

2017-08-21 20:22

administrator   ~0009985

@wmayer can I close this?

wmayer

2017-08-25 09:56

administrator   ~0010005

No, it should be checked if wtrssn or someone else with macOS can still reproduce the issue. IMO, this could be a macOS specific issue because there the mechanism to open a file by double-click works completely different compared to Linux or Windows.

For further details have a look at: http://doc.qt.io/qt-5/qfileopenevent.html

Kunda1

2017-08-25 12:38

administrator   ~0010007

@peterl94 please weigh in on the OSX related ticket...? Thanks!

peterl94

2017-08-26 20:18

developer   ~0010010

I can't reproduce the issue with:

OS: Mac OS X [10.12.5]
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6712 (Git)
Build type: Release
Branch: releases/FreeCAD-0-16
Hash: da2d364457257a7a8c6fb2137cea12c45becd71a
Python version: 2.7.11
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17

@wtrssn, does it always happen? Does it show up if you change its position after you open it?

@Kunda1, I would close this issue if @wtrssn doesn't respond.

Kunda1

2017-09-25 13:07

administrator   ~0010189

No response from @wtrssn
Resolving.

Issue History

Date Modified Username Field Change
2017-05-17 15:58 wtrssn New Issue
2017-05-17 15:58 wtrssn Tag Attached: Clone
2017-05-17 16:40 Kunda1 Note Added: 0009044
2017-05-17 17:30 Kunda1 Status new => feedback
2017-05-19 11:55 Kunda1 Note Added: 0009056
2017-05-26 16:23 Kunda1 Note Added: 0009150
2017-06-02 00:12 Kunda1 Note Added: 0009249
2017-06-02 07:28 wtrssn Note Added: 0009252
2017-06-02 07:28 wtrssn Status feedback => new
2017-06-02 10:35 Kunda1 Note Added: 0009253
2017-06-02 11:48 Kunda1 Summary Draft -> Clone don feature Does not work when you open file directly => Draft -> Clone feature Does work when you open file directly
2017-06-02 11:48 Kunda1 Summary Draft -> Clone feature Does work when you open file directly => Draft -> Clone feature doesn't work when you open file directly
2017-06-02 11:49 Kunda1 Note Added: 0009254
2017-06-02 15:37 Kunda1 Relationship added related to 0003066
2017-06-10 23:20 abdullah Note Added: 0009339
2017-08-21 20:22 Kunda1 Note Added: 0009985
2017-08-21 20:22 Kunda1 Tag Attached: #tobeclosed
2017-08-25 09:56 wmayer Note Added: 0010005
2017-08-25 12:38 Kunda1 Note Added: 0010007
2017-08-26 20:18 peterl94 Note Added: 0010010
2017-09-25 13:07 Kunda1 Status new => resolved
2017-09-25 13:07 Kunda1 Resolution open => unable to reproduce
2017-09-25 13:07 Kunda1 Note Added: 0010189
2017-10-10 11:55 Kunda1 Status resolved => closed
2017-10-10 11:55 Kunda1 Tag Detached: #tobeclosed