Foros


Comfort Software :: Foros :: Bugs
<< Tema anterior | Tema siguiente >>   

Full local paths added to local paths in HTML

Autor Mensaje
Philip Goddard
Sun Feb 21 2010, 05:14AM
Miembro registrado #463
Unido: Sun Feb 21 2010, 04:42AM
Mensajes: 3
I'm trying out Comfort Clipboard Pro at the moment in Win7, and it's really great, except for a problem that I've found with pasting of HTML code, which is at the moment a dreadful mess.

In my web pages, for all internal links and image references I use local paths, which usually means just the filename of the page or image. What Comfort Clipboard is doing is inserting into each of those links the full local path on my computer system, so that instead of just "self-r-beats-psychiatry.gif" as a reference, in the pasted block I get "file:///D:/websites/website-Self-Realization/self-r-beats-psychiatry.gif", which of course would work on my local system but would be useless when the page is uploaded to my site.

This occurs for every single link or reference on any page. Hopeless! And I can't find any configuration options to stop that happening.

Also, I noticed that in a pasted block there was a supernumerary LF character added into an image's alt text.

Please, is there a quick way to stop this behaviour and ensure that all HTML code that is pasted has not been corrupted in either of these ways? Or is a fix to this going to be available really soon? -- Otherwise I shall have to discard Comfort Clipboard - great though it is theoretically - and settle for an alternative clipboard history utility.

N.B. I haven't had this trouble when pasting HTML code into my web page editor or text editor from the Windows clipboard before I had Comfort Clipboard installed, so it is definitely the latter that is corrupting the HTML code.

-- http://www.philipgoddard.com/index.htm]Philip
Volver arriba
Philip Goddard
Sun Feb 21 2010, 05:44AM
Miembro registrado #463
Unido: Sun Feb 21 2010, 04:42AM
Mensajes: 3
Further investigation has shown that this corruption doesn't happen for newly copied items when I copy individual image references or links, but only when they are included in a block of additional material. It's still quite wrong, though.

However, when I then sought to paste those single references once they were recalled into the Windows clipboard, after something else had been copied to it, they were then corrupted.

-- http://www.philipgoddard.com/index.htm]Philip
Volver arriba
Philip Goddard
Sun Feb 21 2010, 11:54AM
Miembro registrado #463
Unido: Sun Feb 21 2010, 04:42AM
Mensajes: 3
Hmmm... Well, I've researched more, and found that seeminly any clipboard history manager does the same, which is very frustrating, and, what's more, even without a clipboard utility running I was getting the same thing happening.

Then I twigged, that the problem occurred really consistently only when I pasted into a blank document in my web page editor or into a text editor, but didn't happen when I copied at least a small(ish) block into an existing page in my web page editor. However, when I copied and pasted the whole of a very long web page into another (using the 'browser' view mode), the links and image references in the pasted material were again all corrupted.

It looks as though this is a bug pretty inherent in the behaviour of the Windows (7) clipboard, and thus something that clipboard utility developers can't do anything about ( - sigh!)

I'll just have to make sure to copy and paste source HTML code just as before when I want to copy/paste large blocks, and not expect copying / pasting of the WYSIWYG or browser display of a page to give me uncorrupted results. Of course this wouldn't be an issue for anyone who doesn't use local paths in their link or image references.

I'll also have a little ding-dong with Windows Support about this really quite serious bug in the clipboard operation - for whatever good that would do me!

-- http://www.philipgoddard.com/index.htm]Philip
Volver arriba
Comfort
Mon Feb 22 2010, 02:10AM


Unido: Wed Sep 19 2007, 03:42PM
Mensajes: 617
Philip, Thank you for your investigation.
Your did it faster than I.

Have a nice day
Volver arriba
Moderadores: Comfort

Saltar:     Volver arriba

Sindicalizar este hilo: rss 0.92 Sindicalizar este hilo: rss 2.0 Sindicalizar este hilo: RDF
Powered by e107 Forum System