qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.51k stars 2.99k forks source link

switch to turn off GPKG filename in layers tree #26670

Open qgib opened 6 years ago

qgib commented 6 years ago

Author Name: Tobias Wendorff (Tobias Wendorff) Original Redmine Issue: 18783

Redmine category:gui


Right now, the complete filename of a GPKG file is shown in front of each layer name. If you now have explanatory filename (which means a longer one), the whole thing becomes difficult to understand, because the complete filename is repeated for each layer.

It would be absolutely sufficient if the file name is only displayed in the summarizing group (it is displayed there anyway). Thanks to the properties menu and the mouse-over you can still see which GPKG the layer belongs to.

You can even hide this switch in the advanced settings, but it should belong to the project.

kannes commented 5 years ago

Omitting the filename when the user has the "Add layers to a group" checkbox ticked in the "Select Vector Layers to Add..." dialog would be great step for this.

I would also fully support not adding those prefix ever, they are rarely useful and mostly a pain to manually remove again and again. Is there any reasoning behind their display?