Bug report #12192

Snapping when opening a new QGIS project

Added by Pedro Venâncio over 9 years ago. Updated over 9 years ago.

Status:Closed
Priority:Severe/Regression
Assignee:Jürgen Fischer
Category:Digitising
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:20382

Description

In QGIS Master, to enable snapping when opening a new QGIS project and load layers, you must:

1) Open the Snapping Options (Settings -> Snapping Options)
2) Choose the Snapping mode "All layers" or "Advanced" and click OK, even without doing anything else.

Otherwise the snapping does not appear activated.

In 2.6.1 snapping is enabled by default, so it is a regression.

Note that
Settings -> Options -> Digitizing -> Snapping -> Default snap mode
is not "Off".

Tested in Windows (OSGeo4W 64bits) and Linux.

Associated revisions

Revision e2e23f0c
Added by Jürgen Fischer over 9 years ago

snapping dialog: block signals when reloading snapping options
QgsProject: also apply default when property is not available and not only if
an existing one is invalid

fixes #12192

History

#1 Updated by Nathan Woodrow over 9 years ago

I can't confirm the having to change from Current Layer to Advanced. Just pressing OK is enough for me, but I can confirm the default settings not applying when loading a project.

#2 Updated by Nathan Woodrow over 9 years ago

Nope I was wrong. The default settings are being set for me here.

#3 Updated by Pedro Venâncio over 9 years ago

Nathan Woodrow wrote:

Nope I was wrong. The default settings are being set for me here.

Hi Nathan,
That is true only for the "Current layer", right? But not for the other layers. Ie, starting editing a layer, snapping is activated by default only for this layer, but not for the others. In 2.6.1 snapping is enabled by default for all layers, if this option is selected in Settings -> Options -> Digitizing.

#4 Updated by Jürgen Fischer over 9 years ago

  • Assignee set to Jürgen Fischer

#5 Updated by Jürgen Fischer over 9 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF