Re: Clipboard daemon
- From: Lubos Lunak <l lunak suse cz>
- To: Murray Cumming Comneon com, jody gnome org
- Cc: h lai chello nl, desktop-devel-list gnome org, merchan baton phys lsu edu, carpdjih mailbox zrz tu-berlin de, xdg-list freedesktop org
- Subject: Re: Clipboard daemon
- Date: Mon, 10 Nov 2003 19:41:17 +0100
On Friday 07 of November 2003 14:28, Murray Cumming Comneon com wrote:
> > From: Jody Goldberg [mailto:jody gnome org]
> >
> > > > I could try making the daemon to check for a special
> > > > "_DONT_SAVE" atom
> > > > (or something like that)...
> > >
> > > When I asked Klipper maintainer, he pointed out this freedesktop.org
> > > specification:
> > > http://www.freedesktop.org/Standards/clipboards-extension-spec
> > > which he is happy to implement instead.
>
> By the way, here is some discussion of that specification:
> https://listman.redhat.com/archives/xdg-list/2002-November/msg00039.html
>
> > > Does this seem to be a suitable solution?
> > >
> > > It pleases me that a KDE hacker had to point out a freedesktop.org
> > > specification to GNOME hackers.
> >
> > The Klipper fellow has mentioned that proposal before. Sadly
> > it is mostly useless unless the application pretends. The
> > mechanism it proposes requires the app to approximate how
> > much content will be produced. Doing even an approximate
> > measurement will require the loading of all of the supported
> > clipboard exporters, which is part of what I want to avoid.
> >
> > It's only use, as far as I can tell, is to lie and set the
> > max to 0 as a proxy for 'OPT_OUT_OF_CLIPBOARD_MANAGEMENT'.
> > Using an ultra coarse approximation
> > eg number_of_cells x 1k + sum(embedded_images)
> > is going to produce wild overstatements for most formats
So? It's still much better to get it wrong by magnitude than making Klipper
ignore it _always_ , including plain selections in lineedits and similar.
Maybe it's not obvious from the wording of the spec, but wildly inaccurate
guesses are still ok.
If you have any better idea, I'd like to hear it; we can ignore that proposal
linked above, it's just a proposal after all, without any real implementation
yet (AFAIK). However, as far as I can say, it'll be usually better than your
solution, and it's guaranteed to be never worse.
>
> I'm putting the klipper guys on CC, and the freedesktop list too. The
> simpler opt-out seems harmless to me.
>
> Carsten Pfeiffer (of Klipper) worries that
> "the users
> are going to wonder why the clipboard tool won't show anything even tho
> they
>
> select in gnumeric as hard as they can."
--
Lubos Lunak
KDE developer
---------------------------------------------------------------------
SuSE CR, s.r.o. e-mail: l lunak suse cz , l lunak kde org
Drahobejlova 27 tel: +420 2 9654 2373
190 00 Praha 9 fax: +420 2 9654 2374
Czech Republic http://www.suse.cz/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]