Bug#914831: freecad: File Dialog does not find all "supported files" when not in certain format

Jörg Kurlbaum jkur+debian at corsario.org
Tue Nov 27 19:37:37 GMT 2018


Package: freecad
Version: 0.17+dfsg1-5
Severity: important

Dear Maintainer,

the FreeCAD version in unstable uses the native file dialog from gnome, which is
nice, but ...

 1. has problems with case-sensitive file suffixes.

E.g. FreeCAD saves files as .fcstd (and did so in 0.16 all in lower case) when
you browse your directories it won't find these files anymore, since the file
dialog expects FreeCAD file to end in .FCStd

Same goes for other file type like .stl vs. STL and so on.

2. it does not add any suffixes when saving files.

E.g. you save your project as "project" with the file format FreeCAD it won't
append .FCStd (or .fcstd for that matter) and then won't find the file when
searching for it next time. For worse if you append the suffix yourself and get
it wrong (see 1.) it won't find the file either. The only way to open these
files is to show "all files *.*" in the dialog.


in src/Gui/FileDialog.cpp there are some defines to switch code between native
dialog and own dialog. It seems to me that all file name and suffix handling is
ignored when using the native dialog.

I tried to compile with -DFREECAD_USE_QT_FILEDIALOG=OFF in debian/rules but
that won't bring the QTFileDialog back.

Maybe a bigger fix is needed.

In this state the FreeCAD package not really useable. It will drive users crazy :-)




-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages freecad depends on:
ii  freecad-common           0.17+dfsg1-5
ii  freecad-python2          0.17+dfsg1-5+b1
ii  freecad-runtime          0.17+dfsg1-5
ii  libfreecad-python2-0.17  0.17+dfsg1-5+b1

Versions of packages freecad recommends:
ii  calculix-ccx  2.11-1+b3
ii  graphviz      2.40.1-5+b2

Versions of packages freecad suggests:
pn  freecad-doc     <none>
pn  povray          <none>
ii  python-collada  0.4-3

-- no debconf information



More information about the debian-science-maintainers mailing list