Last modified: 2012-07-21 10:17:14 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 T35079, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33079 - VisualEditor mis-positions caret in RTL text
VisualEditor mis-positions caret in RTL text
Status: VERIFIED WORKSFORME
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Christian Williams
https://www.mediawiki.org/wiki/Specia...
:
Depends on:
Blocks: ve-rtl
  Show dependency treegraph
 
Reported: 2011-12-14 04:54 UTC by Brion Vibber
Modified: 2012-07-21 10:17 UTC (History)
7 users (show)

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


Attachments

Description Brion Vibber 2011-12-14 04:54:36 UTC
Steps to reproduce:
* go to https://www.mediawiki.org/wiki/Special:VisualEditorSandbox
* copy text from he.wikipedia.org such as section title "ברוכים הבאים לוויקיפדיה!" and paste it in
* click or use arrow keys to select a position about 1/4 through the hebrew text
* type "-"

Expected result:
* "-" appears at the caret position within the hebrew text

Actual result:
* "-" appears at 3/4 through the hebrew text


Amir's put together a rough draft document at https://www.mediawiki.org/wiki/Visual_editor/Bidirectional_text_requirements with more background detail on bidirectional text issues and what needs to be supported.
Comment 1 Trevor Parscal 2011-12-14 18:58:56 UTC
I love that people are trying to use this editor with RTL text.

We haven't tried to do this yet at all, but as you mentioned, it's planned for sure.
Comment 2 Brion Vibber 2011-12-14 19:12:38 UTC
Mainly I just want to make sure it's in the bug tracker for future reference. :D
Comment 3 James Forrester 2012-06-22 17:51:47 UTC
Still an issue? - to check.
Comment 4 Amir E. Aharoni 2012-06-22 18:04:31 UTC
Can you install it on some RTL wiki? he.wikisource is often used as a testbed. Or in labs somewhere.
Comment 5 James Forrester 2012-06-22 22:06:11 UTC
Mass-moving items into VisualEditor product
Comment 6 James Forrester 2012-06-23 01:31:09 UTC
We're generally not intending wider deployment on a real wiki right now (imposing it on the MediaWiki.org community is taxing enough). Perhaps a labs deployment in HE would work (and one in a CJK language, at minimum)? But more to the point, none of the team use RTL or CJK languages so 'testing by inspection' is more challenging. :-)
Comment 7 James Forrester 2012-06-23 01:36:18 UTC
Mass-move out of "General" to "ContentEditable".
Comment 8 Amir E. Aharoni 2012-06-23 05:02:50 UTC
(In reply to comment #6)
> We're generally not intending wider deployment on a real wiki right now
> (imposing it on the MediaWiki.org community is taxing enough). Perhaps a labs
> deployment in HE would work (and one in a CJK language, at minimum)? But more
> to the point, none of the team use RTL or CJK languages so 'testing by
> inspection' is more challenging. :-)

Ask me to test any time.
Comment 9 Christian Williams 2012-07-19 22:46:28 UTC
I've been testing RTL here:
http://framezero.com/work/wikia/VisualEditor/demos/ve/index.php

The HTML tag sets lang="he" and dir="rtl". Pasting the above hebrew text results in a section of bi-directional text and typing appears to work.
Comment 10 Amir E. Aharoni 2012-07-21 10:17:14 UTC
Verified on my own installation. Great!

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


Navigation
Links