Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for professional graphic designers and non-designers trying to do their own graphic design. It's 100% free, no registration required.

I am a Photoshop novice, but an experienced C++ programmer.

In the process of attempting to resize a rectangle (created with the Rectangle tool) using the Direct Select tool, I ran into some non-trivial behavior that I do not understand and that I am having a difficult time reproducing.

I have taken the following steps:

(1) Choose Direct Select tool

(2) Click once inside image, but outside the rectangle (to deselect any current Direct Select selections made to the rectangle)

(3) Click and drag the Direct Selection rectangle to completely surround the top two corners (and neither bottom corner) of the rectangle

(4) Zoom in to 3000% magnification by clicking the Zoom In button on the Navigator

(5) Scroll the visible area to the middle of the top edge of the rectangle by dragging the red rectangle in the Navigator pane

(6) Press the Shift key and then click/hold the mouse with the cursor directly over the top row of pixels of the rectangle

(7) Still holding the mouse button, drag the mouse upwards to resize the rectangle by moving the top edge up.

This seems "simple enough". The problem is that it does not always work. It sometimes works - just not always.

The strange behavior I sometimes observe is the following:

(1) Sometimes there is a 1-px grey line on some, or all, edges of the rectangle. Sometimes these lines disappear completely. As noted, sometimes these lines appear on some edges, but not all edges. I cannot figure out what steps to take make them appear, and what steps to take to make them disappear. As far as I currently understand, it's random. (Obviously it is not random, but I cannot currently understand it.)

(2) Sometimes, when holding the Shift key, the rectangle, as it resizes, is constrained to vertical resizing. Other times when holding the Shift key, the rectangle is not constrained to vertical resizing, but instead the rectangle changes to a parallelogram or (perhaps, I'm not sure) another non-rectangular shape.

(3) When the ruler is displayed, and shows a pixel-based grid, I find that there is a horizontal grid line within the top row of the rectangle that is NOT aligned with the pixel marking on the ruler. As the rectangle is resized, the non-aligned grid line always remains inside the top row (all other grid lines appear exactly at the pixel indicators on the ruler).

(4) Most importantly - SOMETIMES when I shift-click and drag the mouse to raise the top edge of the rectangle (having already selected the top two corners of the rectangle with the Direct Selection tool before zooming in), the rectangle does NOT resize. Instead, a "selection rectangle" of some sort follows the mouse. Nonetheless, the Direct Selection of the corners of the rectangle still seems to be present - I do not de-select the Direct Selection settings, it's just that an additional "selection rectangle" of some sort seems to appear when I attempt to resize the rectangle - rather than the rectangle actually resizing.

Can someone please explain this non-trivial behavior of the Direct Select tool while I attempt to resize a rectangle in Photoshop?

share|improve this question
I'd be happy to answer but would appreciate it if you'd edit this question to be just 1 question with a descriptive subject and then create new questions instead of 1 enormous multi-pronged question. –  Ryan Jan 13 '13 at 22:12
add comment

2 Answers

up vote 1 down vote accepted

1) Anti-aliasing. Depending upon whether or not the edge of the rectangle rests on an exact pixel or not, the application may anti-alias the edge for better appearance.

2) Because you dragged horizontal, not vertical. The Shift key only constrains the drag to 90° or 45° angles. If you inadvertently hold shift then "twitch" a bit at an angle or sideways, then you will get constrained to that angle.

3) Double-click the ruler origin to reset the rulers.

4) You didn't click on the rectangle so the Direct Selection tool is starting a new selection. Holding the shift key means it's not replacing the current selection, but adding to it.

share|improve this answer
add comment

In my personal experience it is a lot less time consuming, easier and more responsive to simple press Ctrl + T allowing you to resize the object with a clear bounding box, that is of course if you're only interested in keeping a rectangular shape.

Edit > Transform Path > Scale.

share|improve this answer
I actually agree. But to each his/her own :) –  Scott Jan 17 '13 at 19:58
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.