Bugzilla – Bug 5111
Issues with fltk win32 clipboard patches
Last modified: 2014-10-13 11:11:15
You need to
before you can comment on or make changes to this bug.
The handling of WM_CHANGECBCHAIN is invalid, its up to the application to pass
this message further to next window if it wasn't a message for self.
Then WM_CHANGECBCHAIN is handled it should always return 0, which is not the
case, the code path ends up in DefWindowProcw() which give an undefined
Created an attachment (id=533) [details]
Path which fix the correct behavior.
Created an attachment (id=546) [details]
Fixes 2 identified problems with clipboard monitoring.
There is also a third problem; Every window that is created is hooking up the
clipboard monitoring, even if the fltk application didn't registered a
clipboard notification handler. We shouldn't do that due to the flaky clipboard
Created an attachment (id=549) [details]
Complete patch that fixes 3 problems with clipboard monitoring on windows
Updated patch that fixes the three identified problems.
Patch commited to buildsystem in 29023.
This patch is incomplete. If you unregister all handlers it will fail to
unregister from Windows as the untarget function always tries to find a new
window to register.
Fixed in r29477 (and upstream). Not possible to test unfortunately as vncviewer
doesn't stumble upon this bug.
(In reply to comment #7)
> Fixed in r29477 (and upstream). Not possible to test unfortunately as vncviewer
> doesn't stumble upon this bug.
Fair enough, closing then.