After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 589473 - Wish: More advanced control over rounded rectangle selection
Wish: More advanced control over rounded rectangle selection
Status: RESOLVED OBSOLETE
Product: GIMP
Classification: Other
Component: Tools
git master
Other All
: Normal enhancement
: ---
Assigned To: GIMP Bugs
GIMP Bugs
: 681603 704611 785813 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-07-23 10:21 UTC by LightningIsMyName
Modified: 2018-05-24 12:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Workaround (6.17 KB, text/plain)
2013-07-21 03:02 UTC, Michael Morris
Details

Description LightningIsMyName 2009-07-23 10:21:50 UTC
After a bit of browsing the GIMP's source, I saw that GIMP allows rounded selection with seperate Rx and Ry (which the User Interface currently doesn't provide) but even more important, is the fact that in the UI, the corner's radius is limited to 100 whil in fact, the true limitations is 262144.

The need for seperate Rx and Ry is probably rare so It might not be essential to add it, but the corner radius that is limited to 100 is a bit of an anoyance (mainly when working with large images).

Is there any chance that more control over the corner's radius will be added?
Comment 1 Martin Nordholts 2009-07-23 10:31:35 UTC
Strictly speaking, you should have discussed this on gimp-developer before filing this enhancement request, but I agree with you. The problem is that we can't allow the scale to go to 262144 because it would be too sensitive for small adjustments. I think we should add a size entry widget instead, but not a GimpSizeEntryWidget because they suck. We should make this bug report depend on the new size entry widgets that are not yet written, where the unit is within the text entry itself, like so:

  [10 px]

instead of

  [10] [px]

Comment 2 LightningIsMyName 2009-08-17 11:26:49 UTC
I read that the GIMP 2.7 (which is now released) has the new size entry widget.

Can we continue discussing this bug?
Comment 3 Martin Nordholts 2009-08-17 15:38:57 UTC
No it's just the old size entry widget that is pimped, it's still [10] [px].
Comment 4 Michael Natterer 2012-11-06 21:56:13 UTC
*** Bug 681603 has been marked as a duplicate of this bug. ***
Comment 5 Martin von Gagern 2012-11-07 07:15:46 UTC
After over three years of inactivity, what's the status here?

(In reply to comment #1)
> We should make this bug report depend on the new size entry widgets

I see no dependency here in Bugzilla. Can you point out where that is discussed, where we might find out about the status of that implementation?

I'd consider a consistent UI more important than trying out the latest widgets. So as there already are components where you can enter stuff in pixels or percent (e.g. for scaling), the same widget(s) should be used in this UI here. If a better widget comes along one day, then all use cases should be adapted. I see no need to block a feature for this, and definitely not for three years.
Comment 6 Michael Natterer 2012-11-07 08:42:26 UTC
The status is that we did nothing for 3 years, and will continue to
do so so until one of our very few developers who dedicate their free
time to GIMP feels like doing it.
Comment 7 Martin von Gagern 2012-11-07 09:30:35 UTC
After looking at the code, I realize that the "Rounded Rectangle" tool is written in Script-Fu, while the UI components I mentioned are only used by C code so far. So what seems to be lacking is not the widget per se, but rather the Script-Fu bindings for it. Therefore, two routes seem possible: either write Script-Fu bindings for the GimpSizeBox widget, or re-implement the rounded rectangle functionality in C. I guess I'd go for ther former, but I'm not sure whether I'll find the time either. Should I open a separate report to track progress on this?
Comment 8 Michael Schumacher 2013-07-20 17:22:15 UTC
*** Bug 704611 has been marked as a duplicate of this bug. ***
Comment 9 Michael Morris 2013-07-21 03:02:33 UTC
Created attachment 249737 [details]
Workaround
Comment 10 Michael Morris 2013-07-21 03:03:12 UTC
Comment on attachment 249737 [details]
Workaround

I don't know enough nor do I have the time to address this in GIMP.  However I did create a script-fu script, select_round_rectangle.scm, to expose more of gimp-image-select-round-rectangle's functionality to the UI.  I have attached the script here and it can also be found at https://github.com/m2orris/GIMP-scripts/blob/master/Script-Fu/select_round_rectangle.scm and http://registry.gimp.org/node/28346
Comment 11 Anselmo A. Peretto 2016-09-27 01:21:58 UTC
As a cartoonist, I want to reiterate about its importance when designing speech balloons on large image size.
Comment 12 Michael Natterer 2016-09-28 18:42:01 UTC
Since the round corners widget only takes space when the option is
enabled, i see no problem in changing it to separate radius-x and radius-y
widgets.
Comment 13 Michael Natterer 2016-09-28 19:05:49 UTC
Adding newcomers keyword, this should be fairly simple.
Comment 14 Anselmo A. Peretto 2016-09-29 12:27:54 UTC
(1) Changing the range unit (not until 100px) to consider the whole quadrant, whatever size; 
(2) Separating x and y radius;

will improve the tool a lot and achieve the desirable design.
Comment 15 Michael Schumacher 2017-08-11 18:42:55 UTC
*** Bug 785813 has been marked as a duplicate of this bug. ***
Comment 16 GNOME Infrastructure Team 2018-05-24 12:38:52 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gimp/issues/308.