Skip to content
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.

Dragging block onto its own TextField within an Fragment workspace will paste the Intent. #691

Open
RoboErikG opened this issue Nov 8, 2017 · 1 comment
Assignees
Labels

Comments

@RoboErikG
Copy link
Contributor

There's a bug in the drag and drop implementation that can cause the XML serialization of a block to get pasted into a text field on the block the first time you drag it.

Reported on the mailing list.

@AnmAtAnm
Copy link
Contributor

AnmAtAnm commented Nov 8, 2017

I can recreate it the Simple Fragment demo, but I can't recreate it in the Simple Activity demo.

It only occurs when a block is dropped onto itself. Attempting to drag a text block onto another text block does not cause this problem. This isn't possible in the Simple Activity demo because the blocks are GONE during dragging (only the DragShadow is present). I'm not sure why the block in the Fragment demo isn't gone, too.

@AnmAtAnm AnmAtAnm changed the title Dragging a block with a text field sometimes pastes the xml into the field Dragging block onto its own TextField within an Fragment workspace will paste the Intent. Nov 8, 2017
@AnmAtAnm AnmAtAnm added P1 and removed P2 labels Nov 13, 2017
@AnmAtAnm AnmAtAnm self-assigned this Jan 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants