topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Wednesday October 28, 2020, 6:45 am
  • 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

Last post Author Topic: Clipboard Help+Spell Extended Clipboard Format Data Discussion Thread  (Read 25444 times)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,384
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Clipboard Help+Spell Extended Clipboard Format Data Discussion Thread
« Reply #50 on: February 20, 2020, 06:53 AM »
Next version will include a little clipboard viewer tool you can bring up:
Screenshot - 2_21_2020 , 5_01_41 AM.png
« Last Edit: February 21, 2020, 05:01 AM by mouser »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,384
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Clipboard Help+Spell Extended Clipboard Format Data Discussion Thread
« Reply #51 on: February 20, 2020, 06:54 AM »
Can we actually *stop* image thumbnails showing in the quick-paste menu /sub-menus?


Try these options:
Screenshot - 2_20_2020 , 6_53_48 AM.png

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,384
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Clipboard Help+Spell Extended Clipboard Format Data Discussion Thread
« Reply #52 on: February 20, 2020, 06:55 AM »
nice would be the ability to name image (and vector) clips. Could e.g. then be saved in favourites with clarity as to what exactly it is (often not clearly visible in thumbnail).
You can customize clip titles.

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,722
    • View Profile
    • Donate to Member
Re: Clipboard Help+Spell Extended Clipboard Format Data Discussion Thread
« Reply #53 on: February 20, 2020, 07:06 AM »
^ thanks mouser. I obviously need to get to know CHS better :-[
Tom

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,384
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Clipboard Help+Spell Extended Clipboard Format Data Discussion Thread
« Reply #54 on: February 21, 2020, 05:02 AM »
New version uploaded, with clipboard blob viewer.  You can access it through the View menu.. Let me know what you think and of course report any bugs.

djMot

  • Supporting Member
  • Joined in 2018
  • **
  • Posts: 38
    • View Profile
    • Donate to Member
Re: Clipboard Help+Spell Extended Clipboard Format Data Discussion Thread
« Reply #55 on: February 21, 2020, 08:23 AM »
Could we get some scroll bars on the HTML Source preview tab? (and any other tab that doesn't have them)  Thanks.

I am also seeing duplicate clips, although I'm not sure it's all that big of a deal.  Would be nice to get it collapsed down into one, though.  OR, does the grid control you're using support multi-level (aka grouped) entries?  If so, you could put clips that have multiple captures in an expandable row. 

Example duplication:
2020-02-21_8-16-30.jpgClipboard Help+Spell Extended Clipboard Format Data Discussion Thread



Awesome updates so far!  THANK YOU for the effort and all the new features!   8)


mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,384
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Clipboard Help+Spell Extended Clipboard Format Data Discussion Thread
« Reply #56 on: February 21, 2020, 08:44 AM »
Can you see if the duplicate clips have identical clob hash values?
I see the hashes are different.  But now with the new Clip Blob interrogator you should be able to view both blobs with hashes for each format and see WHERE they differ.  If they only differ in a format chunk that is irrelevant, I will soon have options that let you ignore those formats.
« Last Edit: February 21, 2020, 09:55 AM by mouser »

djMot

  • Supporting Member
  • Joined in 2018
  • **
  • Posts: 38
    • View Profile
    • Donate to Member
Re: Clipboard Help+Spell Extended Clipboard Format Data Discussion Thread
« Reply #57 on: February 21, 2020, 11:04 AM »
Yes, the blob hash values are all different.

Here's an interesting twist.  After I posted the last screenshot, two more of the exact same clip showed up out of nowhere spaced a couple of minutes from the original two.   :huh:

2020-02-21_9-36-03.jpgClipboard Help+Spell Extended Clipboard Format Data Discussion Thread

djMot

  • Supporting Member
  • Joined in 2018
  • **
  • Posts: 38
    • View Profile
    • Donate to Member
Re: Clipboard Help+Spell Extended Clipboard Format Data Discussion Thread
« Reply #58 on: February 21, 2020, 11:11 AM »
Can you see if the duplicate clips have identical clob hash values?
I see the hashes are different.  But now with the new Clip Blob interrogator you should be able to view both blobs with hashes for each format and see WHERE they differ.  If they only differ in a format chunk that is irrelevant, I will soon have options that let you ignore those formats.

Ah okay.  Is the blob interrogator in there yet, or is that yet to come?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,384
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Clipboard Help+Spell Extended Clipboard Format Data Discussion Thread
« Reply #59 on: February 21, 2020, 08:12 PM »
Could we get some scroll bars on the HTML Source preview tab?
yep, done.

Is the blob interrogator in there yet, or is that yet to come?
it's there, in view menu.

Here's an interesting twist.  After I posted the last screenshot, two more of the exact same clip showed up out of nowhere spaced a couple of minutes from the original two.

Ok I see these have different hashes, so the contents of the seemingly duplicate clips are different.  See my reply above about this, and go into the blobs with the blob interrogator and let us see which formats are different...

I have noticed that MS excel this can happen also -- its happening maybe because these MS Office apps are doing something strange.. perhaps copying to the clipboard in two separate events in quick succession, for some reason I don't understand.  Or perhaps CHS is trying to read the clipboard before the app finishes with it..

Here's something that may fix it.  I've added a new option to increase the delay between the triggering of a clipboard event and CHS acting on that trigger, so that 2 quick success triggers will only result in the final capture:
Screenshot - 2_21_2020 , 8_12_03 PM.png

As I said earlier, the other fix which will be available in a future version of CHS will be if the clips are duplicates except for a one or two irrelevant data formats, to mark those formats as IGNORE or IGNORE-FOR-PURPOSES-OF-CALCULATING-UNIQUE-HASH.

Other possible solutions would be: Having a list of applications that CHS should increase delay-before-capture behavior, or some kind of smart process to overwrite the previous clip when the subsequent one happens in super fast succession.
« Last Edit: February 21, 2020, 08:25 PM by mouser »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,384
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Clipboard Help+Spell Extended Clipboard Format Data Discussion Thread
« Reply #60 on: February 21, 2020, 08:55 PM »
Or the problem could be my hash calculation on blobs has some bugs.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,384
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Clipboard Help+Spell Extended Clipboard Format Data Discussion Thread
« Reply #61 on: February 22, 2020, 12:43 AM »
Updated with some miscellaneous bug fixes to handling of duplicates and other things.

Most notable fix was that the new multi-format code was not deleting external image files associated with clips when the clips were deleted and removed from the recycle bin, so if you have image clips from a previous alpha version, you'll need to delete those image files manually when the clips are deleted.

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,722
    • View Profile
    • Donate to Member
Re: Clipboard Help+Spell Extended Clipboard Format Data Discussion Thread
« Reply #62 on: February 22, 2020, 11:51 AM »
Mouser, this all just reporting CHS treatment of vector clips -- summary: it appears to work correctly but still saves duplicates.

Testing with Inkscape 0.92.4 (5da689c313, 2019-01-14)

  • With Clipboard Trigger Copy Delay set to 400ms, two clips get copied (1 x Ctrl+v).
  • With the same vector drawing and delay set to 500ms -- one clip gets copied.

Also note: Clips remain duplicated (setting is to update clip)
All clips appear identical when pasted:

Screenshot - 2020-02-22 , 18_32_26.jpgClipboard Help+Spell Extended Clipboard Format Data Discussion Thread

The only difference in blob info is time taken for the queries. One clip is 0.01kb smaller, other two same size. All have different hashes.
Mouser I cant find where to compare blob info -- you say under the view menu never mind it's under Tools menu. Can I actually compare two clips in this 'Interrogator' -- IIUC I can compare the clip that is selected in the main CHS window and the current clipboard clip. Here the difference between two of those duplicated clips shown above (they both paste correctly):

Screenshot - 2020-02-22 , 18_44_53.jpg

Screenshot - 2020-02-22 , 18_44_50.jpg

  • One seems to have much less formats (?)
  • Both appear to have a PNG -- this is not shown in the CHS 'Memo' pane
  • EDIT// note the blob info of both of these clips is the same in the CHS memo pane -- apart from the milliseconds taken for each step
Tom
« Last Edit: February 22, 2020, 01:00 PM by tomos »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,384
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Clipboard Help+Spell Extended Clipboard Format Data Discussion Thread
« Reply #63 on: February 22, 2020, 06:24 PM »
Can I actually compare two clips in this 'Interrogator'
There is no explicit compare function -- it's just the list of formats and hash values you would compare manually.
So what I'd like you to do is look at the two *seemingly* duplicate entries within CHS and view the database views of the blobs from the interrogator window, and see what's different in the interrogator list of formats for those two clips.

Can you show me screenshots of the interrogator for each of the two clips?

It's EITHER going to be the case that the clipboard blobs are different, or that CHS has a bug in dupe detection.


With the same vector drawing and delay set to 500ms -- one clip gets copied.
So I think that probably suggests that your having that same problem with apps that put a lot of info on the clipboard where CHS first grabs the clipboard and then the app adds more info and chs has to go again.  As before, there are a couple of options here -- either forcing a longer delay for CHS from some apps, or some process where i auto-delete the prior copy when there are 2 in close succession.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,384
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Clipboard Help+Spell Extended Clipboard Format Data Discussion Thread
« Reply #64 on: February 22, 2020, 07:37 PM »
I'm going to go ahead and move the clipboard capture delay option up to a more prominent location in the "More Capture Options" tab, and add an explanation for it; that will make it easier for people to notice.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,384
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Clipboard Help+Spell Extended Clipboard Format Data Discussion Thread
« Reply #65 on: February 22, 2020, 10:04 PM »
Slight tweek in new update; *might* (but probably won't) improve the issue of double clips.

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,722
    • View Profile
    • Donate to Member
Re: Clipboard Help+Spell Extended Clipboard Format Data Discussion Thread
« Reply #66 on: February 23, 2020, 12:27 AM »
So what I'd like you to do is look at the two *seemingly* duplicate entries within CHS and view the database views of the blobs from the interrogator window, and see what's different in the interrogator list of formats for those two clips.

Can you show me screenshots of the interrogator for each of the two clips?

It's EITHER going to be the case that the clipboard blobs are different, or that CHS has a bug in dupe detection.
Screenshot - 2020-02-23 , 07_24_11.jpg

Screenshot - 2020-02-23 , 07_24_08.jpg

only difference I can see there is the milliseconds taken. There could be a difference in the png -- I havent looked for them (from Inkscape they are not shown in CHS).
Will try new version later :up:
Tom

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,384
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Clipboard Help+Spell Extended Clipboard Format Data Discussion Thread
« Reply #67 on: February 23, 2020, 12:51 AM »
only difference I can see there is the milliseconds taken.
Don't trust that view, it doesnt show HASH values -- I will add that now.

Ok I've uploaded a new version that shows blob format hashes now in main Blob tab; should make it easier to see if there are differences in clips.
« Last Edit: February 23, 2020, 12:56 AM by mouser »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,384
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Clipboard Help+Spell Extended Clipboard Format Data Discussion Thread
« Reply #68 on: February 23, 2020, 05:44 AM »
Updated with improved ability to set limits on different format sizes.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,384
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Clipboard Help+Spell Extended Clipboard Format Data Discussion Thread
« Reply #69 on: February 23, 2020, 07:14 AM »
I found an issue that *might* be responsible for the double duplicate captures.  Can you download and try the new version and see if it still occurs even if you lower the delay to 200 or so.

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,722
    • View Profile
    • Donate to Member
Re: Clipboard Help+Spell Extended Clipboard Format Data Discussion Thread
« Reply #70 on: February 23, 2020, 09:26 AM »
Clipboard Help+Spell
v2.47.15 by DonationCoder

I found an issue that *might* be responsible for the double duplicate captures.  Can you download and try the new version and see if it still occurs even if you lower the delay to 200 or so.
:Thmbsup: with delay set to 200 only one clip gets copied.

I still get duplicates if I copy the same vector clip twice:

Code: Text [Select]
  1. 39.12kb (5 formats)
  2.  
  3. 5 format chunks.
  4.  
  5. "image/x-inkscape-svg" [C507]: Hash 41AFB00E | 2.88kb (query 31ms)
  6. "PNG" [C49B]: Hash F408A94C | 36.13kb (query 31ms)
  7. "CF_DIB" [0008]: Hash 00000000 | 0b (query 31ms)
  8. "CF_ENHMETAFILE" [000E]: Hash 00000000 | 0b (query 31ms)
  9. "CF_METAFILEPICT" [0003]: Hash 49E26D2A | 16b (query 0ms)
  10. -----
  11.  
  12. Extended (non-redundant) data save size: 39.12kb
  13. Extended clipboard scan time: 124ms
  14. Hash: 30403722

Code: Text [Select]
  1. 39.12kb (5 formats)
  2.  
  3. 5 format chunks.
  4.  
  5. "image/x-inkscape-svg" [C507]: Hash 89894DD6 | 2.88kb (query 31ms)
  6. "PNG" [C49B]: Hash F408A94C | 36.13kb (query 31ms)
  7. "CF_DIB" [0008]: Hash 00000000 | 0b (query 31ms)
  8. "CF_ENHMETAFILE" [000E]: Hash 00000000 | 0b (query 31ms)
  9. "CF_METAFILEPICT" [0003]: Hash 16F78EE7 | 16b (query 0ms)
  10. -----
  11.  
  12. Extended (non-redundant) data save size: 39.12kb
  13. Extended clipboard scan time: 124ms
  14. Hash: CA51C702

Some hashes (lines 5 and 9) are different there, not sure what that means... or why they should be different, but I presume that's to do with the editor involved.

Tom

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,384
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Clipboard Help+Spell Extended Clipboard Format Data Discussion Thread
« Reply #71 on: February 23, 2020, 09:45 PM »
I've added a new tab to the main view so you can see more easily the values of all the fields for the clip, whether they are shown in the grid or not:

Screenshot - 2_23_2020 , 9_52_32 PM_ver001.pngClipboard Help+Spell Extended Clipboard Format Data Discussion Thread
« Last Edit: February 23, 2020, 09:59 PM by mouser »

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,722
    • View Profile
    • Donate to Member
Re: Clipboard Help+Spell Extended Clipboard Format Data Discussion Thread
« Reply #72 on: February 24, 2020, 01:13 PM »
Sorry, not sure if that was directed to me, in case, here again two duplicate clips:

Screenshot - 2020-02-24 , 20_04_16.jpgScreenshot - 2020-02-24 , 20_04_07.jpg

Screenshot - 2020-02-24 , 20_04_24.jpgScreenshot - 2020-02-24 , 20_04_29.jpg
Tom

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,384
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Clipboard Help+Spell Extended Clipboard Format Data Discussion Thread
« Reply #73 on: February 24, 2020, 10:48 PM »
Since it says the hashes of the CF_METAFILEPICT are different and are only 16 bytes, I'm thinking that actually what happens is that for CF_METAFILEPICT, the data is NOT actually the 16 bytes, but rather that it's a handle to data, and so CHS needs to do some special processing to grab that metafilepict data to store and restore it properly.  I'll work on it.

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 10,713
    • View Profile
    • Donate to Member
Re: Clipboard Help+Spell Extended Clipboard Format Data Discussion Thread
« Reply #74 on: February 24, 2020, 11:30 PM »
What hasn't been looked it is do both clips restore correctly when pasted somewhere that is supposed to be able to interpret the data?