Last modified: 2014-10-14 17:38:08 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T62110, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 60110 - VisualEditor: Selecting templates on iOS < 8 causes the on-screen keyboard to close, so they cannot be deleted
VisualEditor: Selecting templates on iOS < 8 causes the on-screen keyboard to...
Status: PATCH_TO_REVIEW
Product: VisualEditor
Classification: Unclassified
Mobile (Other open bugs)
unspecified
All All
: Low major
: VE-deploy-nextup
Assigned To: James Forrester
:
: 67257 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-15 22:38 UTC by WhatamIdoing
Modified: 2014-10-14 17:38 UTC (History)
10 users (show)

See Also:
Web browser: ---
Mobile Platform: iOS
Assignee Huggle Beta Tester: ---


Attachments

Description WhatamIdoing 2014-01-15 22:38:14 UTC
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
Comment 1 Roan Kattouw 2014-01-15 22:49:08 UTC
Did you mean the cursor instead of the keyboard? Surely VisualEditor didn't make your physical keyboard dissolve into a pool of molten plastic?
Comment 2 WhatamIdoing 2014-01-16 00:13:44 UTC
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.)
Comment 3 Roan Kattouw 2014-01-16 00:53:29 UTC
Aaaah, OK. Updating summary to reflect that.
Comment 4 James Forrester 2014-06-30 22:10:04 UTC
Can this be rechecked?
Comment 5 Rummana Yasmeen 2014-06-30 22:46:07 UTC
Yes, for all block items such as image, reference note, template ,math function: selecting it hides the keyboard.
Comment 6 Brion Vibber 2014-07-02 20:00:55 UTC
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?
Comment 7 James Forrester 2014-07-02 20:29:30 UTC
(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.
Comment 8 James Forrester 2014-08-03 11:21:55 UTC
*** Bug 67257 has been marked as a duplicate of this bug. ***
Comment 9 Roan Kattouw 2014-08-19 17:39:38 UTC
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.
Comment 10 Gerrit Notification Bot 2014-09-29 19:57:08 UTC
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
Comment 11 Ed Sanders 2014-10-04 15:42:16 UTC
Of course this behaves completely differently in iOS 8 (the keyboard stays up). *sigh*
Comment 12 James Forrester 2014-10-05 00:32:33 UTC
(In reply to Ed Sanders from comment #11)
> Of course this behaves completely differently in iOS 8 (the keyboard stays
> up). *sigh*

Re-prioritising.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links