Bug 242769 - Closing a composer window or sending makes the main window grab the focus
Summary: Closing a composer window or sending makes the main window grab the focus
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.13.3
Platform: Debian unstable Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-25 11:40 UTC by Michael Schuerig
Modified: 2015-04-12 09:53 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Schuerig 2010-06-25 11:40:07 UTC
Version:           1.13.3 (using KDE 4.4.4) 
OS:                Linux

When I write a message and send it or just close the composer window, this makes the main window grab the focus even if there are other windows in front of it.

When writing a message, I often refer to web pages or other documents. Then, after I have sent the message, I close the documents I no longer need. Sending closes the composer window and the document window directly behind it becomes the front window. As I no longer need that document, I habitually press Ctrl-Q with the intention of closing it. -- Contrary to my intention, KMail, whose main window has grabbed the focus, receives the keypress and quits.

I know about this (mis)behavior. I know that there's a difference between front window and focussed window. Even my window title bar is styled to make this distinction very obvious. It doesn't help. Knowing about the trap doesn't save me from falling into it again and again.

Reproducible: Always



Expected Results:  
Leave the focus alone and let KWin pass the focus to the front window.

OS: Linux (x86_64) release 2.6.32-5-amd64
Compiler: cc
Comment 1 Laurent Montel 2015-04-12 09:53:43 UTC
Thank you for taking the time to file a bug report.

KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2.

We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback.