Moving/resizing shape objects is frustrating #1425

Closed
DaanHaaz opened this Issue Jan 3, 2017 · 5 comments

Projects

None yet

2 participants

@DaanHaaz
DaanHaaz commented Jan 3, 2017

When creating a rectangle you have to hold ctrl to align to the tilemap. After you created the rectangle, select it, and move it around, you also use ctrl for aligning. But when resizing the rectangle, you have to hold alt. This inconsistency is annoying.

So now I want to resize the rectangle. I click on one of the arrows, I hold alt, and try to move the arrow. But because I wasn't in a "resizing state" yet, it instead moves the rectangle around.

So I would like for alt and ctrl to be switched in the resizing state, and prevent alt from going in to grabbing state when an arrow is selected.

@bjorn
Owner
bjorn commented Jan 3, 2017

But when resizing the rectangle, you have to hold alt. This inconsistency is annoying.

The trouble was, Tiled has always had Ctrl for toggling the snapping, but in other applications Ctrl is used to maintain the aspect ratio in the context of resizing. So I really wasn't sure of the best approach.

And Alt is, at least in Inkscape, used to force a drag operation, which can really come in handy but it means Alt is a bad key for "toggle snap" in that context. Otherwise, I might have opted to just move the snap toggle from Ctrl to Alt everywhere.

So right now I'm not sure what to do with this, apart from maybe dropping the toggle key completely and instead adding a shortcut to the "Snap to Grid" action in the View menu (you are aware that you can turn that on/off, so that you don't need to rely on Ctrl/Alt to toggle it, right?).

So now I want to resize the rectangle. I click on one of the arrows, I hold alt, and try to move the arrow. But because I wasn't in a "resizing state" yet, it instead moves the rectangle around.

I should definitely make sure that the Alt modifier does not prevent you from using the resize handle.

@bjorn bjorn added the Usability label Jan 3, 2017
@DaanHaaz
DaanHaaz commented Jan 3, 2017

If you only fix my second problem than that's fine to me. I'll just get used to using alt instead of ctrl for resizing.

@bjorn
Owner
bjorn commented Jan 3, 2017

If you only fix my second problem than that's fine to me. I'll just get used to using alt instead of ctrl for resizing.

The above change fixes that, so it will be in a potential 0.18.1 release, and in the snapshots sometime sooner.

Do you have any opinion on dropping the snap toggle and instead having a shortcut for quickly turning snap on/off?

@DaanHaaz
DaanHaaz commented Jan 3, 2017

Oops, I wasn't even aware of that feature. That makes things a lot easier haha.

In that case I'd say keep it like this.

@bjorn
Owner
bjorn commented Jan 3, 2017

Alright. :-)

@bjorn bjorn added a commit that closed this issue Jan 3, 2017
@bjorn Changed Alt-drag behavior to not override resize handles
By holding Alt you can drag around the currently selected objects,
without fear of accidentally selecting some other object. So far it
would also cause a drag operation even when clicking a resize or rotate
handle. The handle now takes precedence.

The old behavior was especially annoying for people trying to use Alt
while resizing in order to toggle the grid snapping.

Closes #1425
6d3a36b
@bjorn bjorn closed this in 6d3a36b Jan 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment