[Users] Oddity: Recent upgrade to claws leaves my external editor with a blank page

Steven Lembark lembark at wrkhors.com
Sat Jan 8 21:15:34 UTC 2022


Claws Mail
version 3.18.0

System Information
GTK+ 2.24.33 / GLib 2.70.2
Locale: en_US.UTF-8 (charset: UTF-8)
Operating System: Linux 5.15.11-gentoo.av (x86_64)

Current setting for external programs/editor is:

	vile '%s'

Been working for years, until the last upgrade. 

There is a change in the scratch files also. They used to look
like
	tmpfile.<decimal numeric>"

now they look like 

	tmpmsg.<hex string>

Catch is that the old tempfile.* files had content; the new
tmpmsg.* files are all empty (see listing below).

Other change is that even if I put content into the initally
empty editor file it does not get transferred into the claws-
mail editor window. 

Sanity checking the executable:

	$ strings $(which claws-mail) | egrep 'tmp(file|msg)'
	get_tmpfile_in_dir
	my_tmpfile
	%s%ctmpmsg.%p
	%s%ctmpmsg%p
	my_tmpfile
	%s%ctmpmsg.out.%08x
	%s%ctmpfile.%08x

I can still see '%s%ctmpfile.%08x' in the source. Looking at the
scratch dir (see below) it seems as if two parts of the code are
using different templates for the tmpfile (e.g., new content is
written to tmpfile.* and the external editor is passed tmpmsg.*).

Q: Has anyone else seen this problem?
Q: Any known fix?


Listing of tmp dir showing the mismatched from "tmpfile.*"
and "tmpmsg.*":

$ ls -lt ~/.claws-mail/tmp;
total 476

-rw-rw-r-- 1 lembark lembark   3046 Jan  8 15:58 tmpfile.00000059
-rw-rw-r-- 1 lembark lembark      0 Jan  8 14:39 tmpmsg.0x56229cb5a980
-rw-rw-r-- 1 lembark lembark   3046 Jan  8 14:39 tmpfile.00000056
-rw-rw-r-- 1 lembark lembark      0 Jan  4 22:11 tmpmsg.0x56229cbdea00
-rw-rw-r-- 1 lembark lembark      0 Jan  4 22:07 tmpmsg.0x56229beca9d0
-rw-rw-r-- 1 lembark lembark      0 Jan  4 22:02 tmpmsg.0x56229be1b920
-rw-rw-r-- 1 lembark lembark 227605 Jan  4 22:02 tmpfile.0000003b
-rw-rw-r-- 1 lembark lembark  13283 Jan  3 16:23 tmpfile.0000002a
-rw-rw-r-- 1 lembark lembark      0 Jan  3 16:23 tmpmsg.0x56229c6c4870
-rw-rw-r-- 1 lembark lembark      0 Jan  3 16:20 tmpmsg.0x56229c042bf0
-rw-rw-r-- 1 lembark lembark 212942 Jan  3 16:20 tmpfile.00000024
-rw-rw-r-- 1 lembark lembark      0 Jan  3 11:15 tmpmsg.0x56229c909a00
-rw-rw-r-- 1 lembark lembark   7832 Jan  3 11:09 tmpfile.00000019
-rw-rw-r-- 1 lembark lembark   3366 Jan  3 01:53 tmpfile.00000015
-rw-rw-r-- 1 lembark lembark   3518 Jan  3 01:19 tmpfile.00000012
-rw-rw-r-- 1 lembark lembark      0 Jan  2 16:51 tmpmsg.0x56229bba7cd0
-rw-rw-r-- 1 lembark lembark      3 Jan  2 16:49 claws-crashed


-- 
Steven Lembark
Workhorse Computing
lembark at wrkhors.com
+1 888 359 3508


More information about the Users mailing list