Bug 246745 - loses focus frequently when on battery or when the battery is charging
Summary: loses focus frequently when on battery or when the battery is charging
Status: RESOLVED WORKSFORME
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-battery (show other bugs)
Version: unspecified
Platform: Exherbo Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-05 00:17 UTC by Bo Ørsted Andresen
Modified: 2012-05-17 11:45 UTC (History)
4 users (show)

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 Bo Ørsted Andresen 2010-08-05 00:17:21 UTC
Version:           unspecified (using KDE 4.4.95) 
OS:                Linux

The problem basically consists of whichever window I'm using losing focus every 5-30 seconds. I see nothing else grabbing the focus. Alt-TAB twice or mouse clicking on the window gets the focus back to the window I was using. Alt-TAB also shows no other window having the focus.

Needless to say this is a huge nuisance.

Reproducible: Always

Steps to Reproduce:
I observed this problem the first time when I tried upgrading from KDE 4.4.2 to 4.5 beta1. It was so annoying that I ended up downgrading back to 4.4.3. This made the problem go away. I later upgraded to 4.5 rc2 which I'm still running.

In the beginning I just saw a bug that happened most of the time but not all the time I think. Was very hard to figure out how to reproduce it. At this point I've found out that it happens pretty much consistently when running on battery or when the battery is charging until it hits about 99 % charged. I'm not sure it can't happen otherwise though but it rarely does.

Also I only have this one system where I experience the problem. Didn't try on other systems.



I have no idea if it's really xinerama related but I do have xinerama enabled because I sometimes use two monitors. Whether or not I use two monitors has no effect on the bug though.
Comment 1 Christoph Feck 2010-08-05 00:30:59 UTC
Could you check if removing any battery plasmoid (from panel and system tray) fixes the issue?
Comment 2 Bo Ørsted Andresen 2010-08-05 10:57:33 UTC
(In reply to comment #1)
> Could you check if removing any battery plasmoid (from panel and system tray)
> fixes the issue?

Yeah, looks like that makes the issue go away. And readding a battery plasmoid makes it reappear.
Comment 3 Christoph Feck 2010-08-05 11:07:35 UTC
Do you use any third party notification system, such as Colibri? From what I understand, battery notifications take away the focus.
Comment 4 Bo Ørsted Andresen 2010-08-05 11:51:19 UTC
(In reply to comment #3)
> Do you use any third party notification system, such as Colibri? From what I
> understand, battery notifications take away the focus.

I do not. I may have a few months
Comment 5 Bo Ørsted Andresen 2010-08-05 11:53:14 UTC
(In reply to comment #4)
> I do not. I may have a few months

Meh. Meant to write: I may have a few months ago but I uninstalled the last bits of it by the end of May (assuming that was Colibri).
Comment 6 Giorgos Tsiapaliokas 2010-12-24 17:48:29 UTC
are you still having problem with the specific issue?
Comment 7 Sebastian Kügler 2011-01-11 12:42:27 UTC
... and if so, do you have any special focus settings changed? Focus follows mouse, or something like this?

Notifications are completely passive, and I've never seen this issue.
Comment 8 Bo Ørsted Andresen 2011-01-18 16:12:40 UTC
I can't reproduce the problem anymore.

I've never had any special focus settings like that.
Comment 9 Myriam Schweingruber 2012-05-17 11:45:38 UTC
Closing based on comment #8.