Bug report #17296
Strange behaviour of Measurement settings dropdowns inside project CRS properties
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Windows 10 and Ubuntu 16.04||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||duplicate|
|Crashes QGIS or corrupts data:||No|
When the project settings dialog is opened the Measurements settings dropdowns inside project CRS properties result disabled.
Switching between tabs reenable them.
#1 Updated by Giovanni Allegri over 1 year ago
- Priority changed from Normal to High
I'm facing a different strange behoviour now.
- I switch between tabs to enable the dropdown.
- I select WGS84
- Close, reopen the dialog and the select is disable with "Planimetric selected"
- I switch the tabs and Clarke 1866 is selected (!!!)
At the moment the ellipsoid selection for measurements is totally unusable in master, at least on Windows 10.
#4 Updated by Steven Mizuno over 1 year ago
This is what I am seeing: in Project properties, on the General tab the Measurements group controls as well as 'Display coordinates using' drop-down are disabled until you switch to the CRS tab, then back to General. This occurs every time the Project properties dialog is opened and the current tab is not CRS. I find this behavior annoying, but not a major issue.
I haven't seen the problem of Clarke 1866 being the Ellipsoid after selecting WGS 84 on the CRS tab.
I am using Windows 8.1 and 10 computers.
#7 Updated by Giovanni Allegri over 1 year ago
Here it is a video of what happens to me: https://youtu.be/cGDdvgNH1Co
- Switch tabs to make dropbox selecteable
- Select an elliposid (WGS84)
- Weird measure tools results (they should be 200.000 at most)
- Dropbox selection not ratained (Clarke ellipsoid instead of WGS84)
#8 Updated by Steven Mizuno over 1 year ago
Giovanni, I watched your video and tried to duplicate what you did, but was working for me. On closer observation of the video I noticed that you selected 'WGS84' rather than 'WGS 84' -- notice the space in the name. I tried WGS84 and can confirm that the measurements taken are significantly wrong (3,000,000m vs. the 800m or that I should have gotten) and that ellipsoid Clarke 1866 is shown in project properties.
This reminded me of ticket #13957 which I will reopen.
If you display the Information in the Measure dialog the ellipsoid is shown as IGNF:ELG053 - this is one of the problems in the above ticket.
As to the project properties controls being disabled I believe that the projections module is not being initialized until the CRS tab is displayed.
#9 Updated by Giovanni Allegri over 1 year ago
Good catch Steven! The problem was selecting "WGS84" instead of "WGS 84". The latter works fine and selection is retained, so I suppose there's some problem with srs.db and acronyms with colon:
acronym | name
WGS84 | WGS 84
IGNF:ELG053 | WGS84
I will follow your #13957 ticket