Webview copy dialog UI overlap in RTL language when AP don't support RTL
Reported by
hjchangl...@gmail.com,
Jan 6 2017
|
|||||||||||
Issue descriptionSteps to reproduce the problem: 1. Change Android device to RTL language (ex.Arabic) 2. Open a AP (include webview) which don't support RTL in manifest 3. Long press text in webview content to open the copy/paste dialog 4. In dialog, "Copy" is overlapping with "More..." button What is the expected behavior? Dialog UI should be OK whatever AP support RTL layout or not. What went wrong? As screenshot, "Copy" button is overlapping with "More...", The only way to fix it is add android:supportsRtl="true" to AP manifest, But whatever AP support RTL layout or not, Webview dialog UI should be OK. Did this work before? N/A Chrome version: 54.0.2840.85 Channel: stable OS Version: 7.0 Flash Version: N/A
,
Jan 6 2017
,
Jan 6 2017
did you find similar issue in chrome Android?
,
Jan 9 2017
No, Chrome app won't happen this, Because Chrome app support RTL, But default value of android:supportsRtl is false, So all app which don't write android:supportsRtl="true" will meet this issue.
,
Jan 16 2017
Thank you for providing more feedback. Adding requester "michaelbai@chromium.org" for another review and adding "Needs-Review" label for tracking. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jan 17 2017
Assigned to WebView bug cop
,
Mar 13 2017
Cleaning up "Needs-Review" label as we are not using this label for triage. Ref bug 684919
,
Mar 13 2017
,
May 9 2017
> So all app which don't write android:supportsRtl="true" will meet this issue. hjchangliao@, if I understand you correctly, this sounds like it's an app issue. From what you've described, it sounds like it's the app's responsibility to add `android:supportsRtl="true"`, and WebView can't do anything here. Please correct me if I'm misunderstanding.
,
May 12 2017
No, it's not app's responsibility. Support RTL or not is optional for developer, and default value of android:supportsRtl is false. https://developer.android.com/guide/topics/manifest/application-element.html#supportsrtl
,
May 12 2017
Thank you for providing more feedback. Adding requester "ntfschr@chromium.org" to the cc list and removing "Needs-Feedback" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
May 13 2017
I can't reproduce this on my device: Nexus 5X Android NRD91R 3563105, with WebView 54.0.2840.85. I've included a screenshot of what it looks like (I have no clue what the content on the screenshot says, but I hope it's not offensive or inappropriate). The steps I tried: 1. Install simple WebView app which loads Google.com but does not change default "android:supportsRtl" setting 2. Set device language to arabic 3. Open my simple app, do any search, find some text on the results page, and highlight it by long pressing 4. Look at the selection menu, observe that no words are overlapping. I even tried on 53, 55, 57, and 58. All of them look fine. hjchangliao@, can you please provide your device and Android version information?
,
May 16 2017
I try with Pixel Large, It won't happen on Android 7.1 Android N 7.0 : NMD63C (happen) Android N7.1.2: N2G22 (not happen) (sorry for I can only get development ROM) I pack my test app to attachment, or you can try below app on google play: https://play.google.com/store/apps/details?id=com.piti.webviewtester https://play.google.com/store/apps/details?id=com.html5test.webview https://play.google.com/store/apps/details?id=com.webviewbrowser
,
May 16 2017
Thank you for providing more feedback. Adding requester "ntfschr@chromium.org" to the cc list and removing "Needs-Feedback" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Oct 19 2017
IIUC, this looks like an Android issue since we have no control of this in WebView. And it should be fixed in later Android version. |
|||||||||||
►
Sign in to add a comment |
|||||||||||
Comment 1 by hjchangl...@gmail.com
, Jan 6 201718.7 KB
18.7 KB View Download