Summary: | Ark crash after viewing a html file in a .tar.xz archive | ||
---|---|---|---|
Product: | [Applications] ark | Reporter: | fademind |
Component: | general | Assignee: | Raphael Kubo da Costa <rakuco> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | elvis.angelaccio, fademind |
Priority: | NOR | ||
Version: | 15.08.1 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
URL: | https://bugs.archlinux.org/task/46649 | ||
Latest Commit: | http://commits.kde.org/ark/f2090934229ec25c16bdf84e808dfe7cee8a1cd1 | Version Fixed In: | 15.12.0 |
Sentry Crash Report: |
Description
fademind
2015-10-11 09:12:02 UTC
It crashes on my system too. Actually it looks unrelated from the KF5 version, on my Arch I still have the 5.14 version. I'm confirming the bug, but it looks like an issue with the KHTMLPart. In particular, if I comment KHTMLPart::setOnlyLocalReferences(true) (line 255 of arkviewer.cpp), Ark stops crashing. Git commit f2090934229ec25c16bdf84e808dfe7cee8a1cd1 by Elvis Angelaccio. Committed on 26/10/2015 at 16:05. Pushed by elvisangelaccio into branch 'master'. Drop KHTML dependency and skip KHTMLPart when previewing This drops the KHTML framework as dependency (which was actually needed only to disable javascript and friends from the KHTMLPart) and drops the KHTMLPart as well, when previewing an HTML or XML file. Now we always use the second available service offer, which is the katepart by default, to preview those mimetypes. The user can still render an HTML entry, by opening it in the browser with the 'Open File' action. Related: bug 201162, bug 354182 FIXED-IN: 15.12.0 Differential Revision: D454 M +1 -1 CMakeLists.txt M +1 -1 part/CMakeLists.txt M +13 -34 part/arkviewer.cpp M +0 -3 part/arkviewer.h http://commits.kde.org/ark/f2090934229ec25c16bdf84e808dfe7cee8a1cd1 |