[MGNLUI-2863] Can't cancel a move of a component Created: 05/May/14  Updated: 09/Mar/21  Resolved: 09/Mar/21

Status: Closed
Project: Magnolia UI
Component/s: page editor
Affects Version/s: 5.2.4
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: Andreas Weder Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 1
Labels: usability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

When you start moving a component, you have to drop it onto another component in order to conclude the move - there's no way to cancel it:

  • moving the component onto e.g. the background of the page or outside an area doesn't work
  • the "cancel move" action in the Action bar is not enabled.

The only workaround is to reload the page.



 Comments   
Comment by Nickolaus Wing [ 24/Mar/16 ]

We have a ticket for this at Texas State as well. We are not going to do anything about this ourselves, as the most appropriate fix is in the core project and dealing with Vaadin is something we still struggle with.

We recommend that the escape key should cancel the move. We understand that cancel upon clicking elsewhere would make it difficult to scroll up on a touch screen during a move operation, but it's what nearly all users try to do first. Perhaps a non-touch click could be detected?

Neither of those solve the problem on a touch screen. Clicking the same move button again should also cancel. Automatic cancel on a timer from the last (3-5 seconds?) could also work.

There is a secondary problem here as well. As I mentioned above, clicking the same move button again should cancel the operation; we have observed several users intuit this as a potential solution when they found that clicking outside the area doesn't work. However, what actually happens is another drag-drop shadow is created. Clicking again creates a third "ghost" bar, and so on. Even if it's decided not to make the second click cancel, this issue should still be addressed.

Comment by Nickolaus Wing [ 24/Mar/16 ]

Additionally, can confirm this is still an issue in 5.4.4.

Comment by Roman Kovařík [ 09/Mar/21 ]

Can't reproduce on latest. Feel free to reopen.

https://demo.magnolia-cms.com/.magnolia/admincentral#app:pages-app:detail;/travel:edit

Generated at Mon Feb 12 09:00:54 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.