MantisBT - NetSurf
View Issue Details
0002799NetSurfRISC OS-specificpublic2020-11-29 21:302020-12-30 15:03
ReporterHarriet Bazley 
Assigned To 
PlatformARMX6OSRISC OSOS Version5.27
Product Version 
Target VersionFixed in Version 
Fixed in CI build #
Reported in CI build #5223
URL of problem page
Summary0002799: Drag from URL bar no longer saves/inserts text
DescriptionAfter upgrading to Netsurf v5223 I found that dragging from the URL bar to the Filer or into another application's window no longer saves out the text of the current URL - the writable icon simply isn't draggable any more.
Steps To ReproduceAttempt to start a drag from the URL bar.
Additional InformationThis was working in v5194 and v5216
TagsNo tags attached.
Attached Files

Harriet Bazley   
2020-11-29 21:31   
Apparently it stopped working with v5220.
Simon Smith   
2020-12-27 01:15   
May be related - if you try to select text from a web page, you may, but if you try to select text from a text file, (such as a dragged and dropped link that you're trying to open) then all the Copy to clipboard... menu options are inactive.
Simon Smith   
2020-12-27 01:26   
Conversely, you /can/ do Ctrl-C and Ctrl-V from a text file into the 'Open URL' box on the NetSurf menu.
But you can't drag a file from the filer into that box, because as soon as you click in the filer, the NetSurf window closes. Would be nice if all combinations worked but I wonder if d-n-d from filer-Netsurf might go against the principles of the RISC OS UI?
Vincent Sanders   
2020-12-30 12:28   
CI build 5220 was for

maybe Michael introduced unintended consequences with that fix?
Michael Drake   
2020-12-30 15:03   
For what it's worth, this is the target behaviour that NetSurf's
aiming for, note it varies depending on whether the version of
RISC OS supports text selection / C&P in writable icons:

RISC OS with text selection support

RISC OS Versions:
* RISC OS 4/6 from 4.37 onward (I think, it's been a while.)
* RISC OS 5 from 5.28 onward

Dragging the URL text should perform text selection, and you
should be able to cut/copy/paste the text with Ctrl+X/C/V.

Dragging the favicon should drag-save the whole URL.

RISC OS without text selection support

RISC OS Versions:
* RISC OS 2/3/4 up to 4.37
* RISC OS 5 up to 5.28.

Dragging the favicon or the actual URL text should drag-save
the whole URL.

If that's not happening, it's not as intended, however, we'll
need a RISC OS developer to fix it for us.
Michael Drake   
2020-12-30 15:03

Issue History
2020-11-29 21:30Harriet BazleyNew Issue
2020-11-29 21:31Harriet BazleyNote Added: 0002299
2020-12-27 01:15Simon SmithNote Added: 0002304
2020-12-27 01:26Simon SmithNote Added: 0002305
2020-12-30 12:28Vincent SandersNote Added: 0002311
2020-12-30 12:29Vincent SandersStatusnew => acknowledged
2020-12-30 15:03Michael DrakeNote Added: 0002312
2020-12-30 15:03Michael DrakeNote Added: 0002313