You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Import a QGIS style with its reads made on a thread #2620
style.importQgis reads its .qml file on the command's thread, and since #2612 it also reads its raster image markers' images there: up to 64 MiB, each file decoded once to check it. The work is bounded, but a slow disk or network share can hold the window, with no Cancel.
cmd/reads.rs already makes the reads of Add Data, Reload Data, Convert To Annotation and others on a thread before the command lands (reads::ahead). Proposal: a style.importQgis arm in reads::prepare that reads the style and its images there and hands them to the command, so the import gets Cancel and progress like those commands. project.importQgis is a separate case, because it runs other commands as it goes. Raised in review of #2612.
Activity
fix(engine): Import QGIS Style reads its file and images on a thread,…