Bug 3313 - external editor
Summary: external editor
Status: RESOLVED FIXED
Alias: None
Product: Claws Mail (Windows)
Classification: Unclassified
Component: default (show other bugs)
Version: 3.10.1
Hardware: PC Windows 7
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2014-10-27 13:04 UTC by vb
Modified: 2021-03-09 09:15 UTC (History)
2 users (show)

See Also:


Attachments
Portable external editor spawning (13.55 KB, patch)
2021-03-07 15:19 UTC, Thorsten Maerz
Details | Diff

Description vb 2014-10-27 13:04:33 UTC
Hi,
i don't know if its a bug but i didn't find any Info about it.
its not possible to open an external editor (automatic or manually)
The Option/Checkbox "use system defaults if possible" (in "external programs") is greyed out and if i use notepad '%s' oder gvim -f '%s' as texteditor neither one opens when i compose a message oder navigate to "edit with external editor"
I tried to find an older Version to test ist but didn't find anything.
The same problem on several Machines i tried (even changed the values directly in the xml-file but no luck)

thx in advance
vb
Comment 1 vb 2014-10-27 13:05:42 UTC
not version 3.11 but version 3.10.1 - windows
Comment 2 Jason Beck 2016-09-30 02:31:50 UTC
I can confirm that this is still a problem in 3.14.0. I'm not sure what the expected behavior or use case is, but from what I can see, nothing happens.

Also, once you select a different option from the drop-down, "notepad %s" is never added in the list. Makes sense to be a default value on the Windows build.
Comment 3 James Kalb 2017-09-19 15:26:07 UTC
And I can confirm that both problems Jason Beck mentions are still present in 3.15.0.
Comment 4 Thorsten Maerz 2021-03-07 15:19:21 UTC
Created attachment 2183 [details]
Portable external editor spawning

Use g_spawn_async() instead of fork()/exec() for starting the external editor, so it works on Windows as well.

Patch is based on git-rev:3.17.8-25-g67de7a4db
Comment 5 Paul 2021-03-09 09:15:42 UTC
pushed to git. thanks

Note You need to log in before you can comment on or make changes to this bug.