Affects Version/s: UDIG 1.2.M4
Fix Version/s: UDIG 1.4.1
java version "1.6.0_10"
Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
Java HotSpot(TM) Server VM (build 11.0-b15, mixed mode)
Changing the style programmatically does not apply style on screen with current scaledenominator.
If change the style, and zoom in or out, the style has changed with new scale, but if you go back to previous scale, it still has it previous size in symbolizers.
I think it is something with org.geotools.renderer.style.SLDStyleFactory.createStyle, and more precisely its SymbolKey
hashCode & equals methods, because they are using only symbolizer internal pointer and scaleRange values
to compare should previous instance return.
There is plugin project as an attachment, run tst.project, include stuff/timezones.shp, and zoom to some level, push the "Button" to change the style and style should not
change, now zoom to level which you havent been (there is no style object in SLDStyleFactory.staticSymbolizers), and you should see
new style, now go back to previous and original style should be return from SLDStyleFactory.staticSymbolizer.