-
-
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
Error on apply qml style for a raster layer in 3.4.1 and Master 0ea86bf0a5 #28229
Comments
Author Name: Giovanni Manghi (@gioman) was the qml created in 2.18?
|
Author Name: Antonio Viscomi (@Antoviscomi) Giovanni Manghi wrote:
yes |
Author Name: Giovanni Manghi (@gioman)
this is a different issue (I think) please file a different ticket (with sample data and style), thanks. |
Author Name: Giovanni Manghi (@gioman)
just tried this in qgis master and can't confirm. |
Author Name: Giovanni Manghi (@gioman)
After loading a saved QML style, this changes to a different one when clicking on "apply". Data, style and screencast attached. Old description:
|
Author Name: Martin Dobias (@wonder-sk) I think this a consequence of removal of the "Load" button to load min/max values from raster layer properties in #3871 - it was changed to load min/max when Apply is clicked which I think here interferes with the newly loaded style (once the new min/max values are loaded, the classification is auto-updated from the current color ramp). My preference would be to have the "Load" button back so it is not tied to Apply which is somehow unexpected. side tip: after loading QML style, you do not need to click Apply or OK. Just press Cancel button and the loaded style should stay... hard to say whether that's a bug or a feature :-) |
Author Name: Giovanni Manghi (@gioman) Martin Dobias wrote:
+1
... is at the very minimum a very bad ux, borderline bug. |
Author Name: Antonio Viscomi (@Antoviscomi) Martin Dobias wrote:
is not to contradict you but if I press close button appear what you see in the screencast named qml_style2
|
Author Name: Antonio Viscomi (@Antoviscomi) Giovanni Manghi wrote:
I think is not a issue but the prefixed behavior for new style manager |
Author Name: Antonio Viscomi (@Antoviscomi) Giovanni Manghi wrote:
the screencasts was recorded on Master 8125366 |
Author Name: Antonio Viscomi (@Antoviscomi) Giovanni Manghi wrote:
ah ok, |
Author Name: Antonio Viscomi (@Antoviscomi) Antonio Viscomi wrote:
I attach the qml saved by Master
|
Author Name: Giovanni Manghi (@gioman)
is not a matter of qml, explanation has been give here in #28229 (comment) |
Author Name: Giovanni Manghi (@gioman)
you sure about it? I can't confirm here. |
Author Name: Antonio Viscomi (@Antoviscomi) Giovanni Manghi wrote:
Yes, I do |
Author Name: Giovanni Manghi (@gioman)
the only issue I see (in your cast) is that when loading the style it is applied correclty it does not switch to "palletted". If you close the properties and reopen them it shows correctly "palletted", is it? |
Author Name: Antonio Viscomi (@Antoviscomi) Giovanni Manghi wrote:
Yes, even if the style is saved by 3.5 in pseudocolor mode when you load it or open it again It automatically switches to palette |
Author Name: Antonio Viscomi (@Antoviscomi) this issue appears even in the case of a reclassification of a raster making vain the same reclassification |
Author Name: Antonio Viscomi (@Antoviscomi)
Original Redmine Issue: 20409
Affected QGIS version: 3.4.1
Redmine category:symbology
New description:
After loading a saved QML style, this changes to a different one when clicking on "apply". Data, style and screencast attached.
Old description:
in 2.18.25 it works fine with the same data and qml
in 3.4.1 and Master 0ea86bf it don't works
I attach a screencast, data and qml file
The text was updated successfully, but these errors were encountered: