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;
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: ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- 1.6.10/ thunar/ thunar- file.c 2015-05-22 15:25:36.000000000 +0200 1.6.10- patched/ thunar/ thunar- file.c 2016-05-15 15:13:21.613406924 +0200 return_ if_fail (THUNAR_IS_FILE (file));
-------
--- Thunar-
+++ Thunar-
@@ -3918,7 +3918,9 @@
gboolean
thunar_file_reload (ThunarFile *file)
{
- _thunar_
+ /* if the file has already been destroyed, break here */
+ if (!THUNAR_IS_FILE (file))
+ return FALSE;
/* clear file pxmap cache */ icon_factory_ clear_pixmap_ cache (file); ------- ------- ------- ------- ------- ------- ------- ------- ------- -------
thunar_
-------
It works but only if I click the OK button in the rename dialog. The crash occurs when hitting enter following the new name.