mapeditor/tiled

Do you want to work on this issue?

You can request for a bounty in order to promote it!

Holding Alt while selecting objects has conflicts #3719

UliAbo posted onGitHub

To Reproduce Issue (With input from @eishiya from Discord on 2023-05-18): Holding Alt while selecting toggles between Select Touched Objects and Select Enclosed Objects, but actually trying to drag to select while holding Alt moves the already selected objects. This means toggling with Alt only works while no objects are selected, and if objects are selected, one must use the toolbar toggles. Seems like a bit of an oversight / conflicting modifiers?

Specifications:

  • OS: Win10
  • Tiled Version: 1.10.0

Indeed, Alt also means "move selected objects", so if you want to use it to change the selection mode, you need to press Alt after the mouse button rather than before.

So yes, it's a bit of a conflict, but at least there is a workaround. I would suggest we just leave the behavior as-is, unless you have a suggestion for a better behavior?

posted by bjorn almost 2 years ago

So yes, it's a bit of a conflict, but at least there is a workaround. I would suggest we just leave the behavior as-is, unless you have a suggestion for a better behavior?

I think the current behaviour isn't a big problem though the solution is a bit challenging to discover xP

What makes it confusing and buggy-feeling is that the mode change is indicated in the toolbar even when it isn't actually relevant because a move is going to happen or already happening. Is it possible to somehow block Alt from changing the selection mode if it's pressed before clicking and if it would be irrelevant (i.e. when some objects are already selected)? This would be functionally a cosmetic change.

posted by eishiya almost 2 years ago

Is it possible to somehow block Alt from changing the selection mode if it's pressed before clicking and if it would be irrelevant (i.e. when some objects are already selected)? This would be functionally a cosmetic change.

Hmm, yes, that'd be an improvement and it should be possible.

posted by bjorn almost 2 years ago

Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests