Feature request #7541

attribute table : add a "show selected features if there is a selection" behavior

Added by Olivier Dalang over 4 years ago. Updated over 2 years ago.

Status:Closed
Priority:Normal
Assignee:Matthias Kuhn
Category:Vectors
Pull Request or Patch supplied:No Resolution:
Easy fix?:No

Description

Hi !

Currently, one can choose between having the attribute table "show all features", "show selected features" or "show visible features".

IMO, the most convenient behavior would be to display the selection only if there is a selection, and all attributes if there is no selection.

So I'd suggest adding this option, and even make it the default behavior.

Thanks !!

Olivier

Associated revisions

Revision 288b242a
Added by Matthias Kuhn over 2 years ago

Merge pull request #1966 from olivierdalang/show_selected_features_ALL_IF_NO_SEL

Filter the attribute table only by selection if there is one

Fix #7541

History

#1 Updated by Matthias Kuhn over 4 years ago

  • Target version set to Future Release - High Priority
  • Assignee set to Matthias Kuhn

Sounds like a good idea.

It would also be possible to add this to the current "show selected" in case the selected feature count is 0 and show a red warning next to the filter button. This way there would be no need for yet another option in this menu.

This most probably will have to wait for 2.1 as we're in feature freeze. Unfortunately, there has not been much time to review the new attribute table before feature freeze.

#2 Updated by Paolo Cavallini almost 4 years ago

  • Tag set to easy
  • Category set to Vectors

#3 Updated by Matthias Kuhn over 2 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF