User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.85 Safari/537.36 Build Identifier: LibreOffice 4.4.5.2 Classic pasting of any webpages with tables, vector graphics causes freezing of whole LO and eternal wait. Reproducible: Always Steps to Reproduce: 1. Open this page ( I did it in chrome ) https://ru.wikipedia.org/w/index.php?title=%D0%A1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5_%D1%83_%D0%BC%D1%8B%D1%81%D0%B0_%D0%A2%D0%B5%D0%BD%D0%B4%D1%80%D0%B0&printable=yes 2. Press Ctrl+A, Ctrl+C 3. Open Writer and press Ctrl+V Actual Results: Soffice frezzes, I was waiting for 2 minutes, then gave up [Information automatically included from LibreOffice] Locale: ru Module: TextDocument [Information guessed from browser] OS: Linux (All) OS is 64bit: yes Reset User Profile?No
Confirmed in LO 5.0. It seems that LibreOffice do not like importing using https. It works if the website is accessed in http. For example http://www.zdnet.com took me a few second to be imported in a Writer document. Well, it works in LO 4.4.6.0+ even for the same https website. So set regression keyword. More tests: the problem is the frame on the right. If I select only a part the webpage without the frame, pasting in a Writer document take a few seconds. Best regards. JBF
I did it with 4.4.5 so I do not think it's regression. Also copying only table/frame on the right is succesful too. (!)The problem is in table of contents ("Содержание" consists of: 1 Предыстория 2 28 августа 3 29 августа 4 Итог 5 См. также 6 Примечания 7 Ссылки) Try copying frame and table of contents.
Created attachment 118471 [details] buggy html page Grab it, it's problematic part of that page. And yes, there is no troubles with https
Well it might also depends on the browser. To reproduce it: - https://wiki.documentfoundation.org/ReleaseNotes/5.0 - Grab the text from: 'Contents' all the way to 'About this page'. When you do a simple copy/paste with firefox, there's no problem. When you do it with opera dev 33, you get the problem as described, writer freezes. But.... Not when you copy from 'Contents' to 'Android'. So if you stay inside the box it works. Go a little outside, freez....
Test web page which I've attached (X.html), it is very small. No matter where I copy it in ffox or chrome - LO freezes. (But if I copy it in Midori - everything is OK, maybe that's because Midori is not so powerful). Also opera dev is eaul to chrome, they are the same under the hood
Update version as per comment 2.
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-5-2": http://cgit.freedesktop.org/libreoffice/core/commit/?id=3e50a7bf0e3437a22b6440d0f36c242e40c451ae&h=libreoffice-5-2 Resolves: tdf#93971 freeze on load of specific html doc It will be available in 5.2.0.1. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=e8db81b2fb3bde736deb42d23f3ecfd680212767 Resolves: tdf#93971 freeze on load of specific html doc It will be available in 5.3.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
I ll soon update to 5.1.x. Could you push fix there too? Thanks :)
5-1 backport pending approval as https://gerrit.libreoffice.org/#/c/25856/
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-5-1": http://cgit.freedesktop.org/libreoffice/core/commit/?id=6317bcfd353a02d957811f2b6cb343cc3a3bbbec&h=libreoffice-5-1 Resolves: tdf#93971 freeze on load of specific html doc It will be available in 5.1.5. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.