Open Bug 1252184 Opened 8 years ago Updated 2 years ago

Location bar fails to copy correct url if page haven't started loading properly (e.g. pending)

Categories

(Firefox :: Address Bar, defect, P3)

defect

Tracking

()

Tracking Status
firefox44 --- affected
firefox45 --- affected
firefox46 --- affected
firefox47 --- affected
firefox-esr38 --- affected

People

(Reporter: arni2033, Unassigned)

References

Details

(Keywords: regression, Whiteboard: [fxsearch]read comment 2 first)

>>>   My Info:   Win7_64, Nightly 47, 32bit, ID 20160229030448
STR:
1. Launch new profile. Open http://www.rp-online.de/ in 15 new tabs.
2. Open new window.
3. Open http://www.rambler.ru/ , http://www.youtube.com/ , http://www.rp-online.de/ ,
   close other tabs in that window. Open new tab in that window (Ctrl+T)
4. Close Firefox. Launch Firefox. Make sure that the window from Step 1 is focused
5. Focus urlbar on a New Tab page (Ctrl+L)
6. Press Ctrl+PageUp, then Ctrl+L, then Ctrl+C as fast as possible
   (probably "Ctrl+Tab, then Ctrl+L, then Ctrl+C as fast as possible" is OK too)
7. Press Ctrl+F, then Ctrl+V to paste copied string somewhere (e.g. in Findbar)

AR:
 The pasted string is "www.rp-online.de"

ER:
 The string should be "http://www.rp-online.de",
 because I may want to paste it in some chat or in bugreport on bugzilla.

Workaround:
 As this is one of the many breakages brought to us by "trim url" 'feature',
 it can be temporarily fixed by setting pref  browser.urlbar.trimURLs -> false

Screencast:
> https://dl.dropboxusercontent.com/s/qzoae57wzh1n4lk/screencast%201%20-%20Location%20bar%20fails%20to%20copy%20correct%20url.webm?dl=0
That "100% str" stuff was supposed to mean that the bug occurs not because of my specific install
Summary: Location bar fails to copy correct url if I switch to pending tab and select urlbar value (100% str) → Location bar fails to copy correct url if I switch to pending tab and select urlbar value (clear profile)
Priority: -- → P3
Whiteboard: [fxsearch]
>>>   My Info:   Win7_64, Nightly 49, 32bit, ID 20160526082509
STR_2:
1. Open http://skybeat.ru/catalog/hang_drum/
2. Shift+Middle-click on the huge link at the middle-top ("http://skybeat.ru/")
3. Then immediately click in urlbar, then press Ctrl+C

AR:  copied to clipboard - "skybeat.ru"
ER:  copied to clipboard - "http://skybeat.ru/"


STR_3:
1. Open url   data:text/html,<a href="http://briangrinstead.com/files/sleepy.php">Link</a>
2. Shift+Middle-click the link
3. In less than 3 seconds: click in urlbar, press Ctrl+C

AR:  copied to clipboard - "briangrinstead.com/files/sleepy.php"
ER:  copied to clipboard - "http://briangrinstead.com/files/sleepy.php"

This is regression from bug 665580. Regression range:
> http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=48e72227c2fa&tochange=e0b805cab438
Blocks: 665580
Keywords: regression
Whiteboard: [fxsearch] → [fxsearch]read comment 2 first
Summary: Location bar fails to copy correct url if I switch to pending tab and select urlbar value (clear profile) → Location bar fails to copy correct url if page haven't started loading properly (e.g. pending)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.