Why is NetSurf so fussy?
One really annoying feature of NetSurf (RO front end) is that it won't let you paste text from an html file into the URL field. This is something I regularly want to do when, for example, there's a bit of Javascript that redirects me to a different page. I have to view the source and then change the filetype to Text before copying the new URL to the clipboard. This shouldn't be necessary. I should be able to past plain text copied from any file type (could be html, css, csv, ImpDoc, MSWord, etc.) into the URL field or "Open URL" window. I think I raised this as a feature request a long time ago. -- Richard Porterhttp://www.minijem.plus.com/ Skype: minijem2 mailto:r...@minijem.plus.com I don't want a "user experience" - I just want stuff that works.
Re: Why is NetSurf so fussy?
On 20 Sep 2014, Richard Porter wrote: > One really annoying feature of NetSurf (RO front end) is that it won't > let you paste text from an html file into the URL field. This is > something I regularly want to do when, for example, there's a bit of > Javascript that redirects me to a different page. I have to view the > source and then change the filetype to Text before copying the new URL > to the clipboard. This shouldn't be necessary. It _isn't_ necessary, when using StongED to view the HTML source. Press f8 to view the source, select the URL, press ctrl-shft-c to copy it to the clipboard, click in the NS URL field (or Open URL window), press ctrl-v to paste the URL. Perhaps I've misunderstood the problem? Tony
Re: Why is NetSurf so fussy?
On Sat, Sep 20, 2014 at 19:27:28 +0100, Richard Porter wrote: > I raised this as a feature request a long time ago. We don't have a regularly active RISC OS frontend developer. Steve Fryatt does what he can, but he's busy in his own right. If you, or someone you can poke, is up for being a frontend developer then it'd be awesome to see some progress on sorting out features like this. D. -- Daniel Silverstone http://www.netsurf-browser.org/ PGP mail accepted and encouraged.Key Id: 3CCE BABE 206C 3B69
Re: Why is NetSurf so fussy?
On 20 Sep 2014 Tony Moore wrote: > On 20 Sep 2014, Richard Porter wrote: >> One really annoying feature of NetSurf (RO front end) is that it won't >> let you paste text from an html file into the URL field. ... > It _isn't_ necessary, when using StongED to view the HTML source. Press > f8 to view the source, select the URL, press ctrl-shft-c to copy it to > the clipboard, click in the NS URL field (or Open URL window), press > ctrl-v to paste the URL. Perhaps I've misunderstood the problem? The problem is that Copy saves the file type of the file you are copying from to the clipboard, and Paste presents that file type to the application you are pasting into. NetSurf doesn't accept plain text pasted from a file that isn't type Text (fff). This restriction seems to be as unnecessary as it is frustrating. -- Richard Porterhttp://www.minijem.plus.com/ Skype: minijem2 mailto:r...@minijem.plus.com I don't want a "user experience" - I just want stuff that works.
Re: Why is NetSurf so fussy?
On 21 Sep 2014, Richard Porter wrote: > On 20 Sep 2014 Tony Moore wrote: > > On 20 Sep 2014, Richard Porter wrote: > > > > One really annoying feature of NetSurf (RO front end) is that it > > > won't let you paste text from an html file into the URL field. ... > > > It _isn't_ necessary, when using StongED to view the HTML source. > > Press f8 to view the source, select the URL, press ctrl-shft-c to > > copy it to the clipboard, click in the NS URL field (or Open URL > > window), press ctrl-v to paste the URL. Perhaps I've misunderstood > > the problem? > > The problem is that Copy saves the file type of the file you are > copying from to the clipboard, and Paste presents that file type to > the application you are pasting into. NetSurf doesn't accept plain > text pasted from a file that isn't type Text (fff). This restriction > seems to be as unnecessary as it is frustrating. As said above, here there is _no_ problem in pasting the URL from the clipboard (RO 6.20, NS 2107, SE 4.69). Which application are you using to view the NS HTML source? Tony
Re: Why is NetSurf so fussy?
On 21 Sep 2014 Tony Moore wrote: > On 21 Sep 2014, Richard Porter wrote: >> On 20 Sep 2014 Tony Moore wrote: >>> On 20 Sep 2014, Richard Porter wrote: >> One really annoying feature of NetSurf (RO front end) is that it won't let you paste text from an html file into the URL field. ... >> >>> It _isn't_ necessary, when using StongED to view the HTML source. >>> Press f8 to view the source, select the URL, press ctrl-shft-c to >>> copy it to the clipboard, click in the NS URL field (or Open URL >>> window), press ctrl-v to paste the URL. Perhaps I've misunderstood >>> the problem? >> >> The problem is that Copy saves the file type of the file you are >> copying from to the clipboard, and Paste presents that file type to >> the application you are pasting into. NetSurf doesn't accept plain >> text pasted from a file that isn't type Text (fff). This restriction >> seems to be as unnecessary as it is frustrating. > As said above, here there is _no_ problem in pasting the URL from the > clipboard (RO 6.20, NS 2107, SE 4.69). Which application are you using > to view the NS HTML source? Edit by default. I don't normally use StrongEd. I had a look at the StrongHelp for StrongEd and eventually found ctrl-shift-C and ctrl-shift-V, but it doesn't give any explanation of what they do. I assume it means copy/paste forcing type to text. -- Richard Porterhttp://www.minijem.plus.com/ Skype: minijem2 mailto:r...@minijem.plus.com I don't want a "user experience" - I just want stuff that works.
Re: Why is NetSurf so fussy?
On 21 Sep, Richard Porter wrote in message <892ccc4a54.r...@user.minijem.plus.com>: > On 21 Sep 2014 Tony Moore wrote: > > > On 21 Sep 2014, Richard Porter wrote: > > > > > The problem is that Copy saves the file type of the file you are > > > copying from to the clipboard, and Paste presents that file type to > > > the application you are pasting into. NetSurf doesn't accept plain > > > text pasted from a file that isn't type Text (fff). This restriction > > > seems to be as unnecessary as it is frustrating. > > > As said above, here there is _no_ problem in pasting the URL from the > > clipboard (RO 6.20, NS 2107, SE 4.69). Which application are you using > > to view the NS HTML source? > > Edit by default. I don't normally use StrongEd. I had a look at the > StrongHelp for StrongEd and eventually found ctrl-shift-C and > ctrl-shift-V, but it doesn't give any explanation of what they do. I > assume it means copy/paste forcing type to text. No, Ctrl-Shift-C and Ctrl-Shift-V just copy and paste on the Global Clipboard. Thinking about it, I believe it's actually Edit's problem. It's certainly not NetSurf because if you're talking about the URL bar in a browser window, NetSurf relies on the OS (or something like IcnClipBrd) to handle cut and paste for it. When you do Ctrl-V in the field, whatever processes it (the OS on RISC OS Select; IcnClipBrd everywhere else) sends the clipboard owner (Edit) a list of types that it can handle in order of descending preference. For a writable icon, that will only be text. The owner should look down the list and pick the best type (or least worst) that it can support, generally flattening to plain text as a last resort if that option's available. My guess is that StrongED does that properly. Edit, from what you say, doesn't. It's broken, because it isn't supporting the Block Transfer Protocol correctly. -- Steve Fryatt - Leeds, England http://www.stevefryatt.org.uk/
Re: Why is NetSurf so fussy?
On 21 Sep 2014, Steve Fryatt wrote: > On 21 Sep, Richard Porter wrote in message > <892ccc4a54.r...@user.minijem.plus.com>: > > On 21 Sep 2014 Tony Moore wrote: > > > On 21 Sep 2014, Richard Porter wrote: > > > > > > > The problem is that Copy saves the file type of the file you are > > > > copying from to the clipboard, and Paste presents that file type > > > > to the application you are pasting into. NetSurf doesn't accept > > > > plain text pasted from a file that isn't type Text (fff). This > > > > restriction seems to be as unnecessary as it is frustrating. > > > > > As said above, here there is _no_ problem in pasting the URL from > > > the clipboard (RO 6.20, NS 2107, SE 4.69). Which application are > > > you using to view the NS HTML source? > > > > Edit by default. I don't normally use StrongEd. I had a look at the > > StrongHelp for StrongEd and eventually found ctrl-shift-C and > > ctrl-shift-V, but it doesn't give any explanation of what they do. I > > assume it means copy/paste forcing type to text. > > No, Ctrl-Shift-C and Ctrl-Shift-V just copy and paste on the Global > Clipboard. According to the Quick Reference page in the StrongED StrongHelp manual: cs-C Copy block to clipboard cs-V Paste clipboard to text I don't know whether 'to text' means 'to the cursor', or if it implies conversion to text before pasting. Tony
Re: Why is NetSurf so fussy?
On 21 Sep 2014 Steve Fryatt wrote: > No, Ctrl-Shift-C and Ctrl-Shift-V just copy and paste on the Global > Clipboard. So in what way is that different fron Ctrl-C and Ctrl-V in Edit? > Thinking about it, I believe it's actually Edit's problem. It's certainly > not NetSurf because if you're talking about the URL bar in a browser window, > NetSurf relies on the OS (or something like IcnClipBrd) to handle cut and > paste for it. > When you do Ctrl-V in the field, whatever processes it (the OS on RISC OS > Select; IcnClipBrd everywhere else) sends the clipboard owner (Edit) a list > of types that it can handle in order of descending preference. For a > writable icon, that will only be text. The owner should look down the list > and pick the best type (or least worst) that it can support, generally > flattening to plain text as a last resort if that option's available. > My guess is that StrongED does that properly. Edit, from what you say, > doesn't. It's broken, because it isn't supporting the Block Transfer > Protocol correctly. I just can't get on with StrongEd. I type Ctrl-C and it duplicates the block in situ or tells me no block is selected, then when I try to paste it into NS I get some text I had saved some time before from another document. Then I try Shift-Ctrl-C and -V, and I get the selected URL twice! Well at least it did paste the URL but it's not surprising that I gave up on StrongEd. -- Richard Porterhttp://www.minijem.plus.com/ Skype: minijem2 mailto:r...@minijem.plus.com I don't want a "user experience" - I just want stuff that works.
Re: Why is NetSurf so fussy?
On 22 Sep, Richard Porter wrote in message <4a10d84a54.r...@user.minijem.plus.com>: > On 21 Sep 2014 Steve Fryatt wrote: > > > No, Ctrl-Shift-C and Ctrl-Shift-V just copy and paste on the Global > > Clipboard. > > So in what way is that different fron Ctrl-C and Ctrl-V in Edit? It isn't. In StrongED, Ctrl-C/Ctrl-V do the "old style" direct copy/move that Edit used to do. > > My guess is that StrongED does that properly. Edit, from what you say, > > doesn't. It's broken, because it isn't supporting the Block Transfer > > Protocol correctly. > > I just can't get on with StrongEd. I type Ctrl-C and it duplicates the > block in situ or tells me no block is selected, then when I try to paste > it into NS I get some text I had saved some time before from another > document. See above. You can re-map the keys so that Ctrl-C/Ctrl-V behave as Edit, but the detail of how to do it is off-topic for this list. > Then I try Shift-Ctrl-C and -V, and I get the selected URL twice! In NetSurf? Is that repeatable? What settings do you have on in the OS for cut and paste in writable icons? -- Steve Fryatt - Leeds, England http://www.stevefryatt.org.uk/
Re: Why is NetSurf so fussy?
On 22 Sep 2014 Steve Fryatt wrote: >> Then I try Shift-Ctrl-C and -V, and I get the selected URL twice! That could have been because I copied the URL after duplicating it. > In NetSurf? Is that repeatable? What settings do you have on in the OS for > cut and paste in writable icons? Where can I find those settings? -- Richard Porterhttp://www.minijem.plus.com/ Skype: minijem2 mailto:r...@minijem.plus.com I don't want a "user experience" - I just want stuff that works.
Re: Why is NetSurf so fussy?
On 22 Sep 2014, Richard Porter wrote: > On 22 Sep 2014 Steve Fryatt wrote: [snip] > > What settings do you have on in the OS for cut and paste in writable > > icons? > > Where can I find those settings? In RO 6.20: Configure... > Windows > Windows > Text Enable text selection Automatically select text in icons Insert Delete selection Tony
Re: Why is NetSurf so fussy?
On 22 Sep 2014 Tony Moore wrote: > On 22 Sep 2014, Richard Porter wrote: >> On 22 Sep 2014 Steve Fryatt wrote: > [snip] >>> What settings do you have on in the OS for cut and paste in writable >>> icons? >> >> Where can I find those settings? > In RO 6.20: Configure... > Windows > Windows > Text Thanka. >Enable text selection ON >Automatically select text in icons OFF >Insert Delete selection Insert: Clear selection, Delete: Delete selection, Move: Clear selection Richard -- Richard Porterhttp://www.minijem.plus.com/ Skype: minijem2 mailto:r...@minijem.plus.com I don't want a "user experience" - I just want stuff that works.
Re: Why is NetSurf so fussy?
On 22 Sep 2014, Richard Porter wrote: > On 22 Sep 2014 Tony Moore wrote: [snip] > >Automatically select text in icons > > OFF If you set it to 'on', any existing text in the icon will be selected, ready to be overwritten by the pasted text. > >Insert Delete selection > > Insert: Clear selection, That will prevent the existing text being overwritten by the pasted text. I think that it needs to be 'Delete'. Tony
Re: Why is NetSurf so fussy? -- OT StrongEd branch
Richard Porter wrote on 22 Sep: > I just can't get on with StrongEd. I type Ctrl-C and it duplicates the > block in situ or tells me no block is selected, then when I try to > paste it into NS I get some text I had saved some time before from > another document. Then I try Shift-Ctrl-C and -V, and I get the > selected URL twice! Well at least it did paste the URL but it's not > surprising that I gave up on StrongEd. I felt like you till I discovered how to change the "Mode" file within StrongEd so that Ctrl-XCV work in the "standard" way that I'm used to in other apps. (Can send you my amended file if you email me.) Then I added StrongEd to the apps that load automatically every time I boot the machine, in order to force myself to tackle the learning curve, and I'm glad I did. The ascent turned out to be not that bad. A few puzzles remain, such as a StrongEd keystroke to match Edit's handy Ctrl-F6 to un-split lines. -- Jim Nagel www.archivemag.co.uk || See you at the show? www.riscoslondonshow.co.uk Oct 25