Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PostGIS Layers hangs in certain cases before its done determining geometry types #15802

Closed
qgib opened this issue Nov 3, 2012 · 6 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! GUI/UX Related to QGIS application GUI or User Experience

Comments

@qgib
Copy link
Contributor

qgib commented Nov 3, 2012

Author Name: Aren Cambre (Aren Cambre)
Original Redmine Issue: 6615
Affected QGIS version: 1.8.0
Redmine category:gui


If I open Add PostGIS Layers, select a PostGIS connection, and hit Connect, the Add PostGIS Layers dialog appears and I can select tables. However, if I double-click on any table before all tables in all schemas no longer have Detecting... in their Type field, then QGIS hangs. Also, the Add button is disabled/grayed out until all tables' types are detected.

Expected behavior:

  • Undesired but still better: double-clicking a table before all Detecting... goes away does not cause a hang.
  • Preferred: Add is enabled/clickable as soon as just one table has a detected type, and if I double-click on a table or select Add after selecting 1 or more tables (assumes that it disallows me from selecting tables that still show Detecting...), then the detecting stops, and the selected tables are added as layers.
@qgib
Copy link
Contributor Author

qgib commented Nov 4, 2012

Author Name: Giovanni Manghi (@gioman)


On QGIS 1.8? Have you tested master? Thanks


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Nov 4, 2012

Author Name: Aren Cambre (Aren Cambre)


Sorry, yes, on 1.8.0 release. Have not tried master.


  • version was changed from master to 1.8.0

@qgib
Copy link
Contributor Author

qgib commented Nov 4, 2012

Author Name: Giovanni Manghi (@gioman)


Aren Cambre wrote:

Sorry, yes, on 1.8.0 release. Have not tried master.

ok. Please give it a try and report back. Thanks!

@qgib
Copy link
Contributor Author

qgib commented Nov 7, 2012

Author Name: Aren Cambre (Aren Cambre)


It doesn't appear to completely hang with master, but there were still times that the dialog would be unresponsive for several seconds straight, and the OS would gray out the window.

I would still like to request the 2nd option as a feature request:

Add is enabled/clickable as soon as just one table has a detected type, and if I double-click on a table or select Add after selecting 1 or more tables (assumes that it disallows me from selecting tables that still show Detecting...), then the detecting stops, and the selected tables are added as layers."

@qgib
Copy link
Contributor Author

qgib commented Nov 8, 2012

Author Name: Giovanni Manghi (@gioman)


Ok, but then please file a new ticket. Thanks!

I would still like to request the 2nd option as a feature request:

Add is enabled/clickable as soon as just one table has a detected type, and if I double-click on a table or select Add after selecting 1 or more tables (assumes that it disallows me from selecting tables that still show Detecting...), then the detecting stops, and the selected tables are added as layers."


  • status_id was changed from Feedback to Closed
  • resolution was changed from to fixed

@qgib
Copy link
Contributor Author

qgib commented Nov 8, 2012

Author Name: Aren Cambre (Aren Cambre)


Added as #15838.

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! GUI/UX Related to QGIS application GUI or User Experience labels May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! GUI/UX Related to QGIS application GUI or User Experience
Projects
None yet
Development

No branches or pull requests

1 participant