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.52k stars 2.99k forks source link

SVG Browser Slow With Network Drives #59056

Open esnyder-rve opened 1 week ago

esnyder-rve commented 1 week ago

What is the bug or the crash?

In a commercial/enterprise setting, I have svg files on a network drive that is shared across the department. I added the network folder to the QGIS System SVG Paths for symbol access in the SVG Browser in symbology settings. However, when using the SVG browser, the whole UI is horribly slow and lags. SVG folders on the local system have no perceivable performance hit.

Steps to reproduce the issue

  1. Open the QGIS settings
  2. Go to the System tab
  3. Add a network folder with SVGs to the SVG Path setting
  4. Attempt to style a layer with svg symbol type
  5. Experience massive lag in UI

Versions

QGIS version 3.38.3-Grenoble
QGIS code revision 37f9e6efee
Qt version 5.15.13
Python version 3.12.6
GDAL/OGR version 3.9.2
PROJ version 9.4.0
EPSG Registry database version v11.004 (2024-02-24)
GEOS version 3.12.2-CAPI-1.18.2
SQLite version 3.45.1
PDAL version 2.6.3
PostgreSQL client version 16.2
SpatiaLite version 5.1.0
QWT version 6.2.0
QScintilla2 version 2.14.1
OS version Windows 10 Version 2009
Active Python plugins Version
db_manager 0.1.20
grassprovider 2.12.99
processing 2.12.99

Supported QGIS version

New profile

Additional context

No response

troopa81 commented 1 week ago

I improved things recently. It's way better because cache was not working at all, but you 'd still have to load content from network drive at least once, but not the other times you browse SVG.

I still have to backport it though. Please let me know if it's better now with the fix.