Menu

#130 GeoRef layer alpha value change to 255 is ignored until restart

v1.7
closed-fixed
nobody
None
5
2019-01-22
2016-05-02
lbayuk
No

Using viking-1.6.2 on Linux.

If you change the alpha value of a GeoRef layer to any value except 255, the change is reflected in the map display. But if you change it to 255 (fully opaque), after it was lower, the change is not reflected until you save, exit, and restart.

To duplicate: Have a map layer and georef layer. Georef layer alpha starts at 255. Use the georef layer properties dialog to change alpha to 100 (for example) - display changes. Change it back to 255 - display does not change; georef layer is still transparent. Change it down to 30, then up to 253 - displays changes each time. Only 255 does not work. Change it down to 30, then back to 255, save, exit, restart Viking and reload the map - georef layer is opaque.

Possible bug location: src/vikgeoreflayer.c in georef_layer_dialog(), where it checks for vgl->alpha < 255.

Discussion

  • Rob Norris

    Rob Norris - 2016-05-02
    • status: open --> pending
     
  • Rob Norris

    Rob Norris - 2016-05-02

    Thanks for noticing this and reporting it.

    The fix has been committed to the source code repository.

     
  • Rob Norris

    Rob Norris - 2019-01-22
    • status: pending --> closed-fixed
     
  • Rob Norris

    Rob Norris - 2019-01-22
    • Group: v1.6 --> v1.7
     

Log in to post a comment.

MongoDB Logo MongoDB