← All bug reports

FS#1546'Open file' dialog shows no files - although the directory displayed is full of .dxf files

Type
Bug
Status
Closed
Resolution
Won't fix
Category
QCAD (main)
Severity
Low
Priority
Low
Reported version
3.16.5
Operating system
All
Reported
2017-02-20 by barjac
Closed
2017-02-27 by andrew

I have many .dxf files created in QCad-2.2.2.0 (which I still use) all of which open in LibreCad without issues.

If I try to open a file in the version below (or an earlier fairly recent version) the file chooser dialog is empty.

Version: 3.16.5.0 (3.16.5)
Build Date: Feb 20 2017
Qt Version: 5.6.2
Architecture: x86_64
Compiler: gcc 5.4.0
OS: Mageia 6 x86_64 with plasma5 D.E

However if I copy a file name from the same directory using Dolphin file manager and paste it into the filename field in the chooser (which is showing no files) the file opens up correctly.

I reported this in Mageia bugzilla here against an earlier version but there was no response as I think the maintainer is MIA. https://bugs.mageia.org/show_bug.cgi?id=18816

Today I decided to try the latest version in the hope that this issue would be fixed (I am also a packager with Mageia) but it is still the same.

I will add the build log as an attachment in case you see something that may be specific to our configuration.

It would be good if we could resolve this before the imminent release of Mageia 6 ;)

Running from CLI I see these around the time I open the file chooser dialog:
//--------snip---------
22:05:02: Debug: TransactionListenerPlugin::postInit
22:05:02: Debug: got transaction
22:05:16: Debug: Refilling KProtocolInfoFactory cache in the hope to find "file"
22:05:16: Debug: Refilling KProtocolInfoFactory cache in the hope to find "file"
22:05:16: Debug: Refilling KProtocolInfoFactory cache in the hope to find "file"
22:05:16: Debug: Refilling KProtocolInfoFactory cache in the hope to find "file"
22:05:16: Debug: Refilling KProtocolInfoFactory cache in the hope to find "file"
22:05:16: Debug: Refilling KProtocolInfoFactory cache in the hope to find "file"
22:05:16: Debug: Refilling KProtocolInfoFactory cache in the hope to find "file"
22:05:16: Debug: Refilling KProtocolInfoFactory cache in the hope to find "file"
22:05:19: Debug: got transaction
22:05:47: Debug: got transaction
22:06:08: Debug: Refilling KProtocolInfoFactory cache in the hope to find "file"
22:06:09: Debug: got transaction
//----------snip--------

Comments (1)

andrew 2017-02-27

Thanks for your report.

QCAD uses the default file dialog offered by the system. If the file dialog is broken (for whatever reasons), you can force the use of the Qt file dialog instead under:
Edit > Application Preferences > File > Load/Save > [ ] Use system file dialog (untick)

Closure comment

Out of the scope of QCAD.