Bug 394292 - Erro on close application
Summary: Erro on close application
Status: CONFIRMED
Alias: None
Product: kolourpaint
Classification: Applications
Component: general (other bugs)
Version First Reported In: 17.08.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kolourpaint-support
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-15 20:35 UTC by Ricardo Gavira
Modified: 2018-05-21 16:57 UTC (History)
1 user (show)

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


Attachments
kolourpaint report (6.19 KB, text/plain)
2018-05-15 20:35 UTC, Ricardo Gavira
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ricardo Gavira 2018-05-15 20:35:54 UTC
Created attachment 112675 [details]
kolourpaint report

Error on close application. See attachment report
Comment 1 Martin Koller 2018-05-21 16:57:59 UTC
I somehow understand what happens here:

kolourpaint has an image content in the X-clipboard.
When kolourpaint quits, Qt (in the destructor of QXcbClipboard) tries to pass the clipboard to a clipboard manager.
In this case it seems the image in the clipboard has an EPS mimeType, therefore it tries to QImage::save() the image in EPS format and therefore it needs the KDE EPS imageformat plugin, which in EPSHandler::write() creates a QPrinter which fails since there no longer is a QApplication instance, since all this happens in the destructor.

What I have no idea about is: how can I put an image into the X-clipboard in the EPS format ?

Ricardo, any idea what you did when the crash happened ?
I'd like a way to reproduce this.