[Xfce-bugs] [Bug 12264] Crash when renaming single file in folder
bugzilla-daemon at xfce.org
bugzilla-daemon at xfce.org
Sun Jun 19 15:59:23 CEST 2016
https://bugzilla.xfce.org/show_bug.cgi?id=12264
--- Comment #66 from Frank <frank at ditrianum.org> ---
After renaming a few files Thunar may crash after hitting enter in the rename
dialog.
In an attempt to resolve this I used this patch:
-----------------------------------------------------------------------------
--- Thunar-1.6.10/thunar/thunar-file.c 2015-05-22 15:25:36.000000000 +0200
+++ Thunar-1.6.10-patched/thunar/thunar-file.c 2016-05-15 15:13:21.613406924
+0200
@@ -3918,7 +3918,9 @@
gboolean
thunar_file_reload (ThunarFile *file)
{
- _thunar_return_if_fail (THUNAR_IS_FILE (file));
+ /* if the file has already been destroyed, break here */
+ if (!THUNAR_IS_FILE (file))
+ return FALSE;
/* clear file pxmap cache */
thunar_icon_factory_clear_pixmap_cache (file);
-----------------------------------------------------------------------------
It works but only if I click the OK button in the rename dialog. The crash
occurs when hitting enter following the new name.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Xfce-bugs
mailing list