Steps to reproduce: 1. Open plugins settings, and set as an external editor "gvim %f". 2. Save the settings and restart KMail. 3. Press Ctrl+n to open a new mail; it should trigger the editor. 4. Type "test" in the editor, save, and quit. Expected: The "test" text should appear in the mail Actual: The typed content never appears. Additional info: It's a pretty important functional because typing a text in KMail natively is annoying due to this qt bug https://bugreports.qt.io/browse/QTBUG-64360
it seems that kwrite %f work fine.
it's a problem with gvim...
yep gedit works/ kate works/kwrite works so indeed I don't know if we need to add a special flag to gvim if we want that it works.
Ok you need to use "gvim -f %f" it avoids that gvim forks So it was not a kmail bug but a missing gvim option
(In reply to Laurent Montel from comment #4) > Ok you need to use "gvim -f %f" > it avoids that gvim forks > > So it was not a kmail bug but a missing gvim option Thanks! I changed the title "Kmail doesn't get content from the external editor" → "Kmail doesn't get content from GVim" so that it would be easier to find from google.