You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2012/11/07 10:58:24 UTC

[Bug 121320] New: Writer freezes when paste content from HTML document that containts image with Data URI scheme

https://issues.apache.org/ooo/show_bug.cgi?id=121320

          Priority: P3
            Bug ID: 121320
          Assignee: ooo-issues@incubator.apache.org
           Summary: Writer freezes when paste content from HTML document
                    that containts image with Data URI scheme
          Severity: normal
        Issue Type: DEFECT
    Classification: Application
                OS: All
          Reporter: ajev.removic@gmail.com
          Hardware: All
            Status: UNCONFIRMED
           Version: AOO 3.4.1
         Component: editing
           Product: word processor

Hello!

When I try to paste some content in Writer document from HTML document that
containts image with Data URI scheme, application freezes (or, to be more
precies, CPU goes to 100% and it lasts forever).

This is the URL of HTML document I'm trying paste from:

http://www.racunarskemreze.com/Knjiga?Module=BookOnline__Reader&Chapter=234

I use a lot of images in HTML documents encoded by Data URI scheme. Even if
this is not a practice of most of users, I think this bug will be a lot harder
to resolve on excidental cases.

Best regards,
Aleksandar

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 121320] Writer freezes when paste content from HTML document that containts image with Data URI scheme

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121320

--- Comment #5 from Александар Јевремовић <aj...@gmail.com> ---
Same experimet results on my comp:

- paste as bitmap: works perfectly, no slowdown at all.
- paste and paste as html: waits about 30 seconds and result is broken image -
also, window is frozen for about 30 seconds when focus is lost and then
returned.

Maybe problem is about understanding Data URI encoded image as HTML?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 121320] Writer freezes when paste content from HTML document that containts image with Data URI scheme

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121320

--- Comment #3 from Александар Јевремовић <aj...@gmail.com> ---
I have just reproduced freeze by selecting first three paragrafs (starting from
text "Прву комерцијално доступну...") and one image between them.

I'm using OOO 3.4.1 (build 9593, rev 1372282) on Slackware Linux and on this
CPU:

Intel(R) Pentium(R) Dual  CPU  T3200  @ 2.00GHz

Also, I remember once I waited very long (maybe 20 minutes) and I got the same
result as you. However, all opened OOO windows become unusable - very slow.

Best regards,
Aleksandar

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 121320] Writer freezes when paste content from HTML document that containts image with Data URI scheme

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121320

Diego Valle Rosado <di...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |diegogvallerosado@gmail.com

--- Comment #6 from Diego Valle Rosado <di...@gmail.com> ---
Hello,

Maybe the problem is because you are pasting external images, and I think it
takes a long time is to load them from the web
It is always better to add the Image physically, via Insert> Images.

Regards,
Diego Valle

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 121320] Writer freezes when paste content from HTML document that containts image with Data URI scheme

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121320

--- Comment #2 from Ariel Constenla-Haile <ar...@apache.org> ---
(In reply to comment #1)
> * images are imported as linked graphics

I forgot to add that images are "imported", they are not displayed: on the
picture properties dialog, in the "Picture" tab, there is a dog as preview, and
the "File name" edit control displays "data:image/png;base64,...."

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 121320] Writer freezes when paste content from HTML document that containts image with Data URI scheme

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121320

Ariel Constenla-Haile <ar...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |arielch@apache.org

--- Comment #1 from Ariel Constenla-Haile <ar...@apache.org> ---
I cannot reproduce the freeze.
I selected the text in main div (div class 'Content'), starting with 

2.2.4. Етернет преко коаксијалних каблова

and the application does not freeze, though I see a kind of misbehavior:

* images are imported as linked graphics
* when scrolling the document, Writer becomes rather slow

It seems that the import filter knows nothing about image data URI scheme.

Are you selecting the whole web page or only that div?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Issue 121320] Writer freezes when paste content from HTML document that containts image with Data URI scheme

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121320

Ariel Constenla-Haile <ar...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schmaltz@kometmetall.de

--- Comment #8 from Ariel Constenla-Haile <ar...@apache.org> ---
*** Issue 125190 has been marked as a duplicate of this issue. ***

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Bug 121320] Writer freezes when paste content from HTML document that containts image with Data URI scheme

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121320

Edwin Sharp <el...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |CONFIRMED
                 CC|                            |elish@apache.org
             Latest|---                         |4.1.0-beta
    Confirmation on|                            |
     Ever confirmed|0                           |1

--- Comment #7 from Edwin Sharp <el...@apache.org> ---
Sluggish Writer after paste
AOO410m14(Build:9760)  -  Rev. 1573062
2014-03-01_04:11:01 - Rev. 1573123
Debian

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.

[Bug 121320] Writer freezes when paste content from HTML document that containts image with Data URI scheme

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121320

--- Comment #4 from Ariel Constenla-Haile <ar...@apache.org> ---
(In reply to comment #0)
> http://www.racunarskemreze.com/Knjiga?Module=BookOnline__Reader&Chapter=234

another experiment (using Firefox):

- right click on an image in that page
- select "Copy image" from the context menu
- in Writer there will be option to paste as HTML or as bitmap

- pasting as bitmap takes long, but works
- pasting as html produces a broken linked image

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Issue 121320] Writer freezes when paste content from HTML document that containts image with Data URI scheme

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121320

Ariel Constenla-Haile <ar...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Latest|4.1.0-beta                  |4.2.0-dev
    Confirmation on|                            |
            Version|3.4.1                       |OOo 3.3 or older

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.