Closed Bug 1537885 Opened 5 years ago Closed 5 years ago

Unable to copy text from any webpage to clipboard

Categories

(Firefox for Android Graveyard :: Text Selection, defect)

Firefox 68
ARM
Android
defect
Not set
normal

Tracking

(firefox67 unaffected, firefox68 verified)

VERIFIED FIXED
Firefox 68
Tracking Status
firefox67 --- unaffected
firefox68 --- verified

People

(Reporter: ajoltan, Assigned: m_kato)

References

Details

(Keywords: regression)

Attachments

(1 file)

Environment:
Device Huawei MediaPad M3 Lite 10 (Android 7.0);
Build: Nightly - 68.0a1;

Steps to reproduce:

  1. Select any word from a webpage and long tap on it.
  2. Tap on the copy button from the toolbar
  3. Try to paste the selected word

Expected result:
The selected text should be copied and the toolbar should disappear.

Actual result:
After tapping the Copy button the toolbar doesn't disappear and the text is not copied.

Notes:
The webpage links are successfully copied/pasted.
For more details please see the attachments:
Video
Logcat

Hi, after checking with Petru it seems that your 2nd patch for the bug 676268 caused this regression Makoto.
Can you please check this?

Blocks: 676268
Flags: needinfo?(snorp)
Flags: needinfo?(m_kato)
QA Contact: fennec

[JavaScript Error: "TypeError: ActionBarHandler._getEditor(...) is null" {file: "resource://gre/modules/ActionBarHandler.jsm" line: 476}]

Assignee: nobody → m_kato
Flags: needinfo?(m_kato)

Although I change to use editor by previous fix of bug 676268, it is not
good for non-editable content. cmd_copy can support editable and non-editable.

GV already uses cmd_copy for this.

This is happening to me on Firefox Nightly 68.0a1 on Android 6.0.1 (Samsung Galaxy S7 Edge)

Pushed by m_kato@ga2.so-net.ne.jp:
https://hg.mozilla.org/integration/autoland/rev/ca3e3ce4ec78
Use cmd_copy for copy command r=geckoview-reviewers,snorp
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 68
Flags: needinfo?(snorp)

Hello,

I tested this issue on the latest version of Nightly 68.0a1 (2019-03-28) with Samsung Galaxy S8+ (Android 8.0.0) and Google Nexus 9 (Android 7.1.1) and I wasn't able to reproduce the issue.

Due to my findings, I'll mark this issue as verified.

Status: RESOLVED → VERIFIED
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: