! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Dynamic icon of Orage not often refreshed
Status:
CLOSED: FIXED

Comments

Description Fabien Grumelard 2011-08-31 12:40:42 CEST
In my opinion, the dynamic icon of Orage is not enough refreshed frequently. When my computer wakes up (after a suspend-to-ram for the night), several hours are necessary to get the correct date in the dynamic icon. I don't know the exact time.

Regards,
Fabien Grumelard
Comment 1 juha editbugs 2011-08-31 13:14:34 CEST
Yes, that icon is refreshed only once in 24 hours, when the date actually changes. If the machine is sleeping when that is supposed to happen, operating system/GTK+ should call the timed out event when the system wakes up.

Orage is not doing anything special when the machine wakes up; it is supposed to work automatically.

Do you have Orage clock panel plugin in use? If you set it to show only hours, does it work?

What does 
$orage -v 
show?

What disto are you using?
Comment 2 Fabien Grumelard 2011-08-31 14:05:55 CEST
I don't use the clock panel plugin, I will try with it activated.

$ LANG=C orage -v
	This is orage version 4.8.1

	Released under the terms of the GNU General Public License.
	Compiled against GTK+-2.24.5, using GTK+-2.24.4.
	Using DBUS for import.
	Using libnotify.
	Using automatic archiving.
	Using operating system package libical.

I'm using Linux Mint Debian Edition (LMDE).
Comment 3 Fabien Grumelard 2011-09-07 14:22:48 CEST
The Orage clock panel doesn't change anything. Several hours are necessary to get the correct date.

Is it sure a timed out event is called when the system wakes up ? Is there a way to monitor this event ?
Comment 4 juha editbugs 2011-09-07 15:27:29 CEST
There is no special way to monitor that wake up.
I could try to create a test program for it.
Comment 5 tejjok 2011-09-07 23:41:30 CEST
My icon does not (usually) get refreshed even if my laptop is on when the day changes. It used to, but not after updating my distribution (ArchLinux) about a month ago. Successive updates haven't fixed this.

However, in rare cases it does refresh, perhaps in 1 out of 5 times (a rough estimation). I haven't noticed any other differences between the times it does and does not update.

$orage -v reports
Compiled against GTK+-2.24.5, using GTK+-2.24.6.

Otherwise the same as in comment 2.
Comment 6 juha editbugs 2011-09-08 07:36:50 CEST
Thanks, that is interesting. Maybe Gtk+ 2.24 has changed something so that it does not work anymore. I need to find a distro which has that fresh version and test with it.
Comment 7 juha editbugs 2011-09-20 22:05:52 CEST
*** Bug 7659 has been marked as a duplicate of this bug. ***
Comment 8 tejjok 2011-09-20 23:05:07 CEST
My icon seems to be updating again. For the last few days it has been updated to show the new number of the day immediately when the day changes.

I have no clue as to what has fixed this problem (at least temporarily). I haven't made any modifications in any configuration files, and I haven't made any major software updates, but it's possible some packages have been updated when I've installed new applications.

$orage -v
is still reporting the same information.
Comment 9 juha editbugs 2011-09-20 23:22:42 CEST
Yes, reproduced this with Debian testing, which has Gtk+ 2.24.
Gnome panel clock was not refreshed either after wake up.

Not easy to work around this.
Comment 10 juha editbugs 2011-09-20 23:23:59 CEST
Ok, very interesting that it was cured in your system. Hmm.
Comment 11 juha editbugs 2011-09-23 08:22:31 CEST
Fixed in 4.8.2.1 available in git.

Added an optional timer to keep track on time and refresh Orage if the timer notices vanished seconds. Now icon should change within 10 secs after waking up from suspend/hibernate. This timer is only needed when the system does not recovery automatically.
Comment 12 juha editbugs 2011-11-21 11:12:16 CET
*** Bug 8175 has been marked as a duplicate of this bug. ***
Comment 13 juha editbugs 2012-01-09 08:30:30 CET
Fixed in 4.8.3.
Comment 14 juha editbugs 2012-04-13 10:26:21 CEST
*** Bug 8682 has been marked as a duplicate of this bug. ***
Comment 15 juha editbugs 2015-04-02 12:45:50 CEST
*** Bug 8279 has been marked as a duplicate of this bug. ***

Bug #7939

Reported by:
Fabien Grumelard
Reported on: 2011-08-31
Last modified on: 2015-04-02
Duplicates (4):
  • 7659 Tray icon shows wrong date after suspend and resume
  • 8175 Dynamic calendar icon update after midnight and after login
  • 8279 orage icon doesn't follow the date
  • 8682 dynamic icon in system-tray not updated correctly

People

CC List:
5 users

Version

Attachments

Additional information