|View Issue Details
|[All Projects] General
|Fixed in Version
|0002775: URLs get truncated/corrupted on drag
|I've noticed that when I try to insert URLs into a StrongED window by dragging the text from the URL icon, they often seem to come out truncated, with a random extra character inserted at the end. This seems to happen when the URL in question ends with a link to a local anchor on the page, but it may simply be that these tend to be the longer URLs.
I've also seen the same behaviour when dragging into a textarea in Netsurf itself, e.g. when sending PMs via a website or making bug reports. However, it's not reliably reproducible in either case.
|Steps To Reproduce
|I've just opened the URL https://m.fanfiction.net/topic/2872/80408163/145/#180965995 (by double-clicking on a text file in StrongED) and dragged the contents of the URL bar into this icon, with the results seen below:
I had previously had an identical result when performing the same drag into a StrongED window, and I see the same corruption/truncation in the resulting file when dragging from the URL bar to a Filer window.
Unfortunately this does *not* happen every time, as I've just demonstrated above by opening a second Netsurf window on the same URL and anchor, and dragging from that....
Here's another example, from a random Dreamwidth journal:
The displayed URL was https://dialecticdreamer.dreamwidth.org/124759.html#cutid1 (this specific 'p' corruption seems to be quite common when performing a URL-bar drag to link to subsections in Dreamwidth blogs; here's another one found by clicking on links from the post above: http://dialecticdreamer.dreamwidth.org/42049.html#cutid1p )
|No tags attached.
|Fixed in CI build #
|Reported in CI build #
|URL of problem page
Harriet Bazley (reporter)
Now that the URL bar dragging behaviour has been restored, I'm seeing the corruption/truncation of the dragged URLs again.
I'm definitely getting the impression that it seems to be specific to URLs that reference a local page anchor.
|Note Added: 0002407