Last modified: 2012-11-26 23:32:23 UTC
1. Type the text "Foo bar baz" 2. Select "bar" 3. Click the link toolbar button 4. Click between the a and the z ("ba|z") to cause the inspector to close 5. Press enter Expected result: paragraph is split with "z" in a new paragraph Actual result: "bar" is removed, paragraph is split with "baz" in a new paragraph Occurs in both Firefox and Chrome. Isn't reproducible 100% of the time. Theory: 1. User changes selection to ba|z 2. SurfaceObserver notices and adjusts its selection 3. Link inspector notices and triggers annotation on a fragment with a different range (the link) 4. Some bug in SurfaceObserver or SurfaceFragment causes SO to believe the current selection is now the link 5. User presses enter, SO removes what it believes is the selection
Fixed in recent inspector rewrite: I38995d4101fda71bfb2e6fe516603507ce820937 and Ibf6b26de299e54ae8688a2653bf5d5538927f8c3