Setting opacity to 58 results in 57, and setting 57 result in 56 (albeit results in an image different from actually setting opacity to 56)

Bug #2020596 reported by NM64
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pinta
Fix Committed
Undecided
Unassigned

Bug Description

Really simple, so I don't think I need to record a video, and it occurred with the flatpak of Pinta 2.1.1 on both the live ISO of Linux Mint 21.1 Cinnamon and an installed copy of Linux Mint 20.3 Xfce with kernel 5.15.0-72.

Anyway, for the issue, simply open any file in Pinta, go to its layer properties (e.g. what shows up when you press the F4 key), set opacity to 58, and click "OK".

If you then look in the layer properties again, it'll show opacity has instead been set to 57.

Similarly, if you close Pinta, then open an image in Pinta again, set opacity to 57, click "OK", and then look at the layer properties again, it'll show that the opacity was instead set to 56.

Interestingly, the resulting image from the 57--to->56 opacity issue is actually different than if you instead input an opacity of 56.

And for reference, no other numerical values for the opacity setting has this issue - it only occurs when trying to input 58 or 57.

Tags: opacity
Revision history for this message
Cameron White (cameronwhite91) wrote :
Changed in pinta:
milestone: none → 2.2
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.