VisualEditor: Selecting templates on iOS < 8 causes the on-screen keyboard to close, so they cannot be deleted
OpenPublic

Description

Intention:
Delete a template.

Steps to Reproduce:

  1. Open an article containing a template.
  2. Select the template.
  3. Try to press the delete key on the now-non-existent keyboard.

Actual Results:
The keyboard closes, so you can't delete them.

Reproducible: Didn't try


Version: unspecified
Severity: major
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=67390

bzimport set Reference to bz60110.
Whatamidoing-WMF created this task.Via LegacyJan 15 2014, 10:38 PM
Catrope added a comment.Via ConduitJan 15 2014, 10:49 PM

Did you mean the cursor instead of the keyboard? Surely VisualEditor didn't make your physical keyboard dissolve into a pool of molten plastic?

Whatamidoing-WMF added a comment.Via ConduitJan 16 2014, 12:13 AM

No, I mean the keyboard. It's an iPad without an attached physical keyboard. The keyboard is displayed on the screen, like the one shown in the picture at https://commons.wikimedia.org/wiki/File:Apple_iPad_Event03.jpg

(Presumably the same problem happens on any mobile device.)

Catrope added a comment.Via ConduitJan 16 2014, 12:53 AM

Aaaah, OK. Updating summary to reflect that.

Jdforrester-WMF added a comment.Via ConduitJun 30 2014, 10:10 PM

Can this be rechecked?

Ryasmeen added a comment.Via ConduitJun 30 2014, 10:46 PM

Yes, for all block items such as image, reference note, template ,math function: selecting it hides the keyboard.

brion added a comment.Via ConduitJul 2 2014, 8:00 PM

I've noticed a few bugs coming through related to certain operations hiding the keyboard and then that killing focus and causing selections and menus to disappear. Is there a general problem where losing keyboard focus causes VE to lose state?

Jdforrester-WMF added a comment.Via ConduitJul 2 2014, 8:29 PM

(In reply to Brion Vibber from comment #6)

I've noticed a few bugs coming through related to certain operations hiding
the keyboard and then that killing focus and causing selections and menus to
disappear. Is there a general problem where losing keyboard focus causes VE
to lose state?

Quite possibly; escalating.

Jdforrester-WMF added a comment.Via ConduitAug 3 2014, 11:21 AM
  • Bug 67257 has been marked as a duplicate of this bug. ***
Catrope added a comment.Via ConduitAug 19 2014, 5:39 PM

This seems to be because we programmatically move focus from the surface to the pasteTarget, and iOS Safari is very picky about when it allows a programmatic focus move to open the keyboard. Something like, it only works if you do it in direct response to a mouse/touch event. I tried a few solutions I found on the internet but I haven't gotten any of them to work yet.

gerritbot added a comment.Via ConduitSep 29 2014, 7:57 PM

Change 163662 had a related patch set uploaded by Jforrester:
Add a "Remove" context button to all Focussable nodes

https://gerrit.wikimedia.org/r/163662

Esanders added a comment.Via ConduitOct 4 2014, 3:42 PM

Of course this behaves completely differently in iOS 8 (the keyboard stays up). *sigh*

Jdforrester-WMF added a comment.Via ConduitOct 5 2014, 12:32 AM

(In reply to Ed Sanders from comment #11)

Of course this behaves completely differently in iOS 8 (the keyboard stays
up). *sigh*

Re-prioritising.

Jdforrester-WMF set Security to None.
Jdforrester-WMF moved this task to Next up: Stability on the VisualEditor workboard.Via WebNov 23 2014, 11:16 PM
Jdforrester-WMF moved this task to Doing on the VisualEditor workboard.Via WebDec 1 2014, 9:25 PM
Jdforrester-WMF moved this task to Backlog on the VisualEditor workboard.Via WebJan 15 2015, 12:09 AM
gerritbot added a subscriber: gerritbot.Via ConduitWed, Apr 8, 4:22 PM

Change 163662 had a related patch set uploaded (by Jforrester):
[WIP] Add a "Remove" context button to all Focusable nodes

https://gerrit.wikimedia.org/r/163662

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.