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

Fix freeze on long indexation for snapping on intersections #59519

Conversation

Djedouas
Copy link
Member

Description

Manual backport of #59259

@Djedouas Djedouas added the Backport Is a backport of another pull request label Nov 20, 2024
@github-actions github-actions bot added this to the 3.42.0 milestone Nov 20, 2024
@troopa81
Copy link
Contributor

There are (relevant?) issues from test

src/app/qgisapp.cpp Outdated Show resolved Hide resolved
If snap on intersections is enabled, this specific edge search with the
locator was not in relaxed mode, whereas the standard snapping is
happening in relaxed mode.

As a result, trying to use the snapping during the first indexation was
freezing QGIS while the indexation is happening, waiting for it to end.

On a layer where the indexation is longer than the timeout (30sec, i.e.
a WFS layer as in issue qgis#51179), the locator stops abruptly and resets
itself, crashing the indexation and QGIS.
@Djedouas Djedouas force-pushed the backport-59259-to-queued_ltr_backports branch from 7b3b8d4 to c87d85d Compare November 25, 2024 08:58
@troopa81 troopa81 merged commit 3de3648 into qgis:queued_ltr_backports Nov 26, 2024
28 checks passed
@Djedouas Djedouas deleted the backport-59259-to-queued_ltr_backports branch November 26, 2024 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backport Is a backport of another pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants