topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Sunday December 15, 2024, 2:48 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Capture from ZIM Desktop Wiki fails  (Read 7171 times)

RichTWebGuy

  • Supporting Member
  • Joined in 2012
  • **
  • Posts: 28
    • View Profile
    • Donate to Member
Capture from ZIM Desktop Wiki fails
« on: April 16, 2013, 09:39 AM »
I'm using ZIM (http://zim-wiki.org/) a python-based notebook.  Using Ctrl-C or "right-click copy" in ZIM will copy string to Windows clipboard, but not to CHS.  I have tried 're-establish chain' and verify database. I turned on capture-sound and sure enough no sound on ctrl-C in ZIM.  CHS works fine every where else.

Any ideas appreciated.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Capture from ZIM Desktop Wiki fails
« Reply #1 on: April 17, 2013, 11:32 PM »
Hi Rich.

Apologize for the delay in replying.

I'm trying to think of reasons that that might happen.. There is a tag that programs can add to clipboard to say that the info is security related and CHS ignores those, but somehow I doubt that's the problem..

Let me download ZIM and try and see if i can reproduce.


mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Capture from ZIM Desktop Wiki fails
« Reply #2 on: April 17, 2013, 11:35 PM »
Ok I can confirm that CHS is not seeing the clipboard text copied by this program.  Since I can reproduce it i will try to fix it and report.

RichTWebGuy

  • Supporting Member
  • Joined in 2012
  • **
  • Posts: 28
    • View Profile
    • Donate to Member
Re: Capture from ZIM Desktop Wiki fails
« Reply #3 on: April 30, 2013, 03:39 PM »
Thanks for looking at this and let me know if I can help - but since you grabbed zim you're probably all set. 

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Capture from ZIM Desktop Wiki fails
« Reply #4 on: May 12, 2013, 03:55 PM »
Ok i've tracked down the bug, and I think it's a bug that will surely explain some previously reported rare missed clip capturing reported by others.

The problem was that CHS was detecting the case where multiple clips were very rapidly put on clipboard and ignoring such events.  This avoided some degenerate behavior when some app was out of control copying stuff to clipboard, but what I suspect is happening with ZIM (and i suspect other apps on rare occasions) is that the app is sending multiple items to clipboard in quick succession, and the first item is probably not in standard text format -- resulting in CHS ignoring the first item because its format is bad, and then ignoring the second item because it was coming too fast on the heals of the first.

So.. I'll have a new beta version up tomorrow for testing.  My only concern is that we'll see some reports of problems do to removing the old protect-against-too-rapid-clipboard code.  We shall see.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Capture from ZIM Desktop Wiki fails
« Reply #6 on: May 19, 2013, 01:35 AM »
New beta version is up at same url listed above; hopefully it works even better now.

RichTWebGuy

  • Supporting Member
  • Joined in 2012
  • **
  • Posts: 28
    • View Profile
    • Donate to Member
Re: Capture from ZIM Desktop Wiki fails
« Reply #7 on: May 24, 2013, 06:17 PM »
Yeah!  Works great with Zim.  Sorry for the delay responding.  I'm not getting notices that this thread is updated and I forgot to check back.  v2.18.01 working great - thank you!

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Capture from ZIM Desktop Wiki fails
« Reply #8 on: May 24, 2013, 06:40 PM »
Glad to hear it  :up: