View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003443||FreeCAD||Feature||public||2018-04-23 14:18||2018-10-07 21:30|
|Platform||Windows||OS||Windows 10||OS Version||Windows 10|
|Target Version||0.18||Fixed in Version||0.18|
|Summary||0003443: FreeCAD should ignore 'create new document at startup' if given files at command-line|
|Description||As per this forum thread: |
FreeCAD currently (0.17.12852 (Git)) pedantically adheres to the 'create new document at startup' preference. Even when specifying which files to open at the command-line. Probably, it should not open a new document when being told what to open otherwise; even when that preference is set to true.
Alternatively, if that suggestion is not an acceptable change in behavior, I'd suggest adding a command-line flag or syntax to override the behavior of the preference from the command-line.
Use case quoted from above:
[i]I am pipelining FreeCAD into a larger content management system.
I have it to the point that my system opens FreeCAD via command-line and specifies a file to open in that command-line.
However, when I open FreeCAD this way, it pedantically adheres to the preference for, "create new document at startup."
That is to say: I end up with two files open if this preference is set to True. First, the one I specified on the command-line, and also a new, "Unnamed" file. And yes, if I turn off that preference, I get just the file on the command-line without the "Unnamed" file.
|Steps To Reproduce||Turn on the user preference: Create New Document at Startup|
Open a command-line and use it to start FreeCAD specifying a file to open on the command-line
You will see it creates a new "Unnamed" document along side the one it opened.
|Additional Information||OS: Windows 10|
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.12852 (Git)
Build type: Release
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: English/UnitedStates (en_US)
|Tags||No tags attached.|
|2018-04-23 14:18||bfriedman||New Issue|
|2018-04-23 20:41||Kunda1||Target Version||=> 0.18|
|2018-10-06 05:51||TheMarkster||Note Added: 0011940|
|2018-10-07 21:30||wmayer||Assigned To||=> wmayer|
|2018-10-07 21:30||wmayer||Status||new => closed|
|2018-10-07 21:30||wmayer||Resolution||open => fixed|
|2018-10-07 21:30||wmayer||Fixed in Version||=> 0.18|
|2018-10-07 21:30||wmayer||Note Added: 0011960|