Last modified: 2014-10-16 23:45:36 UTC
Created attachment 16653 [details] Screenshot Steps to reproduce: 1.Open a page with VE 2.Select any focusable node: citation note,math ,template or image Observed Result: The following error appears in the console: NS_ERROR_FAILURE: The context menu for that focusable note is still active in CE ,if you select some other focusable note after this, no context menu appears for it or the one for previous node appears on top of it Environment:test2 and Betalabs
Reproducible in standalone with comment nodes too.
Caused by 0d7eaf51767c4061b478610a035a3bc387c0973a (workaround for bug 70724 about broken Firefox cursoring). Calling .collapseToStart() sometimes fixes the selection, and sometimes causes this cryptic exception. This looks very ugly and very internal, so I'm just going to revert the patch and update the upstream bug report.
Change 164548 had a related patch set uploaded by Bartosz Dziewoński: Revert "ve.ce.Surface: Magic workaround for broken Firefox cursoring" https://gerrit.wikimedia.org/r/164548
Change 164593 had a related patch set uploaded by Jforrester: Revert "ve.ce.Surface: Magic workaround for broken Firefox cursoring" https://gerrit.wikimedia.org/r/164593
Change 164548 merged by jenkins-bot: Revert "ve.ce.Surface: Magic workaround for broken Firefox cursoring" https://gerrit.wikimedia.org/r/164548
Change 164593 merged by jenkins-bot: Revert "ve.ce.Surface: Magic workaround for broken Firefox cursoring" https://gerrit.wikimedia.org/r/164593
Verified the fix in Betalabs
Verified the backport in test2
Verified the fix in production