Bug 2995

Summary: closing extended quick search information panel triggers window focus bug
Product: Claws Mail (GTK 2) Reporter: Pierre Fortin <pf>
Component: UIAssignee: users
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 3.9.3   
Hardware: PC   
OS: Linux   

Description Pierre Fortin 2013-08-16 15:59:08 UTC
To reproduce:

Open a compose/reply window.
Focus on main CM window.
Click on Quick Search's Extended Information button to open the Information panel.

Closing the information panel via the CM-provided Close button works fine; but if closed via the window's close button, raising the previously opened compose window will not restore keyboard/mouse focus to the compose window -- it stays on the main window.

To restore proper focus, either kill CM and restart (nothing lost); or, re-open the Information panel and re-close it with the CM Close button.
Comment 1 Pierre Fortin 2013-08-16 16:45:21 UTC
Sometimes, only killing CM will help; not re-opening/closing Info panel.  Haven't found what triggers the difference between the 2 restore methods in original report.
Comment 2 Pierre Fortin 2013-08-16 18:36:01 UTC
I keep checking as I work...  had a couple of segfaults for which --debug and gdb haven't helped.  segfaults happened when closing the compose window as the very first action after restarting CM following the kill.
Comment 3 users 2013-08-17 10:20:06 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/

http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=78573edb833f03b831dc9acc46b49a2b7e2540d5
Author: Paul <paul@claws-mail.org>
Date:   Sat Aug 17 09:19:30 2013 +0100

    fix bug 2995, 'closing extended quick search information panel triggers window focus bug'
Comment 4 Pierre Fortin 2013-08-17 21:22:33 UTC
Fixed. Thanks!