On 07/22/2014 03:23 PM, Camille Bégnis wrote:

sorry for not being precise enough, I have seen it on different
environments so I thought it was not relevant.
This is my environment:
- Linux Ubuntu
- java version "1.8.0_05"
- XXE v6
- Calenco WebDAV server

I tested on Google Drive after your email, and behavior is the same. I
also tested with an image hosted on a simple web server. Actually the
image is loaded over and over again.

Same behavior under:
- Windows XP with Java 7.
- Mac OSX Mavericks with Java 6

Sample attached.

I easily managed to reproduce the bug using your sample document.

To my knowledge, this bug is caused only when *all* the following conditions are met:

1) The document opened in XXE is short enough not to need a vertical scrollbar.

2) You insert an image in it with option "Load images in a background task" = "Yes" OR "Remote images only".

3) The corresponding "imagedata" element has no "contentwidth" attribute.

4) The corresponding "imagedata" element has a "width" attribute set to a percentage large enough (in your sample, width="100%") to cause a vertical scrollbar to be added to the view.

3) and 4) implies that the displayed size of the image entirely depends on the size of the document view, which itself is slightly smaller or greater depending on the presence of scrollbars.

This bug is difficult to fix. We did something which seems to fix it, but we are not 100% sure that this bug is fixed in all cases.


--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to