Bug report #8348

When drawing new features, you cannot use other map tools without losing what you have drawn already

Added by James Stott almost 11 years ago. Updated almost 11 years ago.

Status:Closed
Priority:Severe/Regression
Assignee:-
Category:-
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 #:17132

Description

In master (updated today via OSGeo4W), when drawing new features, you cannot use other map tools without losing what you have drawn already.

So if start drawing a line or a polygon and I want to pan the map using the pan tool (or zoom in or out using the zoom tools), my progress up to that point is lost and I have to start again.

Tried adding data to a shapefile and a PostGIS table.

No problems when using the arrow keys on the keyboard or the scroll wheel on the mouse to move/zoom the map.

Works fine in QGIS 1.8 so marked as a blocker.

Associated revisions

Revision b464dc67
Added by Nathan Woodrow almost 11 years ago

Revert "Delete rubberband if deactivating capture tool" Fix #8348

This reverts commit b5a5264c7fcf165d9c2a8dc48db180ea6f9e8fb6.

History

#1 Updated by Nathan Woodrow almost 11 years ago

Didn't even know that you could do that in 1.8.

#2 Updated by Nathan Woodrow almost 11 years ago

Seems it was done in b5a5264c7f I would say some see this as a bug. Would you see this as a feature?

#3 Updated by James Stott almost 11 years ago

I have always seen it as a really useful feature. I think it is useful to have the ability to use the zoom and pan tools when you are drawing features. The zoom and pan tools give you more control over the positioning of the map.

If from now on you are unable to use the zoom and pan tools while you are digitising, then they need to be grayed out so people cannot select them and lose what they have already done. I lost a quite detailed polygon when I first realised this was a problem. This can put users off.

For me I have the issue that I have a mouse wheel that is a bit oversensitive and I cannot use it reliably to pan the map (when you click the mouse wheel in and pan) so switching to the zoom and pan tools is useful. I also have to draw data using WMS layers as a base, so being able to accurately select the area I want is useful to avoid WMS downloading more times than necessary.

#4 Updated by Nathan Woodrow almost 11 years ago

Ok. It's a easy revert.

#5 Updated by James Stott almost 11 years ago

Thanks Nathan.

I will test it again once reverted, and check it works as before.

#6 Updated by Jürgen Fischer almost 11 years ago

Was this just by accident or are we missing something?

#7 Updated by Radim Blazek almost 11 years ago

Definitely it is a feature.

BTW, you can switch back to digitizing mode (or to any other non zoom tool) by right mouse button. Or at least it was always working that way and it should work in that manner.

#8 Updated by Jürgen Fischer almost 11 years ago

Radim Blazek wrote:

Definitely it is a feature.

BTW, you can switch back to digitizing mode (or to any other non zoom tool) by right mouse button. Or at least it was always working that way and it should work in that manner.

Once the commit is reverted.

And you can move the canvas window using the cursor keys and zoom in and out using pgup/pgdn without having to change tools.

#9 Updated by Nathan Woodrow almost 11 years ago

  • Status changed from Open to Closed

#10 Updated by James Stott almost 11 years ago

Confirmed fixed. Thanks Nathan. And others for the extra tips about pgup/pgdn and right click to return to digitising tool.

Also available in: Atom PDF