Skip to content

[Bug]: Welcome screen works only from left to right #6461

@amire80

Description

@amire80

Summary

The welcome screen has several parts and the user can swipe through them. The user's current position in the screens is indicated by circles at the bottom of the screen. If the user interface language is English, the first screen is represented by a highlighted circle on the left-hand end. The user swipes to the left, and then the second circle from the left becomes highlighted. So far, this is the expected behavior. However, if the user interface language is Hebrew, it looks the same: the swiping is to the left and the circles go from left to right. I'd expect that in the Hebrew user interface, the user would swipe to the right, and the circles would go from right to left.

I'm not an experienced Android developer, but I searched a bit, and found that migration to ViewPager2 can solve this because it supports RTL languages out of the box. Migration to ViewPager2 was also brought up in #6083 as a possibly desirable thing to do, so perhaps this is another reason to do it.

Steps to reproduce

  1. Switch the phone to work in Hebrew. (Note that because of [Bug]: The app's interface language is inconsistent after changing the phone's language in the settings #6450, you may also have to clear the app data and log in.)
  2. Open the hamburger menu.
  3. Tap "Tutorial" (with the question mark).

Expected behaviour

  1. The circles at the bottom of the screen are supposed to go from right to left: the highlighted circle is supposed to be on the right-hand end.
  2. The swiping is supposed to work to the right.

Actual behaviour

  1. The circles at the bottom of the screen go from left to right: the highlighted circle is on the left-hand end.
  2. The swiping works to the left.

Device name

Samsung Galaxy 23

Android version

15

Commons app version

6.0.2~2811b181b

Device logs

No response

Screen-shots

Not that this is the first page in the welcome tutorial, and it's in Hebrew, but the circle is on the left-hand side.

Image

Would you like to work on the issue?

None

Metadata

Metadata

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions