Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Project-Pentadactyl
New issue 1268 by
techprie...@gmail.com: URL shortening on yank is buggy on
Youtube and doesn't yank the correct(current) URL
https://code.google.com/p/dactyl/issues/detail?id=1268
What steps will reproduce the problem?
1. Go to Youtube and watch any video.
2. press 'y' to yank the URL
3. Click on another video in the related/suggestions at the side
4. press 'y' to yank again
5. Note the url that is being echoed as yanked
6. Press 'O' to see the actual url
There is a high chance, if not 100% that what is yanked will be the URL of
the first video instead of the new one.
I was able to 'fix' this by completely removing the whole shortening bit in
the || (or clause) in the function that does the yanking in the buffer.jsm
file.
URLs aren't shortened anymore, of course, but the yanking works.
(The file is located at "dactyl/common/modules/buffer.jsm" and the line
number is "2107" on the latest snapshot)
I have changed
"let url = options.get("yankshort").getKey(uri) && buffer.shortURL ||
uri.spec;"
to
"let url = uri.spec; "
to fix it.
I am not proficient enough to go any deeper.
I'm on Slackware 14.1s current branch 64 bit, using Firefox 35.0.1 and the
latest nightly snapshot of Pentadactyl.
The issue has spanned many many months, though. Perhaps even a year.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings