RSS/Atom feed Twitter
Site is read-only, email is disabled

[bug] incorrect math: adding/substracting empty selection deselects selection

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

[bug] incorrect math: adding/substracting empty selection deselects selection Maciej Pilichowski 23 Sep 20:38
  [bug] incorrect math: adding/substracting empty selection deselects selection Martin Nordholts 24 Sep 23:22
Maciej Pilichowski
2008-09-23 20:38:47 UTC (over 16 years ago)

[bug] incorrect math: adding/substracting empty selection deselects selection

Hello,

I was asked to bring this issue to the ML instead of discussing it on bugzilla so here we go.

Original post: http://bugzilla.gnome.org/show_bug.cgi?id=549925

Simple facts from math and Gimp: 0 is empty set
A is just a set

what is A u 0 ? in Gimp it is 0 what is A \ 0 ? in Gimp it is 0

Such behaviour is even counterintuitive -- if I have selection and I remove one pixel from it I will get previous selection without that pixel. If I don't select anything, selection should be unchanged

Martin Nordholts
2008-09-24 23:22:30 UTC (over 16 years ago)

[bug] incorrect math: adding/substracting empty selection deselects selection

Maciej Pilichowski wrote:

Hello,

I was asked to bring this issue to the ML instead of discussing it on bugzilla so here we go.

Original post: http://bugzilla.gnome.org/show_bug.cgi?id=549925

Hi

Your suggestion makes sense so I've reopened the bug report and closed it as FIXED with the following commited to trunk, rev 27048:

2008-09-24 Martin Nordholts >

Bug 549925 – incorrect math: adding/substracting empty selection deselects selection

* app/tools/gimprectangleselecttool.c (gimp_rectangle_select_tool_execute): Be more intuitive when clicking outside the current selection for the selection modes Add and Subtract. More specifically, don't alter the selection mask at all.

Best regards,
Martin Nordholts