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 100320 - fixed size/aspect ratio of the select tools should be a toggle
fixed size/aspect ratio of the select tools should be a toggle
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: User Interface
git master
Other All
: Normal enhancement
: 2.0
Assigned To: GIMP Bugs
Daniel Egger
Depends on:
Blocks: 51108
 
 
Reported: 2002-12-04 13:32 UTC by Jakub Steiner
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jakub Steiner 2002-12-04 13:32:41 UTC
Selection tools can keep an aspect ratio of the selection by pressing shift
while dragging (and having the aspect ratio/aspect size checkbox on). 

However there is no visual feedback/clue for this and it's not necersarily
intuitive either. GIMP 1.3 is using tool option toggles for stuff like
this, so I suggest using radios to select the mode: 

() fixed size 
() aspect ratio

The shift binding would of course still exist.
Comment 1 Raphaël Quinet 2002-12-04 14:43:50 UTC
I think that we could mark this as a duplicate of bug #51108, or at
least have a dependency on it (I just did the latter, but maybe the
former is better).
Comment 2 Dave Neary 2002-12-05 17:17:07 UTC
I don't think so - this is something which can be changed fairly
atomically in the selection options dialog - it's basically either
changing a toggle to a set of 3 toggles, or adding a couple of toggles
so that we have either 
1)
   Free select *  Fixed size o   Fixed ratio o
or
2)
   Fixed size/aspect ratio *


   Fixed size         *
   Fixed aspect ratio o

where in the latter case, the entire area (the toggles and the width &
height) is greyed out - in the former, the width/height should be
greyed out if Free selection is selected. I kind of prefer the second,
with a hot-key (Shift) to allow switching between the modes in the
same way as Zoom in/Zoom out for the magnify tool. It's close to the
current behaviour, and has the advantage of having the visual aid in
the toolbox. It's also a pretty small GUI change, and code changes
would be pretty much confined to selection_options.[ch].

Cheers,
Dave.

Comment 3 Michael Natterer 2003-01-06 16:24:37 UTC
Fixed in CVS:

2003-01-06  Michael Natterer  <mitch@gimp.org>

  * libgimptool/gimptoolenums.[ch]: added enum GimpRectSelectMode
  which can be one of "free", "fixed-size" and "fixed-ratio".

  * app/tools/selection_options.[ch]: replaced the "Fixed Size /
  Aspect Ratio" toggle by a menu offering the choices above.

  * app/tools/gimprectselecttool.[ch]: changed accordingly. Removed
  the possibility to <shift>-switch from "fixed-size" to
  "fixed-ratio" mode. Fixes bug #100320.