FLTK logo

STR #2636

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

Return to Bugs & Features | Roadmap 1.3 | SVN ⇄ GIT ]

STR #2636

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:1 - Request for Enhancement, e.g. asking for a feature
Scope:3 - Applies to all machines and operating systems
Subsystem:Core Library
Summary:notification of clipboard changes
Version:1.3-feature
Created By:ossman
Assigned To:ossman
Fix Version:1.3-current (SVN: v9974)
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:


Name/Time/Date Filename/Size  
 
#1 ossman
05:41 May 19, 2011
fltk-1.3.x-clipboard.patch
3k
 
 
#2 ossman
05:41 May 19, 2011
fltk-1.3.x-clipboard-x11.patch
5k
 
 
#3 ossman
05:41 May 19, 2011
fltk-1.3.x-clipboard-xfixes.patch
5k
 
 
#4 ossman
05:42 May 19, 2011
fltk-1.3.x-clipboard-win32-fix.patch
5k
 
 
#5 ossman
05:42 May 19, 2011
fltk-1.3.x-clipboard-win32.patch
3k
 
 
#6 ossman
05:42 May 19, 2011
fltk-1.3.x-clipboard-osx.patch
1k
 
 
#7 ossman
03:23 May 20, 2011
fltk-1_v2.3.x-clipboard-xfixes.patch
5k
 
 
#8 astrand
04:36 Aug 08, 2011
fltk-1_v2.3.x-clipboard-win32-fix.patch
5k
 
 
#9 astrand
05:30 Jun 19, 2012
fltk-1_v2.3.x-clipboard.patch
3k
 
 
#10 astrand
05:31 Jun 19, 2012
fltk-1_v2.3.x-clipboard-x11.patch
5k
 
 
#11 astrand
05:31 Jun 19, 2012
fltk-1_v3.3.x-clipboard-xfixes.patch
4k
 
 
#12 astrand
05:31 Jun 19, 2012
fltk-1_v3.3.x-clipboard-win32-fix.patch
5k
 
 
#13 astrand
05:31 Jun 19, 2012
fltk-1_v2.3.x-clipboard-win32.patch
3k
 
 
#14 astrand
05:32 Jun 19, 2012
fltk-1_v2.3.x-clipboard-osx.patch
1k
 
 
#15 astrand
01:23 Oct 24, 2012
fltk-xfixes-xcursor-cmake.patch
1k
 
 
#16 astrand
01:34 Oct 24, 2012
fltk-xfixes-xcursor-cmake.2.patch
2k
 
 
#17 ossman
04:47 Oct 30, 2012
fltk-1_v4.3.x-clipboard-xfixes.patch
5k
 
 
#18 astrand
05:27 Jan 16, 2013
fltk-1_v3.3.x-clipboard-x11.patch
9k
 
 
#19 astrand
06:09 Jan 21, 2013
fltk-1_v4.3.x-clipboard-x11.patch
11k
 
 
#20 ossman
05:07 Jan 31, 2013
fltk-1_v5.3.x-clipboard-x11.patch
11k
 
 
#21 ossman
07:26 Sep 05, 2013
fltk-1_v6.3.x-clipboard-x11.patch
11k
 
     

Trouble Report Comments:


Name/Time/Date Text  
 
#1 ossman
05:41 May 19, 2011
We need asynchronous notification of when the clipboard changes for our application. Instead of doing the magic ourselves, I modified FLTK to have a new callback mechanism that is invoked every time the clipboard changes. The application can then choose to call Fl::paste() to get the data.

(I needed to clean up the Win32 code a bit first, which is a separate patch).
 
 
#2 ianmacarthur
05:59 May 19, 2011
Maybe need to set this to 1.4 until the initial 1.3.0 release is done, I think?  
 
#3 ossman
06:53 May 19, 2011
What is the release plan for 1.4 and how will new features be handled for 1.3?  
 
#4 matt
13:39 May 19, 2011
I see how this is useful, but it's too big of a change for 1.3.0 . I will set it to 1.4 for now.  
 
#5 ossman
03:23 May 20, 2011
Updated patch for the Xfixes case. Forgot to exclude when we own the clipboard ourselves.  
 
#6 astrand
04:37 Aug 08, 2011
Updated fltk-1.3.x-clipboard-win32-fix.patch, fixes problems with crashes on exit, due to fl_xid(Fl::first_window()).  
 
#7 astrand
05:32 Jun 19, 2012
Updated patches for latest trunk. Suggesting that we consider them for 1.3.x.  
 
#8 astrand
01:24 Oct 24, 2012
fltk-xfixes-xcursor-cmake.patch is necessary when building with cmake rather than autotools.  
 
#9 ossman
04:48 Oct 30, 2012
The xfixes patch got borked when it was adjusted to trunk. This new version works better.

(still diffed against r9619 though)
 
 
#10 astrand
05:32 Jan 16, 2013
The patches "clipboard-x11" and "clipboard-xfixes" has been adapted for FLTK 1.3.2 and merged into a single file: fltk-1_v3.3.x-clipboard-x11.patch. The other patches (clipboard, clipboard-win32-fix, clipboard-win32, and clipboard-osx) has been verified to work with 1.3.2 and needs no update.

Please note: The clipboard-win32-fix.patch is separate because it only contains bug fixes to the existing functionality. We would like it to be merged as soon as possible. Should we create a new STR for this?
 
 
#11 ianmacarthur
06:27 Jan 16, 2013
I think this would be useful - but it looks like an ABI-breaker to me (but what do I know!?) so maybe we need to defer it...?

Thoughts?
 
 
#12 astrand
06:09 Jan 21, 2013
fltk-1_v4.3.x-clipboard-x11.patch is an updated patch which integrates fltk-xfixes-xcursor-cmake.2.patch.  
 
#13 ossman
07:55 Jan 21, 2013
These patches are completely ABI safe. They only add two new static methods, which does not affect the memory layout of any objects.  
 
#14 ianmacarthur
13:11 Jan 21, 2013
Great - if this is indeed "ABI-neutral" then I am in favour... What do others think?  
 
#15 ossman
05:07 Jan 31, 2013
The CMake portions were a bit off. Updated patch attached.  
 
#16 ossman
05:57 Sep 11, 2013
Fixed in Subversion repository.  
     

Return to Bugs & Features ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.