Hi Lauri,
> X's dual clipboards still create confusion in 2015. Some of FLTK
> widgets' inner methods copy to one and some to other.
>
> I would like to see two changes:
> 1) Which clipboard a widget targets internally should be
> user-changeable. See for example Fl_Input which targets both in
> different actions.
>
> 2) There should be a new value, 2, accepted by Fl::copy, meaning "copy
> to all clipboards". Then it wouldn't matter which one the other
> application wants.
>
> Finally, the default of widgets could be changed from the previous 0/1
> to 2 everywhere, targeting cross-app compatibility by default.
>
> I opened STR 3229 to track this. What do you guys think?
That induced some nasty flashbacks for me...
Years ago I tried (with no success) to devise improved clipboard handling under X11. It was not a success.
The two things I really wanted to do were to support more types than just ASCII text (some of which has been added fairly recently) and to somehow unify the X11 clipboard and paste buffer handling.
So, to me, this sounds like a Good Plan.
Particularly if someone other than me does it.
And especially so if someone who actually understand the disparate X11 clip mechanisms can sort it out!
That's a yes from me, then.
ABI compatible for 1.3, or we do it as a breaking change in 1.4? (which of course will be "Real Soon Now".)
--
Ian
Selex ES Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL
A company registered in England & Wales. Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************