Closed Bug 1326634 Opened 7 years ago Closed 6 years ago

Ctrl+C copies invisible text from urlbar, but only on about:home and about:sessionrestore

Categories

(Firefox :: Address Bar, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: arni2033, Unassigned)

References

Details

(Keywords: regression)

>>>   My Info:   Win7_64, Nightly 49, 32bit, ID 20160526082509
STR_1:
1. Copy "asdf" to clipboard
2. Press Ctrl+N to open new tab
3. Focus urlbar
4. Press Ctrl+C
5. Press Ctrl+V to paste text

AR:  "about:home" is pasted, what means that it was copied to clipboard in Step 4
ER:  Either X or Y or Z
 X) Don't spam to clipboard with not-selected (invisible) text, i.e. "asdf" should be pasted in Step 5
 Y) Other built-in pages like about:newtab and about:blank should also be respected, and their
    location should always be copied to clipboard, just like in STR_1
 Z) On all possible pages Ctrl+C should copy current url to clipboard, if urlbar is focused and empty

Note on (Y) and (Z):  Clearly, Ctrl+C copying invisible text is a breakage, but developers too
often intentionally break functionality, so (Y) and (Z) are just the right way to break it to
the state when it's clear for user that you did that on purpose.
Otherwise user thinks that it's a bug. Such thing happens in many places in Firefox.

This is regression from bug 824887. Regression range:
> https://hg.mozilla.org/integration/fx-team/pushloghtml?fromchange=81ab1a659071fb4b99852b1c611b341557f21ca4&tochange=8033efa33b55d559f6d8735f4d404435b3fbf57e
No longer blocks: 1277113
Component: Untriaged → Location Bar
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.