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

data source manager not opening with correct sub menu for point cloud datasources #42881

Closed
DR-azery opened this issue Apr 21, 2021 · 2 comments · Fixed by #46998
Closed

data source manager not opening with correct sub menu for point cloud datasources #42881

DR-azery opened this issue Apr 21, 2021 · 2 comments · Fixed by #46998
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

@DR-azery
Copy link

Describe the bug

if you select Layer -> Add Layer -> Add Point Cloud Layer the data source manager opens, but not necessarily with the Point Cloud menu selected. It will open with the menu used the last time the data source manager was used. For all other layer types, the data source manager directly opens with the correct menu.

How to Reproduce

  • Open Qgis
  • Open new project
  • select Layer -> Add Layer -> Add vector layer
  • select 'close'
  • select Layer -> Add Layer -> Add point cloud layer
    Menu opens, but still for vector data.

QGIS and OS versions

QGIS version
3.18.2-Zürich
QGIS code revision
515138c
Compiled against Qt
5.11.2
Running against Qt
5.11.2
Compiled against GDAL/OGR
3.1.4
Running against GDAL/OGR
3.1.4
Compiled against GEOS
3.8.1-CAPI-1.13.3
Running against GEOS
3.8.1-CAPI-1.13.3
Compiled against SQLite
3.29.0
Running against SQLite
3.29.0
PostgreSQL Client Version
11.5
SpatiaLite Version
4.3.0
QWT Version
6.1.3
QScintilla2 Version
2.10.8
Compiled against PROJ
6.3.2
Running against PROJ
Rel. 6.3.2, May 1st, 2020
OS Version
Windows 10 (10.0)
Active python plugins
closest_points;
latlontools;
db_manager;
MetaSearch;
processing

Additional context

@DR-azery DR-azery added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Apr 21, 2021
@gioman
Copy link
Contributor

gioman commented Apr 21, 2021

* select Layer -> Add Layer -> Add point cloud layer
  Menu opens, but still for vector data.

@DR-azery works as expected here on QGIS master on Linux.

@gioman gioman added Feedback Waiting on the submitter for answers GUI/UX Related to QGIS application GUI or User Experience labels Apr 21, 2021
@DR-azery
Copy link
Author

Thank you for your analysis. I have made a little video showing the issue. You can find it in the zip file in attachment. I'm sorry for the lower resolution and the format, but I did not have many tools available for the recording.

You will see that I do 5 tests:

  1. add layer -> add raster layer : the menu opens with the correct layer type selected on the left : OK
  2. add layer -> add SAP HANA spatial layer : the menu opens with the correct layer type selected on the left : OK
  3. add layer -> add point cloud layer : the menu opens but at the left, the selection is still on sap hana and not on point cloud: NOK?
  4. add layer -> add vector layer : the menu opens with the correct layer type selected on the left : OK
  5. add layer -> Add DB2 spatial layer : the menu opens but at the left, the selection is still on vector layer: NOK?

So, for certain menu items, the data source manager opens with the requested type selected, and for others not. Obviously not a very big issue, but sometimes a little annoying.
If I can do something more to provide more information, just let me know.

example.zip

@gioman gioman removed the Feedback Waiting on the submitter for answers label Apr 22, 2021
@gioman gioman changed the title data source manager not opening with correct sub menu data source manager not opening with correct sub menu for point cloud datasources Apr 22, 2021
nyalldawson pushed a commit that referenced this issue Jan 25, 2022
qgis-bot pushed a commit that referenced this issue Jan 25, 2022
nyalldawson pushed a commit that referenced this issue Jan 28, 2022
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

Successfully merging a pull request may close this issue.

2 participants