Bug 383216

Summary: Macro crashing on saving
Product: [Applications] krita Reporter: Scott Petrovic <scottpetrovic>
Component: File formatsAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: halla
Priority: NOR    
Version: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:

Description Scott Petrovic 2017-08-07 01:16:05 UTC
This is on my KDE Neon build from master

Steps to reproduce

1. Start recording a macro
2. make a few strokes
3. stop recording macro

result is a crash.

I did a bracktrace. It appears it has to do something with the Mimetype in KoFileDialog.

It is happening at this line.

 dialog.setMimeTypeFilters(QStringList() << "application/krita-recorded-macro", "application/krita-recorded-macro");


The console provides this information while trying to set the mime type...

"No file found for ".xml" , even though update-mime-info said it would exist.
Either it was just removed, or the directory doesn't have executable permission... ("/usr/share/mime")"
Comment 1 Halla Rempt 2017-11-21 09:45:21 UTC
Hm... That doesn't crash when running in gdb...
Comment 2 Halla Rempt 2017-11-21 09:50:39 UTC
Git commit ba161077ff2817d4d46735e0276d965fc41d0271 by Boudewijn Rempt.
Committed on 21/11/2017 at 09:49.
Pushed by rempt into branch 'master'.

Fix typo in the mimetype for macro recordings

M  +2    -2    plugins/extensions/bigbrother/bigbrother.cc

https://commits.kde.org/krita/ba161077ff2817d4d46735e0276d965fc41d0271