Bug 377281 - kMail 5.4.2 (still) steals focus from quick search field
Summary: kMail 5.4.2 (still) steals focus from quick search field
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: search (show other bugs)
Version: 5.4.1
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-06 11:17 UTC by Gunter Ohrner
Modified: 2017-03-06 12:10 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Attachment showing kmail window in the state where the described behaviour can be observed. (596.61 KB, image/png)
2017-03-06 11:17 UTC, Gunter Ohrner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gunter Ohrner 2017-03-06 11:17:25 UTC
Created attachment 104405 [details]
Attachment showing kmail window in the state where the described behaviour can be observed.

This still happens although #368743 is supposed to be fixed:

Whenever one of kMails frequent and lengthy folder synchronisations takes place, the focus is always stolen from the quick search bar after switching to a new folder.

To reproduce (also refer to screenshot):


* The account "Lokal" refers to an IMAP account on a locally running
  IMAP server in my case.

* Click at a folder which requires a while to synchronize. The Sent folder
  might a good idea, mine always takes about 2 minutes to synchronize whenever
  I open it.

* Click any mail in this folder such that the "please wait" message you can see
  in the screenshot appear.

* Now select another folder and click into the quick search bar.

What now happens is that after a delay of about 1 or 2 seconds, the "please wait" message will redraw, at which point the focus will be stolen from the quick search bar.

Any search text currently being entered at this moment will be interpreted as hotkey presses, causing chaos... ;)

As this happens all the time, this is pretty annoying.

If this can't be fixed, the quick search bar at least should be disabled for the period during folder switching while it actually cannot be used.
Comment 1 Laurent Montel 2017-03-06 12:10:55 UTC
You need qt5.8.x