Sometimes opacity changes by itself

I noticed this happening again, and decided to tried to capture it on recording. This is on 2025.3 beta running macos 26.0.1, though it occurs with previous versions of Sketch as well.

Sometimes, when you change the fill color value (in this case, hex) that has an opacity under 100%, the opacity of the fill layer will automatically change to 100% OR 0% when you change the hex. Sometimes it happens a lot, sometimes it’s a bit more rare. In this clip, it doesn’t occur until the end. Note that, while in the clip the issue happened when I change the hex value in the popper window, this is not always true; just prior to recording this, the bug occurred while changing the hex value in the sidebar.

I have no idea which of the following parameters are required to reproduce this, but the following has been true while I’ve encountered it:

  • layer is a frame
  • layer contains fill layer with <100% opacity set
  • swapping between fff and 000 in hex field occasionally causes fill layer opacity to set to 100% or 0%

Note that the bug in the recording doesn’t occur until the end. No idea how I triggered it there and not via all the other inputs. I also noted that if you type / after three hex chars in the hex field, it will sometimes set opacity to 100%, and if you type 0 after there hex chars in the hex field, it will sometimes set opacity to 0%. However, the bug described in this report does not require any trailing char after inputing a 3-letter hex.

Hello there, @Phy, thanks a lot for reporting this!

I’ve been performing some tests and can experience the issue you are reporting.

It seems that when entering the value, if it is not exact (let’s say you enter “00000“ instead of “000000“), the opacity value is reset to 100.

In other cases, I’ve seen how the opacity was not reset to 100, but modified, for example, from 20% to 27%, or directly to 0%.

I will open an internal investigation and keep you updated! In the meantime, we apologize for the inconvenience this may be causing.

Cheers! :folded_hands:

1 Like