Opened 10 years ago

Closed 6 years ago

Last modified 20 months ago

#3705 closed defect (fixed)

Many tools should have a "fixed-aspect" mode

Reported by: Eben Owned by: alexandre
Priority: normal Milestone:
Component: paint/drawing-activity (oficina) Version:
Keywords: Cc:
Blocked By: Blocking:
Deployments affected: Action Needed: no action
Verified: no


Some tools - in particular shapes and selections - should have a fixed aspect ratio mode, to be activated while holding the SHIFT key. This allows one to create squares and circles instead of rectangles and ellipses. It also allows one to create a symmetrical star. It is also useful for lines, which should snap to straight lines (and perhaps 45s).

Pressing and releasing the SHIFT key should update the preview shape live while creating it.

Attachments (1)

0001-Fixed-aspect-ratio-mode-for-Shape-tools-OLPC-3705.patch (4.9 KB) - added by ayush 6 years ago.
Revised patch

Download all attachments as: .zip

Change History (6)

comment:1 Changed 10 years ago by jg

  • Milestone changed from Untriaged to First Deployment, V1.0

Changed 6 years ago by ayush

Revised patch

comment:3 Changed 6 years ago by godiard

  • Action Needed changed from package to test in build
  • Milestone changed from 8.2.0 (was Update.2) to 10.1.3

Will be in 353.

The ellipse, rectangle and line tool have a checkbox in the pallete, to select "Keep aspect", if selected, the ellipse tool will do circles, the rectangle tool will do squares and the line tool will do lines vertical, horizontal and at 45 degrees.

comment:4 Changed 6 years ago by greenfeld

  • Action Needed changed from test in build to no action
  • Resolution set to fixed
  • Status changed from new to closed

Verified in 10.1.3 os354 that we have controls to keep a fixed aspect ratio for the three tools mentioned above.

The Shift key approach also works to enable this mode while drawing if you move the mouse to alter the object after pressing the Shift key. But pressing the Shift key will not disable this mode if it was forced by the enabling checkbox for a tool.

(I'm not certain if "Keep Aspect" is the best English term for this though. I would say it has a "fixed aspect ratio" in English, but I do not know of a shorter term.

I would have to find a paint program with a similar checkbox to see what they used but most just presume the Shift key trick. From their help pages, others just say things like "hold down Shift to draw a {square,circle,etc.} instead of using something technical.)

comment:5 Changed 20 months ago by Quozl

  • Milestone 10.1.3 deleted

Milestone 10.1.3 deleted

Note: See TracTickets for help on using tickets.