Opened 14 years ago

Last modified 14 years ago

#1871 accepted defect

OLPC-Colors Activity – Paint tab ‘Center image’ button is not working

Reported by: shani Owned by: wadeb
Priority: Normal Milestone: Unspecified
Component: Colors Version: 0.84.x
Severity: Minor Keywords: OS115
Cc: Distribution/OS: Other (name your distribution in the description)
Bug Status: New

Description

After I draw an image and click the center image it doesn’t
move to center of the page.

When user clicks the center image system should center that
image.

Step to recreate the defect:

  1. Power on OLPC
  2. Click on the colors icon on home page.
  3. Click on the paint tab.
  4. Draw some image.
  5. Click the center image button.

Actual Result:

Center image button is not working as expected. It doesn’t change the place of the image.

Expected Result:

When user clicks the center image, system should center that
image.

Tested Environment

OS: Sugar and GNOME (Dual boot)
Machine Type: XO 1.5
Build: OS 115
Firmware: Q3A35

Change History (2)

comment:1 Changed 14 years ago by quozl

The Center Image button is badly named, and this has caused you to misinterpret the expected result.

Expected Result: when user clicks the Center Image button, system is to scroll the image so that the centre of the image is on the centre of the screen. The image is the entire drawing surface, not only what has been marked on the surface by the user.

The use-case of the Center Image button is after a change of canvas scroll position, such as after a zoom. Try this; draw something in the top right of the canvas, place the cursor over it, then use the Ctrl-Z accelerator for Zoom In, repeat this until no further zoom is possible, observe the position of the canvas, then Center Image.

Perhaps the Center Image button should be insensitive when the image is already centred.

Perhaps the Center Image button should be renamed Center Canvas.

comment:2 Changed 14 years ago by wadeb

  • Status changed from new to accepted

Hi, thanks for the excellently written bug report and the clarification and suggestions by quozl.

I'll try to improve this confusing button in the next version.

Note: See TracTickets for help on using tickets.