maoschanz / drawing

Simple image editor for Linux
https://maoschanz.github.io/drawing/
GNU General Public License v3.0
784 stars 101 forks source link

Selection options applied when defining it, not changeable afterwards #583

Open maoschanz opened 1 year ago

maoschanz commented 1 year ago

Use case

user realizes the 'selection-extract' or the 'selection-color' is wrong. To realize that, they have already defined the selection pixbuf: sadly, those options are applied at the time of the 'define' operation, so the app expects them to unselect, change the value, and start all over again

Suggested solution

damn idk, i'm at work i don't have time for this, i'll think about that later

grouping the related selection operations with an id, retroactively change the 'define' operation, and rebuild the selection pixbuf from the history in on_options_changed??

Possible drawbacks

huge change to how the selection works = hard as hell = bugs everywhere

Possible alternatives

no