| Summary: | kbibtex crash after reloading bib file | ||
|---|---|---|---|
| Product: | [Applications] KBibTeX | Reporter: | Nico Kruber <nico.kruber> |
| Component: | General | Assignee: | Thomas Fischer <fischer> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | Keywords: | drkonqi |
| Priority: | NOR | ||
| Version First Reported In: | 0.6 | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | https://commits.kde.org/kbibtex/90a55671b0e5f7b4d186367871c20cf3b902129f | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Nico Kruber
2016-08-28 14:32:50 UTC
I can reproduce the crash, although not when filtering the results, but when closing KBibTeX. I prepared a potential fix for this crash. It is not (yet) in KBibTeX's main repository but in my personal one: http://commits.kde.org/clones/kbibtex/thomasfischer/kbibtex/06be489a73b57ad06038d604a434adc26c2a3e52 Please test if this commit fixes your problem. > Please test if this commit fixes your problem.
Have you managed to test if the commit fixes your problem? I am planning to make a release of KBibTeX 0.6.1 and would like to see this bug fixed and closed.
Git commit 90a55671b0e5f7b4d186367871c20cf3b902129f by Thomas Fischer. Committed on 24/11/2016 at 21:04. Pushed by thomasfischer into branch 'kbibtex/0.6'. Fixing crash when open file got modified externally Fixing a crash that would happen when closing a file or KBibTeX or when changing the filter criteria (depending on bug reporter), but only if file was modified externally (e.g. in KWrite/Kate) and the file monitor in KBibTeX detected this modification and the user confirmed to reload the affected file. This commit refactors the FileSettings dock/panel to not use a potentially stale File object, but to retrieve an always(?) current File object from the currently shown central FileView. M +0 -10 src/gui/widgets/filesettingswidget.cpp M +0 -2 src/gui/widgets/filesettingswidget.h M +13 -15 src/program/docklets/filesettings.cpp M +2 -3 src/program/docklets/filesettings.h https://commits.kde.org/kbibtex/90a55671b0e5f7b4d186367871c20cf3b902129f |