Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.misc > #4899

Re: Viewing clipboard

From Martin Wuerthner <spamtrap@mw-software.com>
Newsgroups comp.sys.acorn.misc
Subject Re: Viewing clipboard
Date 2012-04-12 20:28 +0200
Organization MW Software
Message-ID <0b71617f52.martin@bach.planiverse.com> (permalink)
References <527ee18ddabasura@invalid.addr.uk> <527f2ec456chrisjohnson+news@spamcop.net> <U2yhr.22076$f81.12888@fx29.am4> <527f45adf2basura@invalid.addr.uk> <gemini.m2df5v00d9p9c013w.spamhater@keepyourfilthyspamtoyourself.co.uk>

Show all headers | View raw


In message <gemini.m2df5v00d9p9c013w.spamhater@keepyourfilthyspamtoyou 
rself.co.uk>
          Alan Wrigley <spamhater@keepyourfilthyspamtoyourself.co.uk> 
wrote:

> Richard Ashbery <basura@invalid.addr.uk> wrote:

>> I've been tearing my hair out trying to resolve this issue without
>> success but to think that just disabling UniClip's clipboard cures it.
>> Has anyone got back to RComp to try and ascertain why this is happening
>> and is there a longer term solution?

> The problem is not with UniClip, and disabling UniClip will only solve it in
> respect of clips passed around within EW and not clips passed between
> applications (which is after all the whole point of the global clipboard).
> The problem is caused by EasiWriter, which when it holds the clipboard and
> is asked for the current clip by another application, adds a linefeed to it.
> Presumably with purely local clipping EW just ignores its own linefeed, but
> UniClip can only work by taking control of the clipboard and if EW tells it
> that the clip contains a linefeed then that's what it will copy.

No, unfortunately, that is not at all what happens, Alan.

UniClip cripples the global clipboard and causes serious issues. The 
extra line feed is a just the tip of the iceberg. The linefeed problem 
could indeed be fixed easily in EasiWriter, but that would not solve 
the real problem, and since the real problem has to be solved anyway 
and that will make the linefeed problem go away, there is little point 
in changing EasiWriter.

The real problem is that UniClip prevents text with effects and styles 
to be copied and pasted within EasiWriter, and that affects not only 
EasiWriter but also copying and pasting within OvationPro (if the 
latter has been configured to use the global clipboard). With UniClip 
enabled everything is pasted as plain text.

When you copy text in EasiWriter, EasiWriter puts an EasiWriter 
document on the clipboard. UniClip asks EasiWriter to convert the 
clipboard contents to plain text and then puts that plain text on the 
clipboard itself, destroying the original rich content of the 
clipboard. The same happens with OvationPro.

So, UniClip effectively downgrades the clipboard from its original 
rich text content to plain text. That was not the idea of the 
clipboard protocol.

There are several ways of fixing UniClip. I will put them in an e-mail 
to you.

-- 
Martin
---------------------------------------------------------------------
Martin Wuerthner         MW Software      http://www.mw-software.com/
        RISC OS Software for Design, Printing and Publishing
---------------------------------------------------------------------

Back to comp.sys.acorn.misc | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Viewing clipboard Richard Ashbery <basura@invalid.addr.uk> - 2012-04-11 20:11 +0100
  Re: Viewing clipboard Steve Fryatt <news@stevefryatt.org.uk> - 2012-04-11 23:43 +0100
    Re: Viewing clipboard Chris Evans <chris@cjemicros.co.uk> - 2012-04-12 12:34 +0100
  Re: Viewing clipboard Alan Wrigley <spamhater@keepyourfilthyspamtoyourself.co.uk> - 2012-04-12 09:28 +0100
  Re: Viewing clipboard Chris Johnson <chrisjohnson+news@spamcop.net> - 2012-04-12 10:14 +0100
    Re: Viewing clipboard "Bruce Goatly" <ss4@goatly.co.uk> - 2012-04-12 11:23 +0100
      Re: Viewing clipboard Richard Ashbery <basura@invalid.addr.uk> - 2012-04-12 14:25 +0100
        Re: Viewing clipboard "Bruce Goatly" <ss4@goatly.co.uk> - 2012-04-12 15:05 +0100
        Re: Viewing clipboard Alan Wrigley <spamhater@keepyourfilthyspamtoyourself.co.uk> - 2012-04-12 15:34 +0100
          Re: Viewing clipboard Richard Ashbery <basura@invalid.addr.uk> - 2012-04-12 16:15 +0100
            Re: Viewing clipboard Alan Wrigley <spamhater@keepyourfilthyspamtoyourself.co.uk> - 2012-04-12 16:43 +0100
          Re: Viewing clipboard charles <charles@charleshope.demon.co.uk> - 2012-04-12 17:44 +0100
            Re: Viewing clipboard Martin Wuerthner <spamtrap@mw-software.com> - 2012-04-12 20:04 +0200
          Re: Viewing clipboard Martin Wuerthner <spamtrap@mw-software.com> - 2012-04-12 20:28 +0200
            Re: Viewing clipboard Alan Wrigley <spamhater@keepyourfilthyspamtoyourself.co.uk> - 2012-04-12 20:23 +0100
              Re: Viewing clipboard Steve Fryatt <news@stevefryatt.org.uk> - 2012-04-12 22:07 +0100
                Re: Viewing clipboard Alan Wrigley <spamhater@keepyourfilthyspamtoyourself.co.uk> - 2012-04-12 22:46 +0100
                Re: Viewing clipboard Steve Fryatt <news@stevefryatt.org.uk> - 2012-04-12 23:33 +0100

csiph-web