First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 188618
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux Gnome Desktop Team <gnome@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Christian Schlotter <again@gmx.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gnome-power-manager-2.20.0-r1.ebuild Hacked ebuild which workarounds this bug text/plain Shogun 2007-11-05 17:10 0000 2.50 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 188618 depends on: Show dependency tree
Bug 188618 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-08-12 17:46 0000
Hi!

Yesterday I upgraded to gnome 2.18. Since then, gnome-power-manager's icon,
which used to be displayed in the notification area has disappeared. I checked
that gnome-power-manager is set to "Always display an icon" in Power Management
Preferences.

Best regards
Christian

------- Comment #1 From Mart Raudsepp 2007-08-12 17:52:46 0000 -------
Please read the GNOME 2.18 Upgrade Guide at
http://www.gentoo.org/proj/en/desktop/gnome/howtos/gnome-2.18-upgrade.xml

------- Comment #2 From Herman Timmermans 2007-08-25 07:51:42 0000 -------
Same problem with amd64 after update.

Portage 2.1.2.12 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.5-r4,
2.6.18-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.18-gentoo-r3 x86_64 AMD Turion(tm) 64 Mobile Technology MT-28
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 23 Aug 2007 18:00:01 +0000
................
equery gives me =>
..........

[I--] [  ] gnome-extra/gnome-power-manager-2.18.3 (0)
..........

Herman

------- Comment #3 From Ferry 2007-10-29 08:02:21 0000 -------
Issue is still here in 2.20.0. Any ideas for a solution? It's pretty annoying.

------- Comment #4 From Daniel Gryniewicz 2007-10-29 17:01:44 0000 -------
No.  No one seems to have a clue.

------- Comment #5 From Andrey Melentyev 2007-10-30 00:19:56 0000 -------
Unfortunately the bug is reproducable on my system too. I don't really know
what information can be helpful, my system is up-to-date ~x86.

------- Comment #6 From Mart Raudsepp 2007-10-30 09:56:18 0000 -------
We need some hardcore debugging here, not information, unfortunately. Well,
actually we need information retrieved from some debugging deep in gtk+ and
g-p-m internals..
I got somewhere months back but haven't been able to dig even more deeper.
I'll try to later dig up the various upstream bugs and link em up from here.

------- Comment #7 From Pacho Ramos 2007-10-30 12:47:06 0000 -------
Only say that, if I set up opera browser for opening at gnome-session startup,
also its notification icon is usually missing and I have to restart opera for
getting it. I am not an expert but, maybe, this would indicate that the problem
is more related to notification applet than a gnome-power-manager bug. On the
other hand, it's extrange that other icons like beagle or gdesklets one are not
affected by this (tomboy usually works but sometime it also fails) :-/

------- Comment #8 From Andrey Melentyev 2007-10-30 15:06:10 0000 -------
By the way, I've heard about similar problems with Beryl icon in KDE. If
beryl-manager is started automatically within KDE startup, there is no icon in
the notification area. And of course the icon is on its right place if
beryl-manager is started by hand. So maybe Pacho is right and the problem is
not in gnome-power-manager itself?

------- Comment #9 From Daniel Gryniewicz 2007-10-30 17:12:36 0000 -------
The problem is believed to be in gtk+, but no one knows for sure.  It manifests
most often in gnome-power-manager.

------- Comment #10 From Shogun 2007-11-05 17:10:27 0000 -------
Created an attachment (id=135258) [details]
Hacked ebuild which workarounds this bug

Hi guys!
I can confirm that this bug is of GTK, as it shows also with tomboy and
networkmanager.
By the way, at least for gnome-power-manager I think I have found a solution.
I noticed accidentally that if g-p-m is emerged without XEvents support (unlike
the official ebuild) this bug disappear.
More info are available here:
http://bugzilla.gnome.org/show_bug.cgi?id=413360#c38
I attach this ebuild which transform xevents support in a use flag. (on my
2007.0 is disable by default)
Hope this helps!
Cheers!
  Shogun

------- Comment #11 From Mart Raudsepp 2007-11-09 08:17:09 0000 -------
(In reply to comment #10)
> Hi guys!
> I can confirm that this bug is of GTK, as it shows also with tomboy and
> networkmanager.

No, it's not. It's an application problem if it filters out X Events from under
gtk+'s back, as g-p-m did.

> By the way, at least for gnome-power-manager I think I have found a solution.
> I noticed accidentally that if g-p-m is emerged without XEvents support (unlike
> the official ebuild) this bug disappear.
> More info are available here:
> http://bugzilla.gnome.org/show_bug.cgi?id=413360#c38

Many many many thanks for pinpointing this to the very small HAVE_XEVENTS
specific code! I can't believe I didn't find this with my greps back at July
when looking for GdkFilter problems (HAVE_XEVENTS code has one). As the
functionality this provides has never worked and is probably untested, I went
with passing --disable-xevents, but also created a patch that fixes the filter
properly and attached it to the above-mentioned bug with a full analysis of why
the icon was breaking for those interested.

So, this bug is now fixed in 2.20.0-r1, while later we should reconsider if we
want to use the xevents functionality or not - awaiting upstreams opinion on
the upstream bug

------- Comment #12 From Pacho Ramos 2007-11-09 08:26:42 0000 -------
(In reply to comment #11)
> So, this bug is now fixed in 2.20.0-r1, while later we should reconsider if we
> want to use the xevents functionality or not - awaiting upstreams opinion on
> the upstream bug
> 

Could this be also done for 2.18 branch? 

I know that I can manually edit the ebuild for disabling xevents, but I think
that most of users would be happy getting this fixed also for gnome-2.18 :-)

Thanks a lot

------- Comment #13 From Mart Raudsepp 2007-11-09 08:30:05 0000 -------
If all goes well, 2.20 will be going stable in the coming days anyways, so not
sure I want a revision bump hanging around that will probably never get stabled

------- Comment #14 From Pacho Ramos 2007-11-09 08:38:49 0000 -------
(In reply to comment #13)
> If all goes well, 2.20 will be going stable in the coming days anyways, so not
> sure I want a revision bump hanging around that will probably never get stabled
> 

OK 

------- Comment #15 From Mart Raudsepp 2007-11-16 02:06:22 0000 -------
I fixed it for 2.18 series afterall in 2.18.3-r1 now.

First Last Prev Next    No search results available      Search page      Enter new bug