Closed Bug 1546890 Opened 5 years ago Closed 3 years ago

Copy/Paste&Go after Select All is broken

Categories

(Firefox for Android Graveyard :: Awesomescreen, defect, P3)

Firefox 68
ARM
Android
defect

Tracking

(firefox-esr68 affected, firefox67 affected, firefox68 affected)

RESOLVED INCOMPLETE
Tracking Status
firefox-esr68 --- affected
firefox67 --- affected
firefox68 --- affected

People

(Reporter: sflorean, Unassigned)

References

Details

Environment:
Device:Nexus 6P (Android 8.1.0), Xiaomi Mi4i(Android 5.0.2);
Build: Nightly 68.0a1 (2019-04-25);

Steps to reproduce:

  1. Open an article/page.
  2. Go to page -> View Page Source.
  3. Long tap on a word to bring up the selection menu and choose "Select All->Copy".
  4. Open a new tab -> long tap in URL bar -> choose Paste&Go;

Expected result:
The search results are displayed.

Actual result:
Nothing is happening.

Video: https://drive.google.com/file/d/1e0yEcwQRmRTSIrlOWa2zTVOW_fsp9Tuj/view?usp=sharing.

This doesn't depends on [Select All].

When copying formatted text such as text/html on some Android application (not Firefox), clipdata will be set non plain text. Then, when pasting this formatted text, address bar of Firefox doesn't set plain/text data well. Address bar should handle plain text only and remove CRLF of head.

Component: Text Selection → Awesomescreen
Priority: -- → P3

Issue is still reproducible with Sony Xperia Z5 (Android 7.0) on Firefox RC 68.1, Firefox Beta 68.2b2 and Firefox Nightly 68.2a1(2019-09-10).
Note: In case of testing the issue with the game of thrones wiki page a crash is present.

Crash info for Firefox Beta and Firefox Nightly
Crash Report: https://crash-stats.mozilla.com/report/index/bdab929c-5aeb-4b5a-b145-cd9e90190911
Crash ID: bdab929c-5aeb-4b5a-b145-cd9e90190911
Build ID: 2019091000039(2019-09-10)
Crash Signature: android.database.sqlite.SQLiteException: at android.database.sqlite.SQLiteConnection.nativeExecuteForCursorWindow(Native Method)

Java stack trace:
android.database.sqlite.SQLiteException
at android.database.sqlite.SQLiteConnection.nativeExecuteForCursorWindow(Native Method)
at android.database.sqlite.SQLiteConnection.executeForCursorWindow(SQLiteConnection.java:851)
at android.database.sqlite.SQLiteSession.executeForCursorWindow(SQLiteSession.java:836)
at android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:62)
at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:143)
at android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:132)
at android.content.ContentResolver.query(ContentResolver.java:551)
at android.content.ContentResolver.query(ContentResolver.java:473)
at org.mozilla.gecko.home.BrowserSearch$SearchHistorySuggestionAsyncLoader.loadInBackground(BrowserSearch.java:1090)
at org.mozilla.gecko.home.BrowserSearch$SearchHistorySuggestionAsyncLoader.loadInBackground(BrowserSearch.java:1071)
at android.support.v4.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:307)
at android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:60)
at android.support.v4.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:48)
at android.support.v4.content.ModernAsyncTask$2.call(ModernAsyncTask.java:141)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)

See Also: → 1580459

Hi a new ticket has been created for the crash mentioned in comment 2.

We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.