Bug 3740

Summary: Templates information dialog can't be closed with WM button
Product: Claws Mail (GTK 2) Reporter: Ricardo Mones <mones>
Component: OtherAssignee: users
Status: RESOLVED FIXED    
Severity: trivial    
Priority: P3    
Version: 3.15.0   
Hardware: PC   
OS: Linux   

Description Ricardo Mones 2016-11-29 10:36:15 UTC
To reproduce:
 • Go to main window's 'Configuration' menu
 • Open 'Templates...'
 • Press 'Information' button, information dialog opens
 • Press window manager decoration's close button (usually the x-shaped one)
 
Expected result:
 • Information dialog closes

Actual result:
 • Nothing happens

As usually the dialog can be closed with 'Esc' key or its own close button at the bottom, so this is just a surprising trivial (?) bug :)
Comment 1 wwp 2016-11-29 10:53:18 UTC
Can't reproduce it here (CM git running on GNOME 2.28 w/ default WM, CentOS6).
What's your WM?
Do you reproduce it w/ other Information dialogs? (from the actions dialog, or the quicksearch)
Comment 2 Ricardo Mones 2016-11-29 12:06:54 UTC
Debian 8.6 (Jessie) with XFCE 4.10.

And you're right: Actions and Quicksearch information dialogs also have this problem.
Comment 3 users 2016-11-29 19:25:03 UTC
Changes related to this bug have been committed.
Please check latest Git and update the bug accordingly.
You can also get the patch from:
http://git.claws-mail.org/

++ ChangeLog	2016-11-29 19:25:03.388246023 +0100
http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=51629b9a4999c7a99c5c54967096f1dd70d23bfb
Merge: 898d206 681532e
Author: Colin Leroy <colin@colino.net>
Date:   Tue Nov 29 19:25:02 2016 +0100

    Merge branch 'master' of file:///home/git/claws

http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=681532e4c5ece8ee0229a030770979b3e4f81871
Author: Andrej Kacian <ticho@claws-mail.org>
Date:   Tue Nov 29 19:23:14 2016 +0100

    Fix closing of description window using WM controls.
    
    Closes bug #3740.
Comment 4 Ricardo Mones 2016-11-30 00:26:24 UTC
Thanks for the quick fix!