Bug 12894 - new upower gir causes cinnamon clock to fail
Summary: new upower gir causes cinnamon clock to fail
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: Joseph Wang
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2014-02-27 11:39 CET by Joseph Wang
Modified: 2015-05-20 09:57 CEST (History)
1 user (show)

See Also:
Source RPM: lib64upower-gir1.0
CVE:
Status comment:


Attachments

Description Joseph Wang 2014-02-27 11:39:03 CET
Description of problem:

Upgrading to latest cauldron causes cinnamon clock and battery power systems not to update


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. upgrade to cauldron - lib64upower-gir1.0
2. cinnamon clock disappears
3. revert to mageia4 
4. clock reappears

The problem appears to be in the js code for calendar.js


cinnamon/applets/calendar@cinnamon.org/applet.js

            // https://bugzilla.gnome.org/show_bug.cgi?id=655129                
            this._upClient = new UPowerGlib.Client();
            this._upClient.connect('notify-resume', this._updateClockAndDate);

This code is failing with the latest update to upower

Reproducible: 

Steps to Reproduce:
Comment 1 Joseph Wang 2014-02-27 11:43:13 CET
cross reference to upstream bug report

https://github.com/linuxmint/Cinnamon/issues/2913
Comment 2 Jani Välimaa 2014-02-27 14:58:05 CET
Cinnamon (and many other pkg) needs to be converted to use new Upower 1.0 API [1]. In this case because notify_resume signal was removed.

[1] http://lists.freedesktop.org/archives/devkit-devel/2013-October/001519.html
Comment 3 Florian Hubold 2014-12-08 19:29:36 CET
(In reply to Joseph Wang from comment #1)
> cross reference to upstream bug report
> 
> https://github.com/linuxmint/Cinnamon/issues/2913

According to upstream this is fixed with:
https://github.com/linuxmint/Cinnamon/commit/b04f857c039bfc9c72ec0f1303237a42760cdf62

Can you please update the packages or this report accordingly? Thanks in advance.

CC: (none) => doktor5000
Assignee: bugsquad => joequant

Comment 4 Samuel Verschelde 2015-05-20 09:55:49 CEST
So, is it fixed in latest cauldron?

Keywords: (none) => NEEDINFO

Comment 5 Joseph Wang 2015-05-20 09:57:47 CEST
Has been fixed for a while.

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.