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

Add multi edit attributes icon to the Digitizing toolbar #4584

Merged
merged 2 commits into from
May 28, 2018

Conversation

DelazJ
Copy link
Contributor

@DelazJ DelazJ commented May 18, 2017

The multi edit attributes icon wasn't available in toolbar (fixes #16568)

image

Checklist

Reviewing is a process done by project maintainers, mostly on a volunteer basis. We try to keep the overhead as small as possible and appreciate if you help us to do so by completing the following items. Feel free to ask in a comment if you have troubles with any of them.

  • Commit messages are descriptive and explain the rationale for changes
  • Commits which fix bugs include fixes #11111 in the commit message next to the description
  • Commits which add new features are tagged with [FEATURE] in the commit message
  • Commits which change the UI or existing user workflows are tagged with [needs-docs] in the commit message and containt sufficient information in the commit message to be documented
  • I have read the QGIS Coding Standards and this PR complies with them
  • This PR passes all existing unit tests (test results will be reported by travis-ci after opening this PR)
  • New unit tests have been added for core changes
  • I have run the scripts/prepare-commit.sh script before each commit

@NathanW2
Copy link
Member

NathanW2 commented May 18, 2017 via email

@nirvn
Copy link
Contributor

nirvn commented May 18, 2017

Same thought, I was under the impression that this was only used through the attribute table, not the main canvas. If that's the case, -1 to further clutter the main canvas window's toolbars.

@nyalldawson
Copy link
Collaborator

Actually the attribute table version is (IMO) the inferior version. The one accessed through the menu (which this PR adds to the toolbar) is a faster workflow - make a selection, trigger the action, edit the desired fields.

@nyalldawson
Copy link
Collaborator

But I'm also -0 on adding more icons to the cluttered toolbars..

@DelazJ
Copy link
Contributor Author

DelazJ commented May 18, 2017

Indeed, multi edit is currently available from other part than the attribute table: the Edit menu provides such option and honestly I find convenient to have access to this tool without always showing the attribute table once features are selected, particularly from the map canvas). And because it's a quick way to edit multiple fields at once instead of the workaround of "merge attributes of selected features" button, I found it not user friendly to always have to select Edit menu --> "Modify attributes.." For me, it looked like a missing feature.

I agree with you that we shouldn't clutter the toolbar but I do not feel it's the case for this one, yet. I guess this impression might also depend on how many toolbars are enabled in the application.
Given that we have a customization tool, it would be easier for users to remove unused icons from the dialog than setting an icon on a toolbar. A startup tooltip about interface customization can help to do that.

An alternative to this could be to set a (default?) shortcut. (would that be enough?)

@alexbruy
Copy link
Contributor

I'm also -1 on adding more icons to the cluttered toolbars.

@m-kuhn
Copy link
Member

m-kuhn commented Jul 8, 2017

Thanks @DelazJ , I think this identifies a weak spot to trigger this action: it requires too much mouse interaction to trigger and is hard to even find. (Example last week someone asked for this feature, I said it's possible and showed it, a day later I received a mail that she couldn't find it on her system. Turns out she was looking in the vector menu).

I can imagine a keyboard shortcut for it would be good.

And then maybe we can think of a good integration with the identify tool which can already open feature forms. E.g. in the context menu? Other ideas?

@DelazJ DelazJ closed this Jul 11, 2017
@DelazJ DelazJ reopened this Jul 11, 2017
@nyalldawson
Copy link
Collaborator

In the interest of moving this PR along, and given that discoverability of this feature IS an issue, I'm changing my vote to a +1 (but it needs shifting to after the "new" action - it doesn't belong between the edit and save edits action, and creating new features is much more common).

The clutter could be somewhat avoided by moving the "move features" and "vertex tool" to the advanced editing toolbar - I think they both belong better there anyway...

@DelazJ
Copy link
Contributor Author

DelazJ commented May 19, 2018

OK to move the button after the new feature one.

The clutter could be somewhat avoided by moving the "move features" and "vertex tool" to the advanced editing toolbar - I think they both belong better there anyway...

I'm not convinced by this option firstly because if you consider the Digitizing toolbar as cluttered, I don't know how we'd qualify the advanced digitizing toolbar with all the buttons and moving the icons there won't solve the issue imho. Then the vertex tool addresses a really common and basic need when digitizing: moving wrong placed vertex and we should not ask user to add the whole advanced toolbar just for this simple task.
About the "move features" button, I think moving a feature is less common as action and it could make sense to move it near the rotate feature. but no strong opinion.
Others?

So, in the case we follow the option above, my proposal would be to place the multiedit button after the spatial tools (keeping them grouped) with the sequence "you draw new features, you edit them spatially and you edit them tabularly"

@nyalldawson
Copy link
Collaborator

About the "move features" button, I think moving a feature is less common as action and it could make sense to move it near the rotate feature. but no strong opinion.
Others?

So, in the case we follow the option above, my proposal would be to place the multiedit button after the spatial tools (keeping them grouped) with the sequence "you draw new features, you edit them spatially and you edit them tabularly"

Ok - let's lock this in:

  • shift "move features" to sit just before "rotate features" in the advanced toolbar
  • put multiedit after vertex tool

@DelazJ
Copy link
Contributor Author

DelazJ commented May 28, 2018

Done

@nyalldawson nyalldawson merged commit 373b6bb into qgis:master May 28, 2018
@nyalldawson
Copy link
Collaborator

...And done...! Thanks

@DelazJ DelazJ deleted the icon_multiedit branch May 28, 2018 05:38
@DelazJ
Copy link
Contributor Author

DelazJ commented May 30, 2018

@nyalldawson sorry but I'm afraid that the changes I pushed on "move features" buttons are not what we agreed to do and I can't find the right command to move it near the CAD button. 😞
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants