Ticket #4396 - TechDraw templates disappearing.

Discussions about the development of the TechDraw workbench
WEMV
Posts: 8
Joined: Wed Jun 24, 2020 3:39 am

Re: TECHDRAW templates disappearing.

Postby WEMV » Mon Jun 29, 2020 7:15 pm

wandererfan
Your statement "a file selection dialog that changed directories without user input" is a good way to describe what I seem to be seeing. I already created my own directory per your suggestion. It works but is rather strange because the file selection dialog keeps changing.

chrisb
I saw your Known OS specific issues but it did not dawn on me that it applied to this situation. Could you please explain how to use your workaround, I am rather confused.

Thank you.
chrisb
Posts: 25206
Joined: Tue Mar 17, 2015 9:14 am

Re: TECHDRAW templates disappearing.

Postby chrisb » Mon Jun 29, 2020 8:40 pm

WEMV wrote:
Mon Jun 29, 2020 7:15 pm
Could you please explain how to use your workaround, I am rather confused.
It's these three steps:
1. Open Menu->Tools->Edit Parameters
2. Navigate to BaseApp/Preferences/Dialog
3. Create a boolean parameter named: DontUseNativeDialog and set its value to true.

Where do you get stuck?
WEMV
Posts: 8
Joined: Wed Jun 24, 2020 3:39 am

Re: TECHDRAW templates disappearing.

Postby WEMV » Mon Jun 29, 2020 9:46 pm

I follow your instruction up Create a boolean parameter. I can't seem to create the parameter.
chrisb
Posts: 25206
Joined: Tue Mar 17, 2015 9:14 am

Re: TECHDRAW templates disappearing.

Postby chrisb » Mon Jun 29, 2020 10:14 pm

I just tried to create such entry on a plain vanilla configuration which crashed FreeCAD, can someone please confirm:

- Start FreeCAD
- Open Tools->Edit Parameters
- Select BaseApp->Preferences->Dialog
- Righ-click in the right panel of the window
->Crash
WEMV
Posts: 8
Joined: Wed Jun 24, 2020 3:39 am

Re: TECHDRAW templates disappearing.

Postby WEMV » Mon Jun 29, 2020 11:29 pm

That's what happened when I tried.
chrisb
Posts: 25206
Joined: Tue Mar 17, 2015 9:14 am

Re: TECHDRAW templates disappearing.

Postby chrisb » Tue Jun 30, 2020 7:38 am

Please create a ticket in the bugtracker and crossreference this topic.
User avatar
wandererfan
Posts: 3979
Joined: Tue Nov 06, 2012 5:42 pm

Re: TECHDRAW templates disappearing.

Postby wandererfan » Tue Jun 30, 2020 1:20 pm

WEMV wrote:
Mon Jun 29, 2020 7:15 pm
I saw your Known OS specific issues but it did not dawn on me that it applied to this situation. Could you please explain how to use your workaround, I am rather confused.
I already had the DontUseNativeDialog set in my config file. That must be why my results were different.

Trying to add the parameter to an empty preference file fails here with:
OS: Linux Mint 19 (X-Cinnamon/cinnamon)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Branch: unknown
Hash: ddf0cf3136a6c5a459abae4bf1f9c714f6f45c86
Python version: 3.6.9
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/Canada (en_CA)
WEMV
Posts: 8
Joined: Wed Jun 24, 2020 3:39 am

Re: TECHDRAW templates disappearing.

Postby WEMV » Tue Jun 30, 2020 6:02 pm

Created a bug ticket issue #4396.
Last edited by Kunda1 on Fri Jul 03, 2020 10:30 pm, edited 1 time in total.
Reason: added bug bbcode tag
maxi.mep
Posts: 7
Joined: Sat Jun 20, 2020 6:09 am

Re: TECHDRAW templates disappearing.

Postby maxi.mep » Fri Jul 03, 2020 1:27 am

I saved the templates in a personal folder in my Documents, I did the same with the hatch patterns...
User avatar
Kunda1
Posts: 7526
Joined: Thu Jan 05, 2017 9:03 pm

Re: Ticket #4396 - TechDraw templates disappearing.

Postby Kunda1 » Fri Jul 03, 2020 10:35 pm

Mod edit: Added ticket number to thread title.

Is this just AppImage related ?
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features