Bug report #9091

Field calculator toolbar item disabled in edit mode

Added by Noone Noone almost 6 years ago. Updated over 5 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:GUI
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 #:17736

Description

The Field calculator button in toolbar is disabled when switching in editmode of a vector layer. You need to go Attribute table -> field calculator.

History

#1 Updated by Filipe Dias almost 6 years ago

What do you suggest?

Personally, I think it would be nice if clicking on the toolbar's Field Calculator activated the "editing mode" and opened the Field Calculator Panel.

#2 Updated by Noone Noone almost 6 years ago

The button needs to follow the same states as the button at the attribute table (consistency).
Enabling edit-mode can be done, but then the use of keeping this write-lock might be questionable?

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

apparently master is not affected, but it's reproducable on 2.0.1

#4 Updated by Giovanni Manghi almost 6 years ago

  • Target version set to Future Release - High Priority
  • Status changed from Open to Feedback

Jürgen Fischer wrote:

apparently master is not affected, but it's reproducable on 2.0.1

then closing as usual in this cases?

#5 Updated by Salvatore Larosa almost 6 years ago

This should happen (in 2.0.1) only for point layer, with line and polygon layer should be working.
I had fixed this issue in e6154cf4c8dc170ef6e7e7830ff27781a5e0be5a

#6 Updated by Noone Noone almost 6 years ago

Thanks Salvatore :)

#7 Updated by Alexander Bruy over 5 years ago

  • Status changed from Feedback to Closed
  • Resolution set to fixed/implemented

Should be fixed. Reopen if necessary.

Also available in: Atom PDF