Opened 16 years ago
Closed 15 years ago
#1180 closed bug (worksforme)
Crash on OS X when adding vector layers
Reported by: | Shanker | Owned by: | telwertowski |
---|---|---|---|
Priority: | critical: causes crash or data corruption | Milestone: | Version 1.0.3 |
Component: | Vectors | Version: | Trunk |
Keywords: | Cc: | ||
Must Fix for Release: | No | Platform: | OS X |
Platform Version: | 10.4.11 | Awaiting user input: | no |
Description
Hi Guys,
There's apparently a bug with OS X that when using the file open or add vector or raster layer dialogs to navigate to a folder containing an alias to a shared volume (typically this might be the desktop containing an alias to one or more servers) qgis 0.11.0 will try and mount the volume or crash if it can't. This behavior was not in 0.10.0. Using OS X 10.4.11 ppc. If the aliases are mounted as volumes, qgis is fine, but obviously there will be many occasions where the volumes aren't required (or aren't available).
Change History (7)
comment:1 by , 16 years ago
comment:3 by , 16 years ago
Owner: | changed from | to
---|
This looks like a Qt 4.4 problem. A bug has been submitted to Trolltech.
The bug is not present in Qt 4.3 (which was current when QGIS 0.10.0 was released). A workaround is to build the current QGIS using Qt 4.3.
Another workaround is to use a symlink instead of an alias for the volume. Qt 4.4 will correctly handle an unmounted symlink but you can't double-click it to mount it; it's necessary to use the Finder's Connect to Server command or some other method.
comment:4 by , 15 years ago
Still true? Please check it again with a recent QGIS (>= 1.0, better 1.0.1 or trunk). If it is invalid, please close it, otherwise send confirmation. Thanks.
follow-up: 7 comment:6 by , 15 years ago
Hi, is the problem still true? Can you please test a recent version of qgis (>= 1.1) on your platform? Thanks.
comment:7 by , 15 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Testing with OS X 10.5.7 and Qgis 1.1.0-Pan (Unstable) installed from http://www.kyngchaos.com/files/software/unixport/Qgis-1.1.0-3-Leopard.dmg.
Layer -> Add Vector Layer -> Source Type = File -> Browse to folder containing aliases to three currently unmountable volumes -> Two attempts are made by Qgis to mount each of the three aliases, each resulting in OS X alert stating volume not available -> no crash experienced.
see additional comments in #1188 and #1189