Bug 3765 - UI frozen when exiting external editor
Summary: UI frozen when exiting external editor
Status: NEW
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: UI (show other bugs)
Version: 3.14.1
Hardware: PC Linux
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2017-01-24 10:25 UTC by Nicola Fontana
Modified: 2017-01-24 10:25 UTC (History)
0 users

See Also:


Attachments
Screenshot of frozen claws-mail (40.15 KB, image/png)
2017-01-24 10:25 UTC, Nicola Fontana
no flags Details
Triggering a close window solves the problem (70.91 KB, image/png)
2017-01-24 10:25 UTC, Nicola Fontana
no flags Details

Description Nicola Fontana 2017-01-24 10:25:12 UTC
Created attachment 1715 [details]
Screenshot of frozen claws-mail

Sometime the UI freezes when exiting the external editor (gvim in my case). The editor is spawned in foreground.

Actually I'm using the default embedded gvim command but it was happening also with the non-embedded one (gvim -f %s), so I am pretty sure it is not GtkSocket related:

    [nicola@iota .claws-mail]$ grep ext_editor_command clawsrc
    ext_editor_command=gvim -f --socketid %w %s

I had hard time trying to figure out how to replicate the problem and I still do not fully understand the problem... it seems something related to focus.

Anyway I spawn the external text editor, switch desktop and select something in another program, return to the desktop where claws-mail resides and exit the text editor (:wq). After that I get what is shown in the first screenshot: the window is frozen and do not repaint itself anymore.

My current ugly workaround is triggering a close window request via keyboard. After a couple of seconds I get what shown in the second screenshot: a confirmation dialog appears and the compose window is properly populated with what I written in the external editor.
Comment 1 Nicola Fontana 2017-01-24 10:25:59 UTC
Created attachment 1716 [details]
Triggering a close window solves the problem

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