Last modified: 2013-01-18 05:09:00 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 T36169, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 34169 - Text selection in the Wikimedia Mobile Android app works in reverse for right-to-left languages
Text selection in the Wikimedia Mobile Android app works in reverse for right...
Status: RESOLVED WONTFIX
Product: Wikipedia App
Classification: Unclassified
Localization/Translation/Language (Other open bugs)
1.0.0 (Android)
All All
: Low normal
: ---
Assigned To: Nobody - You can work on this!
: i18n
Depends on:
Blocks: rtl-android
  Show dependency treegraph
 
Reported: 2012-02-02 17:29 UTC by Amir E. Aharoni
Modified: 2013-01-18 05:09 UTC (History)
5 users (show)

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


Attachments
a screenshot with selected text in Hebrew (141.83 KB, image/png)
2012-02-02 17:48 UTC, Amir E. Aharoni
Details
a screenshot with selected text in Hebrew on the Opera Mobile browser (183.63 KB, image/png)
2012-02-02 18:23 UTC, Amir E. Aharoni
Details

Description Amir E. Aharoni 2012-02-02 17:29:13 UTC
Text selection works in reverse in right-to-left languages. If i select several lines in an article in Hebrew, the first line is selected from the middle to the *beginning*, and the last line is selected from the *end* to the middle.

Screenshot attached.

Tested on Sony Xperia Neo, Android 2.3.4, app version 1.1 alpha1.
Comment 1 Amir E. Aharoni 2012-02-02 17:48:13 UTC
Created attachment 9949 [details]
a screenshot with selected text in Hebrew

This screenshot shows selected text in a Hebrew article. Notice that since the text runs right-to-left, the first selected line is supposed to be selected from the middle to its left end, but in the reality it is selected to the right end, which is actually the line's beginning.
Comment 2 Amir E. Aharoni 2012-02-02 18:23:35 UTC
Created attachment 9950 [details]
a screenshot with selected text in Hebrew on the Opera Mobile browser

In this screenshot the same text in the same article in Hebrew is selected on the Opera Mobile browser. It works correctly right-to-left.

It's possible that the Opera developers implemented it manually in their browser. In the phone's built-in browser it is broken as in the Wikipedia app. If you are using the build-on browser, this may be an upstream bug.
Comment 3 Amir E. Aharoni 2012-02-02 18:24:31 UTC
(The Opera screenshot has some other rendering problems, but the selection direction is correct.)
Comment 4 Derk-Jan Hartman 2012-02-18 11:58:04 UTC
I don't have a device here to test with, but if you checkout the source and put it on a server of your own, this would be easy to check by going to /assets/www/index.html

I tested it here with plain safari, and as far as i can tell all markers that should take care of this seem to be in place, so this might be an Android bug.

Another thing that might be problematic here is the scroller code. something to test.
Comment 5 Brion Vibber 2013-01-18 05:09:00 UTC
We won't do further work on the PhoneGap-based app, which will be retired in favor of a native app in near future.

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


Navigation
Links