Giter VIP home page Giter VIP logo

alarm-clock's People

Contributors

hyperair avatar joh avatar kamalmostafa avatar mozbugbox avatar patrickgmm avatar tatokis avatar trofi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

alarm-clock's Issues

Notification needs to be improved in jaunty

with the new notification system introduced in jaunty which does not allow any input from the user,
the notification window which appears is very confusing.
attaching the screenshot. It would be wonderful if we could improve the window layout.

Notification needs to be improved in jaunty

with the new notification system introduced in jaunty which does not allow any input from the user,
the notification window which appears is very confusing.
attaching the screenshot. It would be wonderful if we could improve the window layout.

compile error with libnotify 0.7.0

libnotify 0.7.0 includes a number of API changes:

notify_notification_new_with_status_icon is gone
notify_notification_attach_to_status_icon is gone
notify_notification_attach_to_widget is gone
notify_notification_set_geometry_hints is gone
notify_notification_new has lost its 'widget' argument

The attached patch makes alarm-clock-applet 0.3.1 build again, but I'm not sure if I did the right thing. I guess I should call notify_notification_new instead of just removing notify_notification_new_with_status_icon.

Solve the naming mess between the alarm-clock and alarmclock projects

Ubuntu has two applications called "Alarm Clock":
App. A: LP:alarmclock, pkgname: alarm-clock, maintained by Tomasz Sałaciński, http://www.alarm-clock.pl
App. B: LP:alarm-clock, pkgname: alarm-clock-applet, maintained by Johannes H. Jensen, http://alarm-clock.pseudoberries.com

Three things:

  1. Lack of differentiation to this point is confusing for all users, and a pain for all users. Which should I install? Are they even different? I remember using one, but which one was it?
  2. Using ubuntu-bug is the official preferred canonical-endorsed method of reporting bugs because it brings more debug information. However, in this case, the mess between LaunchpadName and PackageName will cause bug reporting to the bad project. Say you want to report a bug about B, okay ?
  • Launching ubuntu-bug alarm-clock will cause a bug to be reported on Ubuntu about package alarm-clock (App. A).
  • Launching ubuntu-bug alarm-clock-applet will say "The problem cannot be reported: This is not a genuine Ubuntu package"
    Example of such a messy bugreport, by me: LP#558543
  1. Finally, alarm-clock-applet is no longer an applet

Naming is emotional, and I guess each of you has his reasons to believe he was there in the first place but please, there must be a solution. Shutter and Pidgin (formerly GScrot and GAIM) did it very successfully (although for different reasons), you should be able to do it too.

Remove deprecated libgnomeui dependency

Alarm Clock uses the now deprecated libgnomeui. This dependency should be removed.

We only use libgnomeui for handling icons through the gnome_icon_lookup() function.

sound_repeat option not working

If I set the sound_repeat option of an alarm, when the alarms triggers the sound is just played once.
Furthemore, when creating the alarm, if a press the play button while having checked the repeat sound checkbox, the
sound just plays once.

This used to work in 11.10

I've tried to obtain a debug log, but it seems that this is not possible now. Starting alarm-clock-applet from
shell yields zero output.

[Test Case]

  1. Either create a new alarm or edit an existing alarm from the alarms window.
  2. Under alert, choose "Play sound"
  3. Select a short sound file, e.g. /usr/share/gnome/default/sounds/bark.ogg
  4. Check the "Repeat sound" checkbox
  5. Click "Play"
  6. Check that the sound is correctly repeated until "Stop" is pressed.

[Regression potential]
I don't see any.

Use the system icon scheme

I would like to make a suggestion that the applet would follow the system icon scheme I have set up. It could have used the stock_alarm.svg / clock.svg / appointment.svg / sleep.svg icons or at least one from the Gnome Colors, Tango or Mist packs. Now the icon is really standing out. :)

Thanks.

Source code an Gentoo QA

Hi.
I saw your applet and I decided to create en ebuild for it in order to add it to portage tree.
ATM it's currently hosted on gentoo-sunrise overlay (if you want to check it out please visit: https://bugs.gentoo.org/283022).

Ebuild system, during compiling process, claims about what it describe as 'poor programming practices'.
This means that your code could be improved in order to fit Gentoo QA.

Would be really nice if you fix your code in order to make it compile properly and better.

  • QA Notice: Package has poor programming practices which may compile
  •        fine but exhibit random runtime failures.
    
  • alarm-gconf.c:171: warning: implicit declaration of function 'list_alarms_update'
  • ui.c:233: warning: implicit declaration of function 'alarm_applet_snooze_alarms'
  • alarm-applet.c:500: warning: implicit declaration of function 'list_alarms_dialog_close'
  • alarm.c:1114: warning: implicit declaration of function 'alarm_is_playing'
  • alarms-list.c:261: warning: implicit declaration of function 'alarm_is_playing'
  • edit-alarm.c:854: warning: implicit declaration of function 'alarm_bind'

Furthermore I saw a lot of "unused variables" in the code. You should removed them before releasing a final version. Just my advice.

Let me know something and keep going on with this brilliant applet :)

Fabiano 'elbryan' Francesconi

no window title bar

start alarm-clock-applet 0.3.2 on xubuntu 11.04 and the alarm list window has no title bar neither controls (close, minimize ..).
the attachment show what I get on my system

PS the debug log isn't useful to determine the cause of this behaviour

[Test Case]

  1. Set alarm-clock-applet to auto-start (Alarm Clock > Preferences > Start automatically upon login
  2. When logging in, observe whether the alarm clock window appears at the top left corner (0, 0), even in the presence of the Unity top panel).
  3. If the window does not open such that the title bar is obscured by the top panel, then this bug is fixed.

Solve the naming mess between the alarm-clock and alarmclock projects

Ubuntu has two applications called "Alarm Clock":
App. A: LP:alarmclock, pkgname: alarm-clock, maintained by Tomasz Sałaciński, http://www.alarm-clock.pl
App. B: LP:alarm-clock, pkgname: alarm-clock-applet, maintained by Johannes H. Jensen, http://alarm-clock.pseudoberries.com

Three things:

  1. Lack of differentiation to this point is confusing for all users, and a pain for all users. Which should I install? Are they even different? I remember using one, but which one was it?
  2. Using ubuntu-bug is the official preferred canonical-endorsed method of reporting bugs because it brings more debug information. However, in this case, the mess between LaunchpadName and PackageName will cause bug reporting to the bad project. Say you want to report a bug about B, okay ?
  • Launching ubuntu-bug alarm-clock will cause a bug to be reported on Ubuntu about package alarm-clock (App. A).
  • Launching ubuntu-bug alarm-clock-applet will say "The problem cannot be reported: This is not a genuine Ubuntu package"
    Example of such a messy bugreport, by me: LP#558543
  1. Finally, alarm-clock-applet is no longer an applet

Naming is emotional, and I guess each of you has his reasons to believe he was there in the first place but please, there must be a solution. Shutter and Pidgin (formerly GScrot and GAIM) did it very successfully (although for different reasons), you should be able to do it too.

Cannot make on Ubuntu Gutsy

Error output when I try to make version 0.2.1: (I've used apt-get to get all listed dependencies; if you want any particular output please let me know what command to run)

test_alarm.c: In function ‘test_alarm_props’:
test_alarm.c:102: error: expected expression before ‘==’ token
test_alarm.c:103: error: expected expression before ‘==’ token
test_alarm.c:104: error: expected expression before ‘==’ token
test_alarm.c:105: error: expected expression before ‘==’ token
test_alarm.c:106: error: expected expression before ‘==’ token
test_alarm.c:107: error: expected expression before ‘==’ token
test_alarm.c:108: error: expected expression before ‘==’ token
test_alarm.c:109: error: expected expression before ‘==’ token
test_alarm.c:110: error: expected expression before ‘==’ token
test_alarm.c:111: error: expected expression before ‘==’ token
test_alarm.c:112: error: expected expression before ‘==’ token
test_alarm.c:113: error: expected expression before ‘==’ token
test_alarm.c:114: error: expected expression before ‘==’ token
test_alarm.c:115: error: expected expression before ‘==’ token
test_alarm.c:124: error: expected expression before ‘==’ token
test_alarm.c:125: error: expected expression before ‘==’ token
test_alarm.c:126: error: expected expression before ‘==’ token
test_alarm.c:127: error: expected expression before ‘==’ token
test_alarm.c:128: error: expected expression before ‘==’ token
test_alarm.c:129: error: expected expression before ‘==’ token
test_alarm.c:130: error: expected expression before ‘==’ token
test_alarm.c:131: error: expected expression before ‘==’ token
test_alarm.c:132: error: expected expression before ‘==’ token
test_alarm.c:133: error: expected expression before ‘==’ token
test_alarm.c:134: error: expected expression before ‘==’ token
test_alarm.c:135: error: expected expression before ‘==’ token
test_alarm.c:136: error: expected expression before ‘==’ token
test_alarm.c:137: error: expected expression before ‘==’ token
test_alarm.c: In function ‘test_alarm_type’:
test_alarm.c:151: error: expected expression before ‘==’ token
test_alarm.c:152: error: expected expression before ‘==’ token
test_alarm.c:155: error: expected expression before ‘==’ token
test_alarm.c:156: error: expected expression before ‘==’ token
test_alarm.c:157: error: expected expression before ‘==’ token
test_alarm.c: In function ‘test_alarm_notify_type’:
test_alarm.c:171: error: expected expression before ‘==’ token
test_alarm.c:172: error: expected expression before ‘==’ token
test_alarm.c:175: error: expected expression before ‘==’ token
test_alarm.c:176: error: expected expression before ‘==’ token
test_alarm.c:177: error: expected expression before ‘==’ token
test_alarm.c: In function ‘test_alarm_list’:
test_alarm.c:223: error: expected expression before ‘==’ token
test_alarm.c: In function ‘test_alarm_signal_alarm’:
test_alarm.c:241: error: expected expression before ‘==’ token
test_alarm.c: In function ‘test_alarm_signal_error’:
test_alarm.c:253: error: expected expression before ‘==’ token
test_alarm.c:254: error: expected expression before ‘==’ token
test_alarm.c:255: error: expected expression before ‘==’ token
test_alarm.c:256: error: expected expression before ‘==’ token
test_alarm.c: In function ‘test_alarm_signals’:
test_alarm.c:288: error: expected expression before ‘==’ token
test_alarm.c:298: error: expected expression before ‘==’ token
test_alarm.c: In function ‘test_alarm_notify’:
test_alarm.c:353: warning: passing argument 2 of ‘g_timeout_add’ from incompatible pointer type
test_alarm.c: In function ‘test_alarm_timers’:
test_alarm.c:411: warning: passing argument 2 of ‘g_timeout_add’ from incompatible pointer type
test_alarm.c:414: error: expected expression before ‘==’ token
test_alarm.c:430: warning: passing argument 2 of ‘g_timeout_add’ from incompatible pointer type
test_alarm.c:433: error: expected expression before ‘==’ token
test_alarm.c: In function ‘test_alarm_repeat’:
test_alarm.c:461: error: expected expression before ‘==’ token
test_alarm.c:475: error: expected expression before ‘==’ token
test_alarm.c:485: error: expected expression before ‘==’ token
test_alarm.c:490: error: expected expression before ‘==’ token
test_alarm.c: In function ‘test_alarm_bind’:
test_alarm.c:510: error: expected expression before ‘==’ token
test_alarm.c: In function ‘main’:
test_alarm.c:527: error: expected expression before ‘AlarmFixture’
test_alarm.c:528: error: expected expression before ‘AlarmFixture’
test_alarm.c:529: error: expected expression before ‘AlarmFixture’
test_alarm.c:530: error: expected expression before ‘AlarmFixture’
test_alarm.c:533: error: expected expression before ‘AlarmFixture’
test_alarm.c:534: error: expected expression before ‘AlarmFixture’
test_alarm.c:535: error: expected expression before ‘AlarmFixture’
test_alarm.c:536: error: expected expression before ‘AlarmFixture’
test_alarm.c:537: error: expected expression before ‘AlarmFixture’
make[3]: *** [test_alarm.o] Error 1
make[3]: Leaving directory /home/harv/Downloads/alarm-clock-0.2.1/src/tests' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory /home/harv/Downloads/alarm-clock-0.2.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/harv/Downloads/alarm-clock-0.2.1'
make: *** [all] Error 2

Double-clicking on alarm erratically changes alarm time/duration

In the alarm list of alarm-clock 0.3.0, when I double-click on an alarm, sometimes the time/duration of the alarm changes.

See the following screencast, http://dl.dropbox.com/u/368761/bugreport/alarmclock-bug-dblclickchangestime.ogv , showing that:

  1. In addition to opening the setup box, double-clicking my "Workweek 7:30" alarm changed the alarm time from 7:30 to 7:00
  2. Double-clicking my "Washing machine" alarm didn't do anything apart from opening the setup box (correct, expected behaviour)
  3. In addition to opening the setup box, double-clicking my "Nap" alarm changed the timer duration from 00:20:00 to 00:00:00
    Quite a severe bug for an alarm clock...

ProblemType: Bug
Architecture: i386
Date: Thu Apr 8 12:47:11 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
NonfreeKernelModules: nvidia
Package: alarm-clock-applet 0.3.0-1+joh1
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-21.59-generic-pae
SourcePackage: alarm-clock
Uname: Linux 2.6.31-21-generic-pae i686

No way to enable alarm upon creation

Originally from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=587454:

After creating a new alarm of type 'Alarm Clock', the alarm is not enabled. For
a new user, this is not immediately clear (there is no label for the
corresponding check boxes). Thus, I have already created an alarm that should
have gone of some time ago but didn't. Also, there is no option in the creation
dialog to enable the alarm, causing an odd extra action to be needed to set an
alarm; first create, then enable.

Please consider enabling these alarms upon creation.

[Test Case]

  1. Open the alarms window by clicking on the alarm-clock-applet indicator and selecting "Show alarms"
  2. Click "New alarm" (leftmost icon on the toolbar) in the alarm-clock-applet window
  3. Click "Close" on the "Edit alarm" window.
  4. (After fix is applied) Note that the alarm is activated.

[Regression Potential]
There is a slight behavioural change as a result of the change specific to this bug report: Newly created alarms and edited alarms are now automatically enabled by default.

Sound playing doesn't stop when changing to Start application

Hi,

Sound playing doesn't stop when changing Notification type from Play sound to Start application.

Here's the steps to reproduce this:

  1. Edit an alarm.
  2. Choose Play Sound as notification type.
  3. Choose a sound amongst the list.
  4. Choose Repeat sound.
  5. Play the sound.
  6. Change notification type to Start Application
    The sound is still playing.

It should stop because the button is now grey and so there is no (at least no easy) way to stop it.

Cannot make on Ubuntu Gutsy

Error output when I try to make version 0.2.1: (I've used apt-get to get all listed dependencies; if you want any particular output please let me know what command to run)

test_alarm.c: In function ‘test_alarm_props’:
test_alarm.c:102: error: expected expression before ‘==’ token
test_alarm.c:103: error: expected expression before ‘==’ token
test_alarm.c:104: error: expected expression before ‘==’ token
test_alarm.c:105: error: expected expression before ‘==’ token
test_alarm.c:106: error: expected expression before ‘==’ token
test_alarm.c:107: error: expected expression before ‘==’ token
test_alarm.c:108: error: expected expression before ‘==’ token
test_alarm.c:109: error: expected expression before ‘==’ token
test_alarm.c:110: error: expected expression before ‘==’ token
test_alarm.c:111: error: expected expression before ‘==’ token
test_alarm.c:112: error: expected expression before ‘==’ token
test_alarm.c:113: error: expected expression before ‘==’ token
test_alarm.c:114: error: expected expression before ‘==’ token
test_alarm.c:115: error: expected expression before ‘==’ token
test_alarm.c:124: error: expected expression before ‘==’ token
test_alarm.c:125: error: expected expression before ‘==’ token
test_alarm.c:126: error: expected expression before ‘==’ token
test_alarm.c:127: error: expected expression before ‘==’ token
test_alarm.c:128: error: expected expression before ‘==’ token
test_alarm.c:129: error: expected expression before ‘==’ token
test_alarm.c:130: error: expected expression before ‘==’ token
test_alarm.c:131: error: expected expression before ‘==’ token
test_alarm.c:132: error: expected expression before ‘==’ token
test_alarm.c:133: error: expected expression before ‘==’ token
test_alarm.c:134: error: expected expression before ‘==’ token
test_alarm.c:135: error: expected expression before ‘==’ token
test_alarm.c:136: error: expected expression before ‘==’ token
test_alarm.c:137: error: expected expression before ‘==’ token
test_alarm.c: In function ‘test_alarm_type’:
test_alarm.c:151: error: expected expression before ‘==’ token
test_alarm.c:152: error: expected expression before ‘==’ token
test_alarm.c:155: error: expected expression before ‘==’ token
test_alarm.c:156: error: expected expression before ‘==’ token
test_alarm.c:157: error: expected expression before ‘==’ token
test_alarm.c: In function ‘test_alarm_notify_type’:
test_alarm.c:171: error: expected expression before ‘==’ token
test_alarm.c:172: error: expected expression before ‘==’ token
test_alarm.c:175: error: expected expression before ‘==’ token
test_alarm.c:176: error: expected expression before ‘==’ token
test_alarm.c:177: error: expected expression before ‘==’ token
test_alarm.c: In function ‘test_alarm_list’:
test_alarm.c:223: error: expected expression before ‘==’ token
test_alarm.c: In function ‘test_alarm_signal_alarm’:
test_alarm.c:241: error: expected expression before ‘==’ token
test_alarm.c: In function ‘test_alarm_signal_error’:
test_alarm.c:253: error: expected expression before ‘==’ token
test_alarm.c:254: error: expected expression before ‘==’ token
test_alarm.c:255: error: expected expression before ‘==’ token
test_alarm.c:256: error: expected expression before ‘==’ token
test_alarm.c: In function ‘test_alarm_signals’:
test_alarm.c:288: error: expected expression before ‘==’ token
test_alarm.c:298: error: expected expression before ‘==’ token
test_alarm.c: In function ‘test_alarm_notify’:
test_alarm.c:353: warning: passing argument 2 of ‘g_timeout_add’ from incompatible pointer type
test_alarm.c: In function ‘test_alarm_timers’:
test_alarm.c:411: warning: passing argument 2 of ‘g_timeout_add’ from incompatible pointer type
test_alarm.c:414: error: expected expression before ‘==’ token
test_alarm.c:430: warning: passing argument 2 of ‘g_timeout_add’ from incompatible pointer type
test_alarm.c:433: error: expected expression before ‘==’ token
test_alarm.c: In function ‘test_alarm_repeat’:
test_alarm.c:461: error: expected expression before ‘==’ token
test_alarm.c:475: error: expected expression before ‘==’ token
test_alarm.c:485: error: expected expression before ‘==’ token
test_alarm.c:490: error: expected expression before ‘==’ token
test_alarm.c: In function ‘test_alarm_bind’:
test_alarm.c:510: error: expected expression before ‘==’ token
test_alarm.c: In function ‘main’:
test_alarm.c:527: error: expected expression before ‘AlarmFixture’
test_alarm.c:528: error: expected expression before ‘AlarmFixture’
test_alarm.c:529: error: expected expression before ‘AlarmFixture’
test_alarm.c:530: error: expected expression before ‘AlarmFixture’
test_alarm.c:533: error: expected expression before ‘AlarmFixture’
test_alarm.c:534: error: expected expression before ‘AlarmFixture’
test_alarm.c:535: error: expected expression before ‘AlarmFixture’
test_alarm.c:536: error: expected expression before ‘AlarmFixture’
test_alarm.c:537: error: expected expression before ‘AlarmFixture’
make[3]: *** [test_alarm.o] Error 1
make[3]: Leaving directory /home/harv/Downloads/alarm-clock-0.2.1/src/tests' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory /home/harv/Downloads/alarm-clock-0.2.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/harv/Downloads/alarm-clock-0.2.1'
make: *** [all] Error 2

repeat once: checkbox does not work

when i try to check the checkbox in Repeat once field in alarm edit, the checkbox for monday, tuesday ... nothing happens i.e.
the checkbox is not checked.

When stopping a clock after snooze after daychange the alarm for that day is removed

I have a recurring alarm at night to remind me to leave work on time to pick-up my daughter at school (I can be quite involved in my work and forget about the clock...). Anyway, it also happens that I actually watch the clock and turn of my computer a bit before the alarm goes on. In that case, not only the alarm starts the next day when I turn on the computer, but if I turn it off it also cancels the alarm-to-come for that day, which is unexpected.

De-activating the recurring alarm and re-activating it right away allows to get everything back to normal, but this is a bit annoying...

test_alarm fails

using revision 121.

$ make test
TEST: test_alarm... (pid=7606)
/alarm/type: OK
/alarm/nofity_type: OK
/alarm/list: ** (test_alarm:7606): DEBUG: set_property gconf-dir
** (test_alarm:7606): DEBUG: set_property id
** (test_alarm:7606): DEBUG: set_property active
** (test_alarm:7606): DEBUG: set_property active
** (test_alarm:7606): DEBUG: alarm_dispose (0x805c820)
** (test_alarm:7606): DEBUG: set_property gconf-dir
** (test_alarm:7606): DEBUG: set_property id
** (test_alarm:7606): DEBUG: set_property active
** (test_alarm:7606): DEBUG: set_property active
** (test_alarm:7606): DEBUG: alarm_dispose (0x805c880)
** (test_alarm:7606): DEBUG: set_property gconf-dir
** (test_alarm:7606): DEBUG: set_property id
** (test_alarm:7606): DEBUG: set_property active
** (test_alarm:7606): DEBUG: set_property active
** (test_alarm:7606): DEBUG: alarm_dispose (0x805c8e0)
** (test_alarm:7606): DEBUG: set_property gconf-dir
** (test_alarm:7606): DEBUG: set_property id
** (test_alarm:7606): DEBUG: set_property active
** (test_alarm:7606): DEBUG: set_property active
** (test_alarm:7606): DEBUG: alarm_dispose (0x805c940)
** (test_alarm:7606): DEBUG: alarm_get_list: found VALID /apps/alarm-clock/alarm8 #8
** (test_alarm:7606): DEBUG: set_property gconf-dir
** (test_alarm:7606): DEBUG: set_property id
** (test_alarm:7606): DEBUG: set_property active
** (test_alarm:7606): DEBUG: set_property active
** (test_alarm:7606): DEBUG: ref = 1
** (test_alarm:7606): DEBUG: append ref = 1
** (test_alarm:7606): DEBUG: alarm_get_list: found VALID /apps/alarm-clock/alarm123 #123
** (test_alarm:7606): DEBUG: set_property gconf-dir
** (test_alarm:7606): DEBUG: set_property id
** (test_alarm:7606): DEBUG: set_property active
** (test_alarm:7606): DEBUG: set_property active
** (test_alarm:7606): DEBUG: ref = 1
** (test_alarm:7606): DEBUG: append ref = 1
** (test_alarm:7606): DEBUG: alarm_get_list: found VALID /apps/alarm-clock/alarm0 #0
** (test_alarm:7606): DEBUG: set_property gconf-dir
** (test_alarm:7606): DEBUG: set_property id
** (test_alarm:7606): DEBUG: set_property active
** (test_alarm:7606): DEBUG: set_property active
** (test_alarm:7606): DEBUG: ref = 1
** (test_alarm:7606): DEBUG: append ref = 1
** (test_alarm:7606): DEBUG: alarm_get_list: found VALID /apps/alarm-clock/alarm3 #3
** (test_alarm:7606): DEBUG: set_property gconf-dir
** (test_alarm:7606): DEBUG: set_property id
** (test_alarm:7606): DEBUG: set_property active
** (test_alarm:7606): DEBUG: set_property active
** (test_alarm:7606): DEBUG: ref = 1
** (test_alarm:7606): DEBUG: append ref = 1
** (test_alarm:7606): DEBUG: alarm_get_list: found VALID /apps/alarm-clock/alarm5 #5
** (test_alarm:7606): DEBUG: set_property gconf-dir
** (test_alarm:7606): DEBUG: set_property id
** (test_alarm:7606): DEBUG: set_property active
** (test_alarm:7606): DEBUG: set_property active
** (test_alarm:7606): DEBUG: ref = 1
** (test_alarm:7606): DEBUG: append ref = 1
** ERROR:test_alarm.c:223:test_alarm_list: assertion failed (a->id == eq): (0 == 3)
FAIL
GTester: last random seed: R02Seb743778ee4548fdc82251eed3795260
/bin/sh: line 1: 7659 Terminated gtester --verbose test_alarm test_player test_list_entry test_util test_alarm glade_view test_gconf_recursive
make: *** [test] Error 143

btw, this file doesn't exist on my system: file:///usr/share/sounds/generic.wav

$ gdb alarm-clock-applet
GNU gdb 6.7.1
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run
Starting program: /home/yoan/soft/alarm-clock/src/alarm-clock-applet
[Thread debugging using libthread_db enabled]
[New Thread 0xb6cc76d0 (LWP 7664)]

Program exited with code 01.
(gdb) bt
No stack

Regards,

crash in gnome-applet-alarm-clock-0.3.1-1.fc12: raise

Originally reported at https://bugzilla.redhat.com/show_bug.cgi?id=615699

architecture: i686
Attached file: backtrace
cmdline: alarm-clock-applet
comment: Produce every time that I do it.
component: gnome-applet-alarm-clock
crash_function: raise
executable: /usr/bin/alarm-clock-applet
global_uuid: 56c5c6b2a18bcab58c465dbef4803dcc98c5d39b
kernel: 2.6.32.16-141.fc12.i686.PAE
package: gnome-applet-alarm-clock-0.3.1-1.fc12
rating: 4
reason: Process /usr/bin/alarm-clock-applet was killed by signal 6 (SIGABRT)
release: Fedora release 12 (Constantine)

How to reproduce

1.Open the applet
2.Right click the applet then select Preference
3.Check the box of "Start automatically at login"

And here is a dump that I got running the applet in command line with the same
actions as above.

** (alarm-clock-applet:2125): DEBUG: Preferences: Autostart get_state for file (nil)
** (alarm-clock-applet:2125): DEBUG: AlarmAction: toggle autostart to 1
** (alarm-clock-applet:2125): DEBUG: AlarmAction: set autostart to 1!
** (alarm-clock-applet:2125): DEBUG: Preferences: Autostart get_state for file (nil)
** (alarm-clock-applet:2125): DEBUG: Preferences: Autostart ENABLE!

** (alarm-clock-applet:2125): WARNING **: Preferences: Could not copy '/usr/share/applications/alarm-clock-applet.desktop' to user config dir: Error opening file '/home/chanueting/.config/autostart/alarm-clock-applet.desktop': No such file or directory

(alarm-clock-applet:2125): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: No such file or directory

** (alarm-clock-applet:2125): WARNING **: Preferences: Error when enabling autostart-file '/home/chanueting/.config/autostart/alarm-clock-applet.desktop': \xf0\xc5\u0008 \xb0SI
Segmentation fault (core dumped)

alarm clock applet does not show notification bubble and icon(s) missing

I have installed the alarm clock applet on two hardy machines. On the first one the applet is working fine - on the other one I do not get the notification bubble and some icons are missing. What can be the problem? Perhaps wrong GNOME theme (human-clearlooks)? Is there a possibility to get a log from a GNOME applet?

unable to set the alarm beyond 13:49:49 in jaunty

i am unable to unable to set the alarm beyond 13:49:49.
if i type anything more than 13 in hrs and 49 in min and seconds, as soon as i press enter the time automatically is set as 13 in hrs and 49 in min and sec.
i am using 0.2.4 on jaunty fully updated as on 24th Feb.
i am adding the screenshot....

The timer countdown appears frozen in alarm-clock-applet, does not reflect the countdown

Binary package hint: alarm-clock-applet

Package version: 0.2.6-1
Release: Ubuntu 9.10

What happens:

When I set up and start a timer, the clock on the applet appears frozen even thought the countdown is in progress, e.g. if I started a 6-minute timer, the panel applet if frozen at 00:06:00.
When I place the mouse cursor over the applet, the tooltip shows the countdown in parenthesis.

What I expected to happen:

If there is a timer countdown going on, it should be reflected on the applet.

Remove deprecated libgnomeui dependency

Alarm Clock uses the now deprecated libgnomeui. This dependency should be removed.

We only use libgnomeui for handling icons through the gnome_icon_lookup() function.

deleting running alarm doesn't cancel them

say you have alarms in the alarms window. be them timers or alarm clock.
and activated with countdown running.

if you delete them with the shred icon, they disapear from the alarm window so you can think there is no more any alarm running.
this is wrong. because they all continue to run (countdown to ...) and will ring at the specified time.
Is this a bug or a feature ?

the bug is that you can't stop the first alarm that will ring because you can't stop it from the alarm window because it is not there anymore.
and even the stop all alarmsin the systray icon does n't the ringing alarm.

so you have to close alarm-clock-applet to stop this alarm

is this yet another invalid bug ? ;-)

Time remaining does not reflect next alarm.

I have five different alarms set for various days/times to reflect my class schedule, and after the alarm went off for this morning, I cleared it, and it should have started counting down to the "end of class" alarm for this evening, but it started counting to the next alarm in the group for this morning (i.e. 10:00 AM two days from now).

Clicking on flashing icon should bring up list instead of snoozing (at least optionally)

Sometimes I come back to my computer after leaving it for a bit to find the Alarm Clock icon flashing. Naturally I left-click on it to see what I missed, except that doing this snoozes all the alarms I missed. I'd prefer left-clicking to bring up the list to show me what I missed - I generally expect left-clicking an active icon to show me what it's blinking/active about, not perform an action.

Other people may work differently, so maybe this could be a Preference setting? "When alarm icon is active clicking it a. snoozes alarm b. shows alarm list."

Thanks for a great app!

repeat once: checkbox does not work

when i try to check the checkbox in Repeat once field in alarm edit, the checkbox for monday, tuesday ... nothing happens i.e.
the checkbox is not checked.

alarms are one hour off when clock has changed due to daylight savings

When an alarm is set before a daylight savings time change to a
time after the time change, the alarm will go off at a time one hour off.

I'd suspect it checks how long it is until the next alarm and sleeps (sets an alarm) in that many seconds. And when the time left changes in the middle of it the original calculation will be wrong.

sound_repeat option not working

If I set the sound_repeat option of an alarm, when the alarms triggers the sound is just played once.
Furthemore, when creating the alarm, if a press the play button while having checked the repeat sound checkbox, the
sound just plays once.

This used to work in 11.10

I've tried to obtain a debug log, but it seems that this is not possible now. Starting alarm-clock-applet from
shell yields zero output.

[Test Case]

  1. Either create a new alarm or edit an existing alarm from the alarms window.
  2. Under alert, choose "Play sound"
  3. Select a short sound file, e.g. /usr/share/gnome/default/sounds/bark.ogg
  4. Check the "Repeat sound" checkbox
  5. Click "Play"
  6. Check that the sound is correctly repeated until "Stop" is pressed.

[Regression potential]
I don't see any.

Remember the alarms list window position

Currently, the positioning of the alarms list window is left to the window manager.
This is annoying if you like to have it set to a specific place (for example, I'd like it to stay near my notification icon so that, after clicking the notification icon, I have less mouse distance to travel from the icon to the alarm list)

If, for some reason (monitor setup change, resolution change) the remembered position doesn't exist in the current setup, it should be brought back to something sane like (30,30).

alarm acting like timer

[Test Case]

  1. Click on the alarm-clock-applet indicator and click "Show alarms"
  2. Create a new alarm.
  3. Close the new alarm dialog and start the alarm.
  4. Observe the countdown -- it should be accurate, counting down towards the time specified in the alarm properties dialog.
  5. Double click the alarm to edit it.
  6. Without changing any other setting, change the alarm into a timer by clicking the "Timer" button next to the "Alarm" button on top.
  7. Close the dialog
  8. Check if the countdown now reflects that of a timer (counting down to 0, based on the amount of time specified in the timer properties dialog), or if it continues counting as per the observation in step 4. If this bug is fixed, it should now follow the countdown of a timer, rather than an alarm.

[Regression potential]
Unlikely.

MediaPlayer critical messages

For some reason, the MediaPlayer randomly emits critical messages when playing. This seems only to happen when in loop mode.

src/tests$ ./test_player file:///usr/share/sounds/gnome/default/alerts/drip.ogg
** (:8283): DEBUG: State changed to PLAYING [2], data is 'test data'

(:8283): GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed

(:8283): GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed

(:8283): GStreamer-CRITICAL **: gst_object_unref: assertion `((GObject *) object)->ref_count > 0' failed

Backtrace with G_DEBUG=fatal_warnings:

GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed
aborting...

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb64fdb70 (LWP 8412)]
0x0096b422 in __kernel_vsyscall ()
(gdb) bt
#0 0x0096b422 in __kernel_vsyscall ()
#1 0x005544d1 in raise () from /lib/tls/i686/cmov/libc.so.6
#2 0x00557932 in abort () from /lib/tls/i686/cmov/libc.so.6
#3 0x00153046 in g_logv () from /lib/libglib-2.0.so.0
#4 0x00153076 in g_log () from /lib/libglib-2.0.so.0
#5 0x001532db in g_return_if_fail_warning () from /lib/libglib-2.0.so.0
#6 0x0036535b in g_object_ref () from /usr/lib/libgobject-2.0.so.0
#7 0x00367668 in ?? () from /usr/lib/libgobject-2.0.so.0
#8 0x004dbff3 in gst_structure_id_set_valist () from /usr/lib/libgstreamer-0.10.so.0
#9 0x004dc133 in gst_structure_id_new () from /usr/lib/libgstreamer-0.10.so.0
#10 0x004b8200 in gst_message_new_stream_status () from /usr/lib/libgstreamer-0.10.so.0
#11 0x006f802a in ?? () from /usr/lib/gstreamer-0.10/libgstpulse.so
#12 0x0074062f in ?? () from /usr/lib/libpulse.so.0
#13 0x007437b6 in pa_mainloop_dispatch () from /usr/lib/libpulse.so.0
#14 0x00743c31 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#15 0x00743cf4 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#16 0x00754bc3 in ?? () from /usr/lib/libpulse.so.0
#17 0x007a1ac2 in ?? () from /usr/lib/libpulsecommon-0.9.19.so
#18 0x001cc80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#19 0x005f67ee in clone () from /lib/tls/i686/cmov/libc.so.6

This might be a GStreamer or pulseaudio bug...

Alarm or Timer doesn't stop when "Stop All Alarms" is used and "Repeat Sound" is unchecked.

When I use "Stop all alarms" from the notification area icon's menu, the main interface of the application doesn't show that the alarm has actually stopped. Then, when selecting an alarm and clicking "Stop" in the main UI, the tray icon begins to blink. Using "Stop all alarms" again finally causes the tray icon to cease blinking. Interestingly, this only occurs when "Repeat Sound" is unchecked in the alarm- or timer-specific options.

Steps to reproduce:

  1. Kill and restart applet.

  2. Create a timer named "test2", with a delay of 5 seconds, playing the sound sonar.ogg, and uncheck "repeat sound".

  3. Start the timer from the main UI.

  4. Wait 5 seconds.

  5. Right-click the notification icon, and select "Stop all alarms".

  6. Observe that while the icon stops blinking, the alarm "test2" is still enabled and blinking in the main UI.

  7. Disable "test2" by selecting it and using the Stop button.

  8. Observe that the notification icon begins blinking again.

  9. Finally, access the "Stop all alarms" notification icon menu function again to stop the tray icon blinking.

  10. Repeat the process with "Repeat Sound" enabled in the timer or alarm's options dialog, and observe the bug does not occur.

Debug output from the applet is attached.

unable to set the alarm beyond 13:49:49 in jaunty

i am unable to unable to set the alarm beyond 13:49:49.
if i type anything more than 13 in hrs and 49 in min and seconds, as soon as i press enter the time automatically is set as 13 in hrs and 49 in min and sec.
i am using 0.2.4 on jaunty fully updated as on 24th Feb.
i am adding the screenshot....

crash in gnome-applet-alarm-clock-0.3.1-1.fc12: raise

Originally reported at https://bugzilla.redhat.com/show_bug.cgi?id=615699

architecture: i686
Attached file: backtrace
cmdline: alarm-clock-applet
comment: Produce every time that I do it.
component: gnome-applet-alarm-clock
crash_function: raise
executable: /usr/bin/alarm-clock-applet
global_uuid: 56c5c6b2a18bcab58c465dbef4803dcc98c5d39b
kernel: 2.6.32.16-141.fc12.i686.PAE
package: gnome-applet-alarm-clock-0.3.1-1.fc12
rating: 4
reason: Process /usr/bin/alarm-clock-applet was killed by signal 6 (SIGABRT)
release: Fedora release 12 (Constantine)

How to reproduce

1.Open the applet
2.Right click the applet then select Preference
3.Check the box of "Start automatically at login"

And here is a dump that I got running the applet in command line with the same
actions as above.

** (alarm-clock-applet:2125): DEBUG: Preferences: Autostart get_state for file (nil)
** (alarm-clock-applet:2125): DEBUG: AlarmAction: toggle autostart to 1
** (alarm-clock-applet:2125): DEBUG: AlarmAction: set autostart to 1!
** (alarm-clock-applet:2125): DEBUG: Preferences: Autostart get_state for file (nil)
** (alarm-clock-applet:2125): DEBUG: Preferences: Autostart ENABLE!

** (alarm-clock-applet:2125): WARNING **: Preferences: Could not copy '/usr/share/applications/alarm-clock-applet.desktop' to user config dir: Error opening file '/home/chanueting/.config/autostart/alarm-clock-applet.desktop': No such file or directory

(alarm-clock-applet:2125): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: No such file or directory

** (alarm-clock-applet:2125): WARNING **: Preferences: Error when enabling autostart-file '/home/chanueting/.config/autostart/alarm-clock-applet.desktop': \xf0\xc5\u0008 \xb0SI
Segmentation fault (core dumped)

Double-clicking on alarm erratically changes alarm time/duration

In the alarm list of alarm-clock 0.3.0, when I double-click on an alarm, sometimes the time/duration of the alarm changes.

See the following screencast, http://dl.dropbox.com/u/368761/bugreport/alarmclock-bug-dblclickchangestime.ogv , showing that:

  1. In addition to opening the setup box, double-clicking my "Workweek 7:30" alarm changed the alarm time from 7:30 to 7:00
  2. Double-clicking my "Washing machine" alarm didn't do anything apart from opening the setup box (correct, expected behaviour)
  3. In addition to opening the setup box, double-clicking my "Nap" alarm changed the timer duration from 00:20:00 to 00:00:00
    Quite a severe bug for an alarm clock...

ProblemType: Bug
Architecture: i386
Date: Thu Apr 8 12:47:11 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
NonfreeKernelModules: nvidia
Package: alarm-clock-applet 0.3.0-1+joh1
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-21.59-generic-pae
SourcePackage: alarm-clock
Uname: Linux 2.6.31-21-generic-pae i686

The alarms list window should be shown when launching the application

It made sense for 0.2.x versions to start hidden because it was a panel applet: once added to the GNOME panel, it started automatically, and when you needed to activate an alarm, you had to click the applet icon.

Now, with 0.3.x being a standalone application, it no longer makes sense to start hidden. Starting the application is a declaration of intent from the user: "I want to set up an alarm clock, and for this I want to see my alarms list". Why forcing him to do the additional step of double-clicking the notification icon to reveal the alarm list?

The alarms list window shouldn't be minimized when Alarm Clock is launched, it should be put to front.

alarm clock applet does not show notification bubble and icon(s) missing

I have installed the alarm clock applet on two hardy machines. On the first one the applet is working fine - on the other one I do not get the notification bubble and some icons are missing. What can be the problem? Perhaps wrong GNOME theme (human-clearlooks)? Is there a possibility to get a log from a GNOME applet?

Crash: Could not create player

** (alarm-clock-applet:13079): DEBUG: Alarm(0x6e71b0) #1: - 1...
** (alarm-clock-applet:13079): DEBUG: Alarm(0x6e71b0) #1: alarm() DING!
** (alarm-clock-applet:13079): DEBUG: Alarm(0x6e71b0) #1: alarm() Repeating...
** (alarm-clock-applet:13079): DEBUG: Alarm(0x6e71b0) #1: update_timestamp_full: 23:0:0
** (alarm-clock-applet:13079): DEBUG: Alarm(0x6e71b0) #1: set_timestamp (23, 0, 0, 0)
** (alarm-clock-applet:13079): DEBUG: Closest WDAY = 3
** (alarm-clock-applet:13079): DEBUG: Alarm is in 1 days.
** (alarm-clock-applet:13079): DEBUG: Alarm will trigger at Ter 10 Ago 2011 23:00:00 WEST
** (alarm-clock-applet:13079): DEBUG: Setting to 1313013600
** (alarm-clock-applet:13079): DEBUG: Alarm(0x6e71b0) #1: set timestamp=1313013600
** (alarm-clock-applet:13079): DEBUG: AlarmApplet: Alarm 'Alarm!' timestamp changed
** (alarm-clock-applet:13079): DEBUG: AlarmListWindow alarm_update: 0x6e71b0 (Alarm!)
** (alarm-clock-applet:13079): DEBUG: Alarm(0x6e71b0) #1: alarm() Start player

** (alarm-clock-applet:13079): CRITICAL **: Could not create player.

Program received signal SIGSEGV, Segmentation fault.
0x0000000000409fde in media_player_start ()
(gdb) bt
#0 0x0000000000409fde in media_player_start ()
#1 0x000000000040c38c in ?? ()
#2 0x00007ffff6f5f1fe in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#3 0x00007ffff6f6f815 in ?? () from /usr/lib/libgobject-2.0.so.0
#4 0x00007ffff6f797aa in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#5 0x00007ffff6f79952 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#6 0x000000000040b7ba in ?? ()
#7 0x00007ffff7b36b9b in ?? () from /usr/lib/libglib-2.0.so.0
#8 0x00007ffff7b3529d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#9 0x00007ffff7b35a78 in ?? () from /usr/lib/libglib-2.0.so.0
#10 0x00007ffff7b360ba in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#11 0x00007ffff75f81a7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#12 0x0000000000409072 in main ()
(gdb)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.