uci-sdcl / CaliSmall

Calico on Android
Other
0 stars 0 forks source link

Canvas freezes upon selecting an Image Scrap under special conditions #30

Open kflis opened 11 years ago

kflis commented 11 years ago

Tested on a Galaxy Nexus phone. Will test on the Nexus 7 tomorrow.

How to replicate:

  1. Launch a new instance of CaliSmall
  2. Zoom out as far as possible
  3. Insert an image from the gallery (I used a 1944 x 2592 image taken from my phone camera). The scrap should be selected. Do not deselect it.
  4. Re-size the scrap to the smallest width possible and about half or less of its original height directed at the left edge of the white portion of the canvas.
  5. Deselect the scrap.
  6. Attempt to select the scrap again (this may take a few tries)
  7. Once the scrap is selected, the bubble menu will appear and the canvas area will be frozen.

Absolutely no action can be performed in the white or grey area of the canvas (including the bubble menu). The toolbar at the top is still select-able and functional, but the canvas is not.

Side notes:

Selecting the eraser will unfreeze the canvas. After exiting eraser mode, selecting the scrap again will still freeze the canvas. In addition, the eraser does not seem to be able to erase the scrap.

kflis commented 11 years ago

Here's what it looks like on my phone. The scrap is not very noticeable, but its there.

2013-05-16 02 25 49

kflis commented 11 years ago

Just tested it on the Nexus 7. It is caused by moving an image scrap to the exact top left corner of the drawable canvas, re-sizing its width to the smallest width possible (and possibly downsizing the height too), and then deselecting the image scrap followed by re-selecting the image scrap. This can be done in the opposite order, too--re-sizing then moving. Also, the scrap can be deleted only by circling it and deleting the selection (that is, after using the eraser to unfreeze the canvas).