Am 15.08.2017 um 21:48 schrieb Graham Inggs:
Source: openorienteering-mapper
Version: 0.6.7-1
OpenOrienteering Mapper is unable to open files with spaces in their
names from the command line. This also prevents users from
double-clicking on a map with a space in its name from a file manager;
e.g. Nautilus. These files can be opened from within OpenOrienteering
Mapper though.
$ cd /usr/share/openorienteering-mapper/examples/
$ Mapper 'forest sample.omap'
Two error messages appear:
Cannot open file: forest
File format not recognized,
and:
It seems that OpenOrienteering Mapper crashed the last time this file
was opened:
forest
Really retry to open it?
Clicking 'No' results in the following:
Cannot open file: sample.omap for reading.
Not reproducible in latest upstream release and dev, from bash and from
dash.
The following works, too:
$ cd /usr/share/openorienteering-mapper/examples/
$ Mapper forest\ sample.omap
The relevant code uses QApplication::arguments and hasn't changed
significantly since 2013:
https://github.com/OpenOrienteering/mapper/blob/master/src/main.cpp#L147
https://github.com/OpenOrienteering/mapper/commit/14bfdef265343e22d91345793612eaf16c56c353
Check Qt / other Qt apps.