Closed Bug 975862 Opened 12 years ago Closed 12 years ago

Copying text to Clipboard from text field often fails

Categories

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

27 Branch
x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: danweiss, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 5.1; rv:30.0) Gecko/20100101 Firefox/30.0 (Beta/Release) Build ID: 20140222030204 Steps to reproduce: I am using an online password generator tool ( http://www.dwedit.org/passhash/ ), and am trying to copy the generated password to the clipboard. This is a program that allows you to enter the password into the top text field, then use client-side hashing to generate a password. When you press one of the two buttons, the generated password is put into the bottom text field, then all text in the text box is selected. If I hold down my finger on the text box for a second to make the context menu appear, then select "Copy All", much of the time, no text gets copied to the clipboard at all. The Paste command will output different text than what I just tried to copy. It often takes much fiddling (removing focus from the text field, activating the text field, changing the selection, stuff like that) before the Copy All command actually affects the contents of the clipboard. Actual results: Copy All command did not affect the text on the clipboard most of the time. Expected results: Copy All command should always work.
Mind trying out Firefox Beta on Google Play and seeing if that works better for you? There's been recent refactoring which might fix your issue. Let us know.
I can reproduce this issue on Firefox for Android 27 using a Samsung Galaxy Nexus. After the password generated is highlighted, I choose from the context menu "Copy All". In a new tab, I long tap in the URL Bar and choose from the context menu "Paste & Go". A text copied earlier is entered in the URL Bar, not the generated password. Once the Action Bar was introduce I cannot reproduce the issue anymore.
Fixed on mozilla-28.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.