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

Neumann, Andreas a.neumann at carto.net
Mon Mar 6 23:18:05 PST 2017


Hi Nyall, 

I am fine with your proposal. 

In fact, the current behaviour as you described it, can be regarded as a
bug. I agree with you. 

Andreas 

On 2017-03-07 05:28, Nyall Dawson wrote:

> 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-developer mailing list
> Qgis-developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20170307/aaadbe34/attachment.html>


More information about the Qgis-developer mailing list