Bug report #96
identify tool: there are spaces in the numeric fields
|Affected QGIS version:||2.4.0||Regression?:||No|
|Operating System:||Debian||Easy fix?:||No|
|Pull Request or Patch supplied:||Resolution:||invalid|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||10155|
1. add a shapefile with some numeric attributes
2. identify tool
3. see how spaces are present in the beginning of the numeric attributes; you can even edit them out but, in the first place, what are they doing here?!
#2 Updated by Gavin Macaulay - about 14 years ago
- Resolution set to invalid
- Status changed from In Progress to Closed
This happens because the table only knows about text, and as mentioned above, numeric fields are right justified with spaces (this looks to be something that Qt is doing and we don't appear to have any control over it). The spaces don't make it to the underlying data source if the field is numeric. I agree that this isn't a bug.