Bug report #10536

The toggle editing pencil becomes orange without changing values of the layer

Added by Harrissou Santanna almost 10 years ago. Updated about 6 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Digitising
Affected QGIS version:2.0.1 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:18944

Description

Toggle editing a layer
Click with the Identify tool on an unique feature so that you get the feature Attributes form
Press OK
No change has been made in the table but the yellow pencil near the layer name becomes orange. I always thought orange pencil meant that there were changes in the table waiting to be saved. Was i wrong?

Testing on QGIS 20. and 2.2 shows that this behavior has always been in the new API.
But i'm wondering if, as there are two colors, one shouldn't be for layer being edited (with changes) and the other one for layer just toggled editing. Bug or new feature?

History

#1 Updated by Harrissou Santanna almost 10 years ago

Another thing is that when you want to stop the editing mode (without changing values), you get a dialog asking you if you want to save or not your changes (although you made no change). That's confusing. As there is no change, toggling out editing mode should just close "editing mode" without question. This was the behavior in QGIS<2.0.

#2 Updated by Jürgen Fischer almost 10 years ago

  • Target version changed from Version 2.4 to Future Release - High Priority

#3 Updated by Giovanni Manghi almost 7 years ago

  • Easy fix? set to No
  • Regression? set to No

#4 Updated by Harrissou Santanna about 6 years ago

  • Status changed from Open to Closed
  • Description updated (diff)
  • Resolution set to fixed/implemented

fixed in both 2.18 and 3.0

Also available in: Atom PDF