[False alarm] Open File replaces existing tab

  1. start FC
  2. Open an existing design
  3. Open another existing design from the same directory as first one (this seems to be the differentiator)
    [*}FC opens the file in the existing tab, drops the first file and creates a new, empty “Unnamed” document

This only happens if the first document is clean and I don’t change the directory in the file open dialog. It doesn’t seem to matter if one uses the menu File->Open, the tool box button for file open or select one of File->Recent files (assuming it’s in the same directory as the already opened file).

Anybody else seeing this behaviour?

OS: Debian GNU/Linux stable-updates (sid)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15308 +2 (Git)
Build type: Debug
Branch: origin/feature/job-multi-base-copies
Hash: a4a2d5220333504f6ecc91732bf724441fd6f5ea
Python version: 2.7.15+
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/Canada (en_CA)

Nope. Seems to work as expected here:
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15252 (Git)
Build type: Release
Branch: master
Hash: 652e1dbdd0fb74f1d3df8034254281df9c24aae6
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: Russian/RussianFederation (ru_RU)


It might be related… If I create a new (empty) project, and then load an existing one, the empty project vanishes (is replaced by opened project). But it’s not buggy, it is only dropped if it’s really empty - if I add a box before opening an existing project, the new project is kept.

No problems here either. Doesit depend on the workbench opened? Do you use start workbench with special actions after loading? You may try resetting your config.

OS: Ubuntu 16.04.5 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15302 (Git)
Build type: Release
Branch: master
Hash: 2e03d2f298677b8212c22cbbc3cb20b7c80eabb5
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)

Good call, deleting the .FreeCAD directory indeed solved the problem. I’ve restored all my settings by now (AFAIK) but am not able to reproduce the issue anymore.

Do you still have your old user.cfg file?

Attached - thanks for having a look!
user.cfg.txt (32.2 KB)

Using your cfg, I still can’t reproduce.