Bug 321717 - systray and battery widget in 4.11 is broken
Summary: systray and battery widget in 4.11 is broken
Status: RESOLVED UNMAINTAINED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-battery (show other bugs)
Version: 4.10.97
Platform: Other Linux
: VHI critical
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 322705 329659 336790 357650 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-06-28 15:19 UTC by Eugene Shalygin
Modified: 2018-06-08 18:14 UTC (History)
24 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Battery popup (103.48 KB, image/png)
2013-11-09 14:19 UTC, Romário Rios
Details
Screenshot Battery Widget displaying content in drop down menu. (27.75 KB, image/jpeg)
2015-03-06 19:24 UTC, GHPS
Details
Battery Widget on desktop - leaving a gap in the sys tray (40.48 KB, image/jpeg)
2015-03-17 19:51 UTC, GHPS
Details
screenshot of battery widget on top left corner of the screen (176.65 KB, image/jpeg)
2016-02-09 11:54 UTC, matish
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Shalygin 2013-06-28 15:19:59 UTC
4.10.80 and 4.10.90 version have some problem(s) with layout of system tray. Widgets in the tray are in mess most of the time (https://imageshack.com/a/img96/3539/g0p.png), except cases when battery widget somehow moves to the desktop and shows up at the upper left corner (https://imageshack.com/a/img59/746/g9q.png)

Reproducible: Always

Steps to Reproduce:
1. Turn on enough widgets in system tray, and turn of battery monitor
Comment 1 Eugene Shalygin 2013-07-02 19:53:19 UTC
Battery widget moves from systemtray to desktop after waking up computer from sleep
Comment 2 Eugene Shalygin 2013-07-22 20:44:26 UTC
This bug can be easily triggered using Akregator, if it configured to show an icon in the system tray. When Akregator updates its icon, and the icon changes from inactive state to active (news in feeds/all feeds readed) or vise-versa, battery applet opens by itself in system tray, like it would be clicked. But it does not show widget on the desktop. Instead of that this expanded widget goes into the system tray area and produces the mess seen in screenshots.

So far I can not trigger it via manipulations with other tray icons.
Comment 3 Aldoo 2013-08-28 21:41:34 UTC
This still happens in released packages... (kubuntu 13.4, KDE 4.11).
Comment 4 Pali Rohár 2013-09-17 01:21:56 UTC
Confirmed - it is still not fixed in KDE 4.11.1. It is not possible to open battery widget anymore and even worse systray is totally broken. This problem appeared in KDE 4.11. Marking bug with high priority because this is regression and non working systray (and battery widget) means that KDE plasma is not usable anymore.
Comment 5 Rex Dieter 2013-09-17 02:27:23 UTC
What distro(s)?

I cannot reproduce this on fedora 19/kde-4.11.1
Comment 6 Eugene Shalygin 2013-09-18 09:39:47 UTC
I see it on Gentoo x86_64
Comment 7 Pali Rohár 2013-09-18 09:44:52 UTC
Kubuntu 12.10 amd64
Comment 8 Lukas Schneiderbauer 2013-09-26 14:22:18 UTC
seems related to this somehow: https://bugs.kde.org/show_bug.cgi?id=295621
Comment 9 Rex Dieter 2013-09-26 14:37:07 UTC
Can anyone reproduce this using the default plasma Air theme?  I suspect this is related to plasma theme used (having helped a few others debug this, they all used non-default themes).
Comment 10 Eugene Shalygin 2013-09-26 14:42:51 UTC
Screenshots in the description were made with Air theme.
Comment 11 Diego 2013-10-29 13:47:41 UTC
(In reply to comment #10)
> Screenshots in the description were made with Air theme.

Same here. Fedora 19, KDE SC 4.11.2, Air them.
Comment 12 Pali Rohár 2013-10-29 14:00:54 UTC
Same problem on KDE 4.11.1 (Kubuntu 12.10 amd64) with Air theme.
Comment 13 Andreas Klöckner 2013-10-31 01:14:32 UTC
Same issue with Debian's plasma-desktop 4.11.2-3.
Comment 14 Andreas Klöckner 2013-11-08 19:20:25 UTC
Possible theory: Could the sequence of events be that

1) the battery icon disappears when the battery is fully charged
2) the battery status that shows up on the desktop has some sort of "parent" relationship with the battery icon
3) since the parent (battery icon) died, the battery status gets "reparented" to the desktop?
Comment 15 Pali Rohár 2013-11-08 19:28:05 UTC
Problem is still there on Kubuntu 12.04 amd64 with KDE 4.11.2 and Qt 4.8.2

From above posts I see that this problem is on more distributions and more themes (default Air too!). Again, this is critical problem for any laptop, because it is not possible to show status of battery and also configure it (e.g. brightness).

Look at picture from first post: https://imageshack.com/a/img96/3539/g0p.png

If you cannot fix this problem, I suggest to revert back old battery widget from KDE4.10 which *worked* fine without any problem.
Comment 16 Romário Rios 2013-11-09 14:19:03 UTC
Created attachment 83453 [details]
Battery popup

I can confirm that in 4.11.2. In my case, the applet shows up at the topleft corner of the desktop, as some people said, but, when the battery is discharging or charging, it also occupies the space it should in the systray, but the battery overlay doesn't show up, it's just an empty space. If you click that empty space, though, the battery widget will pop up together with the piece of the wallpaper it's sitting on in the topleft corner of the desktop.
Comment 17 Christian Trippe 2013-11-24 11:10:50 UTC
*** Bug 322705 has been marked as a duplicate of this bug. ***
Comment 18 Pali Rohár 2013-11-24 11:38:23 UTC
Still not fixed in KDE 4.11.3
Comment 19 Diego 2014-01-14 09:35:42 UTC
(In reply to comment #18)
> Still not fixed in KDE 4.11.3

Neither in 4.11.5
Comment 20 Belomir 2014-02-14 05:20:53 UTC
Confirm this bug.
Only happens if battery widget in systray. if it is in panel separately everything is ok.

KDE 4.12.0 from kubuntu backports with kubuntu 12.04.4
Comment 21 Eugene Shalygin 2014-02-14 11:30:43 UTC
When my system was affected  by bug  #330807, I saw the same weird behaviour of printing monitor widget, i.e. it was shown above the desktop in the top-left corner
Comment 22 Kai Uwe Broulik 2014-02-24 12:42:37 UTC
*** Bug 329659 has been marked as a duplicate of this bug. ***
Comment 23 Sergey A. Sukiyazov 2014-07-15 16:59:21 UTC
This bug still exists in KDE 4.13.2 under Kubuntu 14.04 amd64 (Exactly same as on attached screenshots, but i have such even with Oxygen theme).

The system detects battery without any problems and battery indicator works fine in KDE when I boot from Kubuntu 14.04 installation DVD. The battery indicator works fine after I install Kubuntu 14.04 to hard disk, but stop work after I installed nvidia-311 or nvidia-311-updates drivers and switched to using them.

The problem disappears when I remove thes dirives and switch back to noveau driver. 

I have Dell Inspiron 7737 notebook.

I hope this info helps to fix the bug.
Comment 24 Del 2014-08-04 06:50:55 UTC
I can confirm bug on current Debian testing, i.e., KDE dev platform 4.13.3. Using proprietary Nvidia 304 driver. I have not tested with Nouveau. Using the defaut Air theme.
Comment 25 Marcelo Andrade 2014-11-18 23:17:57 UTC
I can also confirm that the bug still exists on Kubuntu 14.04 using proprietary nvidia driver 340 and air theme
Comment 26 Marcelo Andrade 2014-11-18 23:25:30 UTC
I have made two tests.
I have an optimus nvidia GPU wich can switch between the nvidia or intel gpu. The bug appears when I am using Nvidia GPU (with nvidia 340 proprietary driver). When I choose the Intel gpu, the battery icon is ok.
Comment 27 Piotr Keplicz 2014-11-19 08:40:36 UTC
I have an Intel GPU and the icon breaks occasionally on power status change.
Comment 28 Kai Uwe Broulik 2014-12-26 16:56:31 UTC
*** Bug 336790 has been marked as a duplicate of this bug. ***
Comment 29 Unknown 2015-01-20 09:51:25 UTC
The same problem occurs in Mint 17.1 KDE 4.14.2 on Dell Latitude 5540 with Intel HD Graphics 4400.
Comment 30 GHPS 2015-03-06 18:49:50 UTC
I can confirm this annoying bug in Kubuntu 14.04 LTS (latest patches applied).

Both the Battery Monitor and Manage Print Jobs widget behave incorrectly when docked in the System Tray and their visibility is set to "automatic". When auto-hidden the Manage Print Jobs can't be opened. Moveover the Battery Monitor displays parts of its GUI in the upper left corner of the desktop where it can't be controlled (moved/resized) with the usual handles.

Both widgets work fine when placed directly on the desktop or docked as an individual app on the control bar. Both can be accessed with a mouse click and moved/resized. Problems arrise with they are part of the System Tray in the control bar and the visibility is set to automatic. When auto-hidden or explicitly hidden any attempt to open the app via the drop down list ("show hidden icons") and a single mouse click fails. When the machine is running on battery the Battery Manager obviously tries to un-hide itself causing parts of the GUI to be displayed permanently on the destop rather than just making the icon visible in the system area.

A simple workaround: Set visibility to "always".

I ran a few test to find out when this bug was introduced.
Distros affected: 
- Kubuntu 14.04.01 LTS distributed live-system
  (Manage Print Jobs, Battery Monitor )
- Kubuntu 14.04 with latest patches
  (KDE SC 4.13.2)
- Kubuntu 14.10 distributed live-system
- openSUSE 13.1 KDE Live
   (Manage Print Jobs, Battery Monitor)
		  
not affected: 
- Kubuntu 12.04.4 LTS
  (KDE SC 4.8.5)

Way to reproduce: Start live distro and try to open any of the two apps when auto-hidden in the system area of the control bar.

Additional screenshot:
http://media.cdn.ubuntu-de.org/forum/attachments/20/24/6742147-Auswahl_001.png

(Background in Germman)
http://forum.ubuntuusers.de/topic/unerwuenschte-widgets-auf-dem-desktop/
Comment 31 GHPS 2015-03-06 19:24:26 UTC
Created attachment 91458 [details]
Screenshot Battery Widget displaying content in drop down menu.

When set to auto-display the Battery Widget tries to display its content within the drop sys tray menu.
Comment 32 GHPS 2015-03-17 19:51:36 UTC
Created attachment 91606 [details]
Battery Widget on desktop - leaving a gap in the sys tray

Battery Widget on desktop - leaving a gap in the sys tray
Comment 33 matish 2016-02-09 11:54:30 UTC
Created attachment 97103 [details]
screenshot of battery widget on top left corner of the screen
Comment 34 matish 2016-02-09 11:56:36 UTC
Comment on attachment 97103 [details]
screenshot of battery widget on top left corner of the screen

kubuntu 14.04 LTS, KDE 4.14.13
Comment 35 Kai Uwe Broulik 2016-06-28 11:54:29 UTC
*** Bug 357650 has been marked as a duplicate of this bug. ***
Comment 36 Nikolaos Kakouros 2018-02-08 14:12:28 UTC
Isn't this issue obsolete?
Comment 37 Nate Graham 2018-06-08 18:14:38 UTC
Hello!

This bug report was filed for KDE Plasma 4, which reached end-of-support status in August 2015. KDE Plasma 5's desktop shell has been almost completely rewritten for better performance and usability, so it is likely that this bug has already been resolved in Plasma 5.

Accordingly, we hope you understand why we must close this bug report. If the issue described  here is still present in KDE Plasma 5.12 or later, please feel free to open a new ticket in the "plasmashell" product after reading https://community.kde.org/Get_Involved/Bug_Reporting

If you would like to get involved in KDE's bug triaging effort so that future mass bug closes like this are less likely, please read https://community.kde.org/Get_Involved#Bug_Triaging

Thanks for your understanding!

Nate Graham