lockbox-extension icon indicating copy to clipboard operation
lockbox-extension copied to clipboard

Can't copy Entry Details' Name or Website Address values by triple-clicking and Cmd+C

Open cpeterso opened this issue 6 years ago • 3 comments

Steps to reproduce:

  1. Open Lockbox Entries manager.
  2. Select some entry.
  3. In the "Entry Details" pane, triple-click on the entry's "Name" or "Website Address" values to select all the entire string.
  4. Copy the selected text using Cmd+C (or right-click and select "Copy" from the popup menu). (I'm using a Mac.)
  5. Try to paste the selected name or website address somewhere else.

Result: Nothing is pasted because no text was copied.

If I triple-click the entry's "Username" value, I can successfully copy it with Cmd+C. If I single-click and drag to select the "Name" or "Website Address" values, I can successfully copy them with Cmd+C. So there is something different about triple-clicking the "Name" or "Website Address" values than triple-clicking the "Username" value.

cpeterso avatar Mar 12 '18 08:03 cpeterso

This behavior is reproducible on Win10, Firefox Nightly as well.

m8ttyB avatar Mar 12 '18 14:03 m8ttyB

Works for me (Linux/Nightly)

jimporter avatar Mar 12 '18 16:03 jimporter

Woooooo this is a fun one. I get similar behavior but found some caveats:

  • I can copy "Name" if its one word, no spaces
  • I cannot copy "Website Address" with spaces
  • I cannot copy "Website Address" with periods
  • I can copy "Username" with periods
  • I can copy "Username" with spaces

For example, I can copy "Example" from both Name and Website fields successfully but not "example.com". I can copy both "example" and "example.com" from Username.

I attempted to remove the classes and disabled styles to see if it was CSS related. Same problem. I attempted to change the spans to paragraphs and other elements, same problem... I think something is cascading related to the button stack that I'm not seeing? or something else entirely. That's about where my troubleshooting comes to a dead end right now...

devinreams avatar Mar 12 '18 20:03 devinreams