Bug report #17024
Identify Tool gives false hits for layers with spatial index (MS SQL)
|Affected QGIS version:||2.18.11||Regression?:||Yes|
|Operating System:||Win7 32 bit||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||24923|
Since updating to osgeo 2.18.11 the Identify tool has been randomly selecting objects well outside the 2mm search radius.
I deleted the .qgis folder from my user profile and also deleted the QGIS registry key, but that didn't solve the problem. Nor did creating a new project from scratch.
More testing has shown the behavior only occurs with layers where the "Create spatial index" button has been clicked. Dropping the index restores normal behaviour for the layer. Re-Adding the index causes the erratic behavior to reappear.
I have selected "Map Tools" as the category for this bug report. It may be specific to the MSSQL provider. I only have MS SQL layers to test against.
#9 Updated by Lukasz Sychowicz over 1 year ago
Nyall Dawson wrote:
Please test with 3.2 and report if the issue still exists
that's right, in version 3.x there is no this bug, but not everyone uses version 3.x. Is it really impossible to fix this for version 2.18 LTR?
Why it is marked as fixed despite it is not?