Feature request #14627
Add a "cancel" button for Query Builder get "Sample" Values
|Pull Request or Patch supplied:||No||Resolution:|
|Easy fix?:||No||Copied to github as #:||22592|
When hitting the "Sample" button, Query Builder freezes. I presume this is because there's a large database associated with the layer. However, this should not happen. Either the function should quickly return a small resultset, or it should run in a separate thread and the user interface should provide a button to interrupt it and return a small sample.
To reproduce, open a layer with a sufficiently large set, e.g. polygons and data for UK postcodes, open the Query builder and click on "Sample" button.
This has been found on QGIS 2.14.1 64bit, running on Windows 7 Pro 64bit.