Submitted by jnmwarren on 2018/04/04 17:45
I was in the HTML Pane and I clicked on the Paste Special button. Then I choose Format as HTML. When I choose this selection I get the following error.
 
 
I also clicked on the Debug button and I get the following.
 
 
I also lost the previous 2 records that I had added. The crash occurred when I was adding a 3rd record for today. I did not lose my work that was entered today on other grids just the one grid that had the error window open up.

Comments

Hi John,
 
Sorry for this issue. A couple of questions:
  1. Does it happen systematically in that grid ?
  2. Does it only happen with a specific content being pasted ?
  3. Can you reproduce it in a sample IQBase ? 
 
 
Pierre_Admin
IQ Designer
 

jnmwarren

2018/04/04 18:54

In reply to by Pierre_Admin

  1. Does it happen systematically in that grid ?
                 It happened once then the application closed. I opened it again entered 2 records with no issues. Then on the 3rd record it crashed a second time just as before.
  1. Does it only happen with a specific content being pasted ?
                It happen both times will copy text from OneNote and copying it into IQ
  1. Can you reproduce it in a sample IQBase ?
  2.       I have not tried to reproduce it in a sample IQBase so I'm not sure. I wonder if maybe the text that I am trying to paste is corrupted.       

Hi John,
 
I tried to reproduce the issue and did succeed a few times, though not in a predictable fashion and not on my dev. setup. I'll continue to check though
 
That said, I experimented with copy / paste of Onenote (metro app) and have found a serious issue which may be of interest to you:
  • If the copied area contains images, strokes and other non-text elements, Onenote generates an image file, and the HTML in the clipboard references that file. In such cases, the pasted content cannot be edited, only scaled
  • But it seems that file names get reused
  • Within Onenote, it seems OK, but when pasting into IQ or other editors, such as Word or this web site, the tmp file gets deleted and written over. 
  • In my case, the tmp files are stored in : C:\Users\PPL\AppData\Local\Packages\Microsoft.Office.OneNote_8wekyb3d8bbwe\TempState\msohtmlclip and typically have a name like: clip_image001.jpg
What this means, is that right now, pasting into the HTML pane is risky. What I need to do, is to grab a copy of the image(s), and paste a reworked clipboard content with references to the newly created image(s)
 
Needless to say, it isn't on high priority right now...
 
Pierre_Admin
IQ Designer
 

jnmwarren

2018/04/05 09:55

In reply to by Pierre_Admin

I was able to copy and create 2 other records before the failure. I wonder if on the failure OneNote created an image for that one instead of just text. I have no images at all and it is just plain text. Thanks for looking into the issue. Even though it is a low priority at least it is a known issue.
 
John

Pierre_Admin

2018/04/05 10:10

In reply to by jnmwarren

Hi John,
 
If it is plain text, why not paste as Text instead ?
 
 
Pierre_Admin
IQ Designer
 

jnmwarren

2018/04/05 14:00

In reply to by Pierre_Admin

OneNote was coding the text as HTML which was very helpful. It eliminated me having to code the text into HTML. I went ahead and copied as text and pasted as text and I had no issues.
 
Thanks,
John