Page MenuHomePhabricator

Universal Language Selector ime icon shown in Mobile Interface
Closed, DuplicatePublic2 Estimated Story PointsBUG REPORT

Assigned To
None
Authored By
Iflaq
Apr 6 2023, 9:05 AM
Referenced Files
F48232381: image.png
Apr 23 2024, 6:58 AM
F48231610: image.png
Apr 23 2024, 6:58 AM
F36940961: photo_2023-04-05_21-51-46.jpg
Apr 6 2023, 9:05 AM

Description

Steps to replicate the issue (include links if applicable):

  • Visit Kashmiri Wikipedia from mobile phone. (using Chrome browser)
  • Make sure you are logged in
  • Enable Universal Language Selector
    • clicking on Preferences,
    • Then ''More language settings''.
    • Click Inputs and then ''Enable Input tool''.
  • Go to Special:Contenttranslation
  • Try to create a new article or add section to any previous article in editing area.

What happens?:
Once we try to edit in section translation, Universal Language Selector icon shown. (As shown in attached Screenshot on the left side under blue Publish button.)

What should have happened instead?:
Universal Language Selector icon should not be shown in section translation while editing from mobile as it is probably of no use. Even if we try from English keyboard, it wont convert them to any selected language.

Other information (browser name/version, screenshots, etc.):
Browser name: Chrome (Same issue in Firefox also)
Device I used: Mi 8A

photo_2023-04-05_21-51-46.jpg (680×1,280 px, 56 KB)

Event Timeline

Amire80 renamed this task from Universal Language Selector icon shown in Mobile Interface to Universal Language Selector ime icon shown in Mobile Interface.Apr 6 2023, 9:05 AM
Nikerabbit triaged this task as Lowest priority.Apr 17 2023, 7:13 AM
Nikerabbit set the point value for this task to 2.

This issue still exists as of the posting of this comment.

Mobile (Chrome - Android)Desktop browser (Chrome - MacOS)
image.png (738×1,600 px, 287 KB)
image.png (1,272×2,112 px, 173 KB)

What is the criteria for the IME icon being shown from a mobile usability perspective? The mobile keyboard already has input methods that could fit various input methods as already mentioned that the icon may not be useful. We may need to first understand why it shown.

To my knowledge this is a regression from dismantling the resource loader targets system. Before that ULS code was no loaded on mobile devices.

It seems that it's a consensus IME shouldn’t be loaded on mobile. This could be potentially resolved by checking for the user agent and preventing the loading of IME on mobile. There should be code already implemented that could help to do this: https://codesearch.wmcloud.org/search/?q=isMobileDevice&files=&excludeFiles=&repos=

The ResourceLoader/Migration guide for extension developers should be useful in this case as well.