Bug 156941 - Displaying vector images in LyX causes LyX to crash
Summary: Displaying vector images in LyX causes LyX to crash
Status: RESOLVED NOT A BUG
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-29 23:57 UTC by John Hudson
Modified: 2008-02-01 23:07 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Hudson 2008-01-29 23:57:39 UTC
Version:           KDE4 (using KDE 4.0.0)
Installed from:    SuSE RPMs
OS:                Linux

Attempting to display *.fig or *.eps graphics in a LyX window crashes LyX. As long as no such graphic appears in the window LyX behaves perfectly. Removing KDE4 resolves the problem.

This bug appears as bug 4519, duplicating bug 4409 on bugzilla.lyx.org.
Comment 1 FiNeX 2008-02-01 18:54:54 UTC
From the LyX ML, it seems that the problem is related to the qt4 libs, not to kde4 itself.


What versions of LyX and qt4 did you used? Eventually you could try to update them.
Comment 2 John Hudson 2008-02-01 23:07:47 UTC
On Friday 01 February 2008 17:54:55 you wrote:
[bugs.kde.org quoted mail]

I downloaded the OpenSuSE version of KDE; the following response from Tobias 
König appears to address the issue:

------- Additional Comment #5 From Tobias König 2008-01-30 22:31 -------  
[...]
  
 Qt uses the QImageIO Plugins for rendering images. Since KDE installs 
 such a plugin for the EPS format, every Qt application picks that plugin 
 as well. Unfortunately in KDE4 the EPS plugin used a class which is only 
 available in applications which use KApplication instead of 
 QApplication, so the plugin asserted and Lyx was terminated. 
 
 I've fixed that issue in trunk and the KDE4.0 branch (will be part of 
 4.0.1 release) now by using only Qt classes in the EPS plugin.

[...]

I will wait for 4.0.1 and check that this is the answer.

John