Last modified: 2014-07-17 22:52:32 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 T59177, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57177 - MobileFrontend: VisualEditor loads without a cursor due to blurring of all CE elements
MobileFrontend: VisualEditor loads without a cursor due to blurring of all CE...
Status: RESOLVED INVALID
Product: MobileFrontend
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: High normal
: ---
Assigned To: Juliusz Gonera
: mobile
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-18 09:00 UTC by Ryan Kaldari
Modified: 2014-07-17 22:52 UTC (History)
10 users (show)

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


Attachments

Description Ryan Kaldari 2013-11-18 09:00:54 UTC
On desktop, as soon as the visual editor is loaded, the cursor is activated at the beginning of the page content. This doesn't happen in the mobile version.

Clicking on the page content after the editor has loaded then has inconsistent behavior between browsers. In Firefox, clicking anywhere in the page content inserts the cursor at the beginning of the content. In Webkit browsers, it inserts the cursor at the click location.

I believe that fixing the first problem will also fix the second problem in for free.
Comment 1 Ryan Kaldari 2013-11-19 06:21:05 UTC
This is in reference to Rob's prototype mobile visual editor. https://gerrit.wikimedia.org/r/#/c/93916/
Comment 2 Ryan Kaldari 2014-06-25 20:29:25 UTC
We would like to have this fixed before we push mobile VE to stable if possible. Any update on it?
Comment 3 James Forrester 2014-06-25 20:30:38 UTC
(In reply to Ryan Kaldari from comment #2)
> We would like to have this fixed before we push mobile VE to stable if
> possible. Any update on it?

… no? Bugs in VE/Mobile have been awaiting triage and action by the Mobile since this was agreed in 2012. We can have a look at it now, though.
Comment 4 Ed Sanders 2014-07-12 21:34:51 UTC
This is caused by code in MF, line 152 of VisualEditorOverlay.js:

// for some reason the first time contenteditables are focused, focus
// event doesn't fire if we don't blur them first
this.$( '[contenteditable]' ).blur();

The code was added to fix bug 61240.
Comment 5 Ryan Kaldari 2014-07-17 22:52:32 UTC
According to Juliusz this is on purpose as tablets require an actual tap to activate the virtual keyboard.

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


Navigation
Links