Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#985 closed defect (invalid)

Qgis doesn't display files in vector or raster file dialog and hangs when cancelled

Reported by: cgsbob Owned by: nobody
Priority: critical: causes crash or data corruption Milestone:
Component: GUI Version: Trunk
Keywords: Cc:
Must Fix for Release: No Platform: Debian
Platform Version: Awaiting user input: no

Description

It has been a while since I've updated qgis from svn. Last night after this update, I compiled qgis and all seems fine. When I opened up the vector or raster dialog box, I do not see any files even if I set the filename filter to All. So, I clicked on cancel and that is when qgis hangs.

Btw, if I load up a project file or load up a vector or raster file from the command line, qgis displays the data.

All of these problems are happening on Qgis r8203 built with Qt4.3.2, PyQt 4.3.2, and gdal 1.6.0dev.

Change History (5)

comment:1 by wonder, 16 years ago

Ah, I've come over exactly the same problem last night! I thought that it's just some obscure problem with my installation but looks like it's not... I'm on r8200 with Qt4.3.3. From some simple investigation it looks like that later it hangs when deleting the file dialog waiting for something.

Martin

in reply to:  1 ; comment:2 by cgsbob, 16 years ago

Replying to wonder:

Ah, I've come over exactly the same problem last night! I thought that it's just some obscure problem with my installation but looks like it's not... I'm on r8200 with Qt4.3.3. From some simple investigation it looks like that later it hangs when deleting the file dialog waiting for something.

Martin

I decided to disable all of the plugins that didn't come with qgis, quit qgis, and then restart it. qgis file dialog box opened up and it didn't hang qgis. After enabling more plugins, I ran into the bug when I enabled Geoprocessing version 0.32.

comment:3 by gsherman, 16 years ago

Resolution: invalid
Status: newclosed

I'm closing this as it appears to be a problem with a third-party plugin.

in reply to:  2 comment:4 by hdus, 16 years ago

Replying to cgsbob:

Replying to wonder:

Ah, I've come over exactly the same problem last night! I thought that it's just some obscure problem with my installation but looks like it's not... I'm on r8200 with Qt4.3.3. From some simple investigation it looks like that later it hangs when deleting the file dialog waiting for something.

Martin

I decided to disable all of the plugins that didn't come with qgis, quit qgis, and then restart it. qgis file dialog box opened up and it didn't hang qgis. After enabling more plugins, I ran into the bug when I enabled Geoprocessing version 0.32.

I can't reproduce this behaviour with Rev. 8213 and Qt4.2.3. I'm not shure that there is any relation between the Geoprocessing Plugin and QGIS in this case.

in reply to:  description comment:5 by hdus, 16 years ago

Replying to cgsbob:

It has been a while since I've updated qgis from svn. Last night after this update, I compiled qgis and all seems fine. When I opened up the vector or raster dialog box, I do not see any files even if I set the filename filter to All. So, I clicked on cancel and that is when qgis hangs.

Btw, if I load up a project file or load up a vector or raster file from the command line, qgis displays the data.

All of these problems are happening on Qgis r8203 built with Qt4.3.2, PyQt 4.3.2, and gdal 1.6.0dev.

The bug is fixed with a workaround. At the moment I don't have a better solution. The reason of this bug is the translation. The line

QCoreApplication.installTranslator(self.translator)

leeds to the mentioned behaviour, but only under QT4.3.x. With QT4.2.3 the translation and the FileDialog are working fine together. I disabled the translation so you always get the english version. For update please download Rev. 0.33 from Plugin repository.

Note: See TracTickets for help on using tickets.