Bug 371696 - Infinitely loops on stealing focus when an account is added but not accessible
Summary: Infinitely loops on stealing focus when an account is added but not accessible
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-26 05:03 UTC by Jimmy Berry
Modified: 2022-11-25 05:22 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 Jimmy Berry 2016-10-26 05:03:58 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36
Build Identifier: 5.3.0

After adding an account, not sure if I missed any fields as I hit ok quickly to switch to another task (interruption). Then every application I used lost focus in and out in and out. After launching a full screen application it was immediately minimized and I soon realized focus was being stolen as opening menus or krunner and such would quickly close.

I open xev and saw loads of:

FocusIn event, serial 75, synthetic NO, window 0x9400001
FocusOut event, serial 75, synthetic NO, window 0x9400001

The serial number changing if I pressed lots of keys as I originally thought it was a stuck key or something. I unplugged all devices and controlled machine through kde-connect remote input, but the issue still occurred.

Hard shutdown, waited 30 seconds and booted and issue quickly came back, even with all devices unplugged. I proceeded to close all applications, but issue persistented and so I cycled the power again.

When I logged back in all was fine and I went on to do other things for an hour or so with no issues. Then I remembered I was not done setting up account in kmail. Opened it back up and opened menu to get to settings and it closed by itself. Checked xev and sure enough it was back. I ended up forcing my way into the menus and remove the account. All was good after that.

I am going to assume this has something to do with the account not having a successful password prompt as it asked me once and I hit cancel since I was need to do something quickly. Seems like it was infinitely cycling on checking the mail and perhaps "thinking" about prompting me for a password. This occurred even when application was minimized to tray.

If others cannot reproduce I may attempt again, but a bit nervous to hose things again at the moment.

Reproducible: Didn't try

Steps to Reproduce:
1. add account
2. cancel password prompt
3. tears
Actual Results:  
focus stolen

Expected Results:  
not steal focus
Comment 1 Justin Zobel 2022-10-26 03:07:13 UTC
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 2 Bug Janitor Service 2022-11-10 05:12:42 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2022-11-25 05:22:55 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!