Bug 1603166 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

I am looking at a recent iteration of bug 440377: 73.0a1 (2019-12-10) (64-bit).*

STR
I don't have reproducible STR atm, but I've definitely seen this and was able to repeat it several times
- some pills in To
- one pill in CC (probably cut and copied from To)
- edit the last To-pill (I guess), press Enter

Actual result
- cursor jumped to the end of CC field

Expected result
- cursor remains in To field

Maybe someone can reproduce and/or figure out how this could possibly happen in the code. Wild speculation: Could cut and paste somehow steal a part of the DOM tree or an item with attributes that make it the target for the end of field cursor?

*: https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=eef5e4aa573cad31df6382748f984d696b654752
I am looking at a recent iteration of bug 440377: 73.0a1 (2019-12-10) (64-bit).*
Build Id: 20191210230729

STR
(now reproducible)
- create two pills in To-field: (John Doe <john@asdf.com>)(Jane Doe <Jane@asdf.com>)
- Shift+cursor left to select last pill (Jane)
- Cut (Ctrl+X)
- tab to (+)CC, press Enter -> CC field opens
- Paste (Ctrl+V), press Enter

Actual result
- cursor jumps back to the end of TO field (but we just pressed Enter in CC field)

Expected result
- cursor remains in CC field

*: https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=bec9f1c7f543c51307397ea1cafbfe321c2db83e
I am looking at a recent iteration of bug 440377: 73.0a1 (2019-12-10) (64-bit).*
Build Id: 20191210230729

STR
(now reproducible)
- create two pills in To-field: (John Doe <john@asdf.com>)(Jane Doe <Jane@asdf.com>)
- Shift+cursor left to select last pill (Jane)
- Cut (Ctrl+X)
- tab to (+)CC, press Enter -> CC field opens and auto-focuses
- Paste (Ctrl+V) into CC field (Jane...), press Enter

Actual result
- cursor jumps back to the end of TO field (but we just pressed Enter in CC field)

Expected result
- cursor remains in CC field

*: https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=bec9f1c7f543c51307397ea1cafbfe321c2db83e
I am looking at a recent iteration of bug 440377: 73.0a1 (2019-12-11) (64-bit).*
Build Id: 20191211185751

STR (reproducible, reduced 2019-12-12)
1. create at least one pill in To-field (not reproducible without): (to-foo)
2. create another pill in CC-field: (cc-bar), press Enter

Actual result
- cursor jumps back to the end of TO field (but we just pressed Enter in CC field)

Expected result
- cursor remains in CC field

*: https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=e8fc86894b3288d4360b195fe7a952aec10302b9
I am looking at a recent iteration of bug 440377: 73.0a1 (2019-12-11) (64-bit).*
Build Id: 20191211185751

STR (reproducible, reduced 2019-12-12)
1. create at least one pill in To-field (not reproducible without): (to-foo)
2. create another pill in CC-field: (cc-bar)

Actual result
- focus (cursor) jumps back to the end of TO field (but we just created a pill in CC field)

Expected result
- focus (cursor) remains in CC field

*: https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=e8fc86894b3288d4360b195fe7a952aec10302b9

Back to Bug 1603166 Comment 0