# Markups "save to defaults" colors misremembered

**URL:** <https://discourse.slicer.org/t/markups-save-to-defaults-colors-misremembered/26732>\
**Category:** Support\
**Created:** [December 14, 2022, 5:46pm UTC](https://discourse.slicer.org/t/markups-save-to-defaults-colors-misremembered/26732 "2022-12-14T17:46:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/83011_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [December 14, 2022, 5:46pm UTC](https://discourse.slicer.org/t/markups-save-to-defaults-colors-misremembered/26732/1 "2022-12-14T17:46:43Z")

</div>

In stable 5.2.1 in Linux, I change the colors of markups states and hit save to defaults.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/2/e/2e666c84b6c633eb2c687c8a49bb665e241b15f9.jpeg)

After slicer restart, this is what it comes back as:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/c/c/cc014a080b54635b6ce0b3bb4f11fec3af791c49.png)

Same on windows. saved to defaults  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/0/f/0fc13807f5944bacfde4e8084c0142c3c61d5413.png)

after restart  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/7/8/78efa2f014b373a89d1324e056c89dca1bb7a699.png)

Looks like active color is written to the field of unselected, and then get’s back reset to the default green.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [December 14, 2022, 8:02pm UTC](https://discourse.slicer.org/t/markups-save-to-defaults-colors-misremembered/26732/2 "2022-12-14T20:02:28Z")

</div>

Thanks for reporting. Please test if this change fixes it:

> <https://github.com/Slicer/Slicer/pull/6736/files>
>
> Fixes issue reported at https://discourse.slicer.org/t/markups-save-to-defaults-…colors-misremembered/26732

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/83011_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [December 15, 2022, 5:15pm UTC](https://discourse.slicer.org/t/markups-save-to-defaults-colors-misremembered/26732/3 "2022-12-15T17:15:58Z")

</div>

@lassoan  
Was this merged too late for todays preview?  
For me it is still the same issue with today’s preview (windows).

(looks like it wasn’t merged. I will see if we can get a local build to test it).

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [December 17, 2022, 2:26pm UTC](https://discourse.slicer.org/t/markups-save-to-defaults-colors-misremembered/26732/4 "2022-12-17T14:26:53Z")

</div>

Let me know if it fixes the problem and then i neve it. Thank you!

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/83011_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [December 23, 2022, 10:50pm UTC](https://discourse.slicer.org/t/markups-save-to-defaults-colors-misremembered/26732/5 "2022-12-23T22:50:15Z")

</div>

This seems to fix the issue on our test build (linux).
