-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Manually entered "layer name" never cleared #28858
Comments
Still true on QGIS 3.16.14 and 3.22.1. |
ok, #40421 was closed as a duplicate of this issue, but still, this behaviour is infuriating... :) User experience:
|
looking at the code, from my understanding of https://github.com/qgis/QGIS/blob/master/src/providers/wms/qgswmssourceselect.cpp#L989 to 'fix' this strange behaviour i'd remove @elpaso, since you commented on #40421, what do you think about it ? |
a bit crude but you get the idea. |
@landryb better post the patch as a Pull Request, otherwise is likely no one will ever review it. |
sure, i'll do a PR once i've locally tested a patch :) edit: had tried a distinct patch but the layer name field isnt updated at all once set, will have to rethink it and retry differently. |
previously, if the layer title was manually modified, it would never get updated anymore until qgis was restarted. Fixes qgis#28858 qgis#40421
previously, if the layer title was manually modified, it would never get updated anymore until qgis was restarted. Fixes qgis#28858 qgis#40421
Author Name: Jonathan Moules (Jonathan Moules)
Original Redmine Issue: 21039
Affected QGIS version: 3.4.3
Redmine category:web_services_clients/wms
I entered a "layer name" on the WMS layer dialog (very bottom box). Now, no matter which WMS layer I select, it always has that same "layer name" showing, and every layer I add uses that QGIS layer name.
Even if I start a completely new project, it remembers my old "layer name", let along when I simply close and re-open the WMS dialog. The only way to
The only way to clear it is either to restart QGIS entirely, or manually delete everything from the field.
I'd suggest it should be reset when a new layer is selected.
The text was updated successfully, but these errors were encountered: