GNOME Bugzilla – Bug 589473
Wish: More advanced control over rounded rectangle selection
Last modified: 2018-05-24 12:38:52 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?
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]
I read that the GIMP 2.7 (which is now released) has the new size entry widget. Can we continue discussing this bug?
No it's just the old size entry widget that is pimped, it's still [10] [px].
*** Bug 681603 has been marked as a duplicate of this bug. ***
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.
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.
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?
*** Bug 704611 has been marked as a duplicate of this bug. ***
Created attachment 249737 [details] Workaround
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
As a cartoonist, I want to reiterate about its importance when designing speech balloons on large image size.
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.
Adding newcomers keyword, this should be fairly simple.
(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.
*** Bug 785813 has been marked as a duplicate of this bug. ***
-- 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.