[Qgis-user] Changing behaviour of "show selected features" mode for attribute table

Philip Barlow philipb at pembrokeshirecoast.org.uk
Tue Mar 7 00:28:54 PST 2017


Hi Nyall,

Great idea!

Something that springs to mind though, I think you can only control this behaviour once you've opened an attribute table currently?  Would you also be looking to add another way to control it?  E.g. in the layer menu or on right clicking on a layer in the layers panel.    


Phil

-----Original Message-----
From: Qgis-user [mailto:qgis-user-bounces at lists.osgeo.org] On Behalf Of Nyall Dawson
Sent: 07 March 2017 04:29
To: qgis-developer; qgis-user
Subject: [Qgis-user] Changing behaviour of "show selected features" mode for attribute table

Hi all,

I'd like to raise discussion about changing the behaviour of the "show selected features" mode in the attribute table.

Over the last couple of weeks I've pushed fixes to both 3.0 and
(shortly) 2.18 to improve the performance of the attribute table when this mode is selected (Thanks to Faunalia and ENEL for sponsoring this!). With these changes *only* the selected features are fetched from providers to show in the attribute table, vs the current behaviour of fetching *everything* and then filtering out to the selection. It makes a huge difference for working with large layers.

Now - there's one last piece of this I'd like to land, but it changes the behaviour of this mode. Currently if you have the table set to "show selected features", but there's nothing selected, then ALL features are shown.

This kills the benefit of setting the table to show in this mode. If you accidentally open the table for a large layer with no selection, it'll force every feature to be fetched again.

I'd like to change this, so that no selection = nothing shows in the table. This means that users can safely set the attribute table to always show in "selected features" mode and be confident that they'll never hit the situation where every feature is fetched (unless of course they have selected *every* feature!).

Does anyone object to this change landing for 3.0 and 2.18?

Nyall
_______________________________________________
Qgis-user mailing list
Qgis-user at lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Mae’r Awdurdod yn hapus i gyfathrebu yn Gymraeg neu yn Saesneg
The Authority is happy to communicate in Welsh or English

********************************************************************************************
Website www.pembrokeshirecoast.org.uk
Follow us on Twitter
Join us on Facebook
Watch us on Youtube
Look at us on Flickr

This email and any attached files should only be read by those persons to whom
they are addressed and be used by them only for their intended purpose.
If you are not the intended recipient please destroy all copies and inform the
sender by return email.

Please note that the contents of this email may be subject to public disclosure 
under the Freedom of Information Act 2000 and therefore the confidentiality of 
this message and any reply cannot be guaranteed.

For further information on the PCNPA please visit our website at www.pembrokeshirecoast.org.uk 

Please consider the environment before printing this e-mail.


Dim ond y personau hynny yr anfonwyd yr e-bost hwn atynt ac unrhyw ffeiliau sydd 
ynghlwm ddylid eu darllen, a dim ond hwy ddylid eu defnyddio at y diben y bwriadwyd hwy. 
Os nad y chi yw'r person y bwriadwyd eu derbyn a fyddech gystal â dinistrio pob copi a rhoi
gwybod i’r anfonwr gyda throad yr e-bost.

Noder os gwelwch yn dda y gall cynnwys yr e-bost hwn orfod cael ei ddatgelu i’r cyhoedd 
o dan Ddeddf Rhyddid Gwybodaeth 2000 ac felly ni ellir gwarantu cyfrinachedd y neges hon
nac unrhyw ateb.

Am ragor o wybodaeth am APCAP ymwelwch â’n gwefan ar www.pembrokeshirecoast.org.uk

Ystyrier yr amgylchedd cyn argraffu’r e-bost hwn os gwelwch yn dda.


More information about the Qgis-user mailing list