Help - Search - Members - Calendar
Full Version: Alarm Panel
Desktop Sidebar Forums > Customizations > Panel Announcements
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
majikman
i don't know whats wrong with the one i installed.. but i'm running the latest version of the panel and desktop sidebar off the website and its setting my alarm incorrectly. apparently this is only for the once alarm, but i'm setting it for 03/22 at 3:13am and named test. after i enter it, it shows up on the sidebar as 03/22/06. my system clock is set to the correct date and time so i'm not sure how its picking up 06. maybe its an obob
eitaneko
Here's the thing. If the One Time Only alarm is set for 3:13AM on 3/22, it will only say 05 if it is 3:12:59 or before. I do that test all the time. It defaults to 06 if the date and time has passed in 05. Try setting it for two minutes ahead and see if it comes up 05 and let me know if that works.
eitaneko
majikman, did you figure it out? Perhaps I should add a messagebox informing people of why it goes to 06 and not 05...

I need to do a little more testing to see if this panel is ready to be released, and then I will release v4.2. Anyone want to beta test?
eitaneko
v4.2 BETA

Please test and let me know if you have any problems.

There has been a change in functionality of this panel. Alarms now can be in one of four states: ON, OFF, PLY, or SNZ. When an alarm is in state ON, it is set, the timer is running and will trigger as usual. OFF means the alarm is disabled and will not trigger. The only way into state PLY is if the alarm has triggered and it has been set to play a sound file. It will show PLY when it is playing that sound. To snooze a playing alarm, click on the alarm that says PLY. This will put it in state SNZ. It will snooze for the amount of time specified under snooze time in the panel properties. The order of states when clicking is as follows:

From state ON: Click once to go to OFF, click again to go to ON.
From state OFF: Click once to go to ON, click again to go to OFF.
From state PLY: Click once to go to SNZ, click again to go to OFF, click again to go to ON.
From state SNZ: Click once to go to OFF, click again to go to ON.

NOTE: CLICKING THE ALARM COUNTER WILL NOT SILENCE ALARMS ANYMORE. YOU HAVE TO SNOOZE AN ALARM FIRST. IF YOU DISABLE SNOOZE IN THE PANEL PROPERTIES, CLICKING ON A PLAYING ALARM WILL SILENCE IT AND DISABLE IT.
eitaneko
No downloads??? sad.gif
GoMa
Give us some time. biggrin.gif
I have downloaded this version, it looks excellent!
I've found that if I add an uptime alarm set to less than the current uptime, a "Could not start timer" message is shown.
When changing properties (renaming, changing alert text...) of an alarm (tried with uptime alarm) that is OFF, I get:
QUOTE
UpdateText funcion
System.NullReferenceException: Object reference not set to an instance of an object.
at AlarmPanel.Panel.UpdateText(IListRow r, Alarm a)

The properties do get updated in the panel though.
eitaneko
GoMa, thank you for the feedback. I assume that when you set the uptime alarm that you didn't understand why the timer wasn't started? The reason is, that the panel is designed not to start the timer if the uptime has already passed. If you want to know when your comp has been on for 2 days and it has been on for 4, it is pointless to have an alarm for it. It writes its info to the panel, so when you restart, you don't have to create it again from scratch. Would a more detailed message be better?

Yeah, I started getting an UpdateText function error when I Edit alarms as well. I am looking into it. Stay tuned smile.gif
GoMa
I understood what you said about the Uptime panel. A better message is essentially what I was asking for.
QUOTE
Stay tuned smile.gif

I will. biggrin.gif
eitaneko
OK. I put in a better message for the uptime alarm so that if it can't start, it explains why it can't start. I sort of changed the message for the other alarms, but if it can't start for some reason, it isn't b/c the logic won't let it. There would be a problem with timers...

I also think I fixed your editing bug GoMa. I was calling that function twice and I haven't gotten it again.

I also fixed a bug where if you had an alarm snoozed and another playing, disabling the snoozed alarm would crash with .NET error. I think I fixed that too.

I'll post the next beta in a minute.
eitaneko
BETA v4.2a

Fixes Edit bug reported by GoMa
Fixes a MCI bug that I found.
Better messages for timer events.
Clear List and Clear Disabled commands can now be accessed anywhere in the panel.

Please give me feedback!
eitaneko
GoMa, is the bug fixed?

Antu, you wanted to test it out....where are you?
yyy
I didn't have much time to test the latest beta version but I saw it works well. The alert window poped up on time, I heard the alarm until I clicked the the alarm row to snooze it and it run the program I set it to run.

Just a few wrong things I saw:
1. There's an extra separtor at the top of the context menu - I don't think it's needed.
2. After clearing the alarms' list, the panel doesn't auto set its height. You need to use m_panelParent.ArrangePanels() again.

That's it for now. Sorry but I don't use the panel too often rolleyes.gif I have it on my sidebar, though smile.gif

Thanks for a great panel fun_08.gif
eitaneko
Thanks yyy.

1. Yeah, I made a change to the context menu so that you didn't have to click on the counter to access "Clear List" and "Clear Disabled". I'll double check the logic to make sure it only shows up when "Edit" and "Delete" are there.

EDIT: I think I already did that. I prob didn't upload the newest version then. That was the only change. It wasn't worth it.

2. Forgot about that. I use my panel in a stack, so I forgot to test it. I'll add it in. Thanks.
yyy
No problem. I just wondered if you can add options to shut down, restart, log off and swtich user to the panel. It'll be really useful if I could set an alarm to automatically shut down my computer smile.gif
eitaneko
can't you do that using a bat file on your comp, and then set an alarm to run it on trigger?
yyy
Yes, but not everybody knows how to do it. Ok - it's a small feature, not so important rolleyes.gif
GoMa
eitaneko - latest beta fixed the bug.
Good work! smile.gif
eitaneko
Thanks GoMa.
The last thing I am trying to figure out is ActivatePanel and then I think I am set for release. Any ideas?
eitaneko
Version 4.2 released!

Get it at the ExEx!

Please let me know if there are any problems.

*If you downloaded an above beta, get the latest version as it contains your fixes and a couple of last minute bugs I found.

While I am still waiting for antu regarding the overhaul of the skinning of this panel, here are the ideas lingering to be included in the panel for the next release:

Most likely:
1) Default task directory in the properties window
2) AM/PM support
3) Command line arguments for tasks
4) Alarm Classification - i.e. Business, Personal etc (this will be more evident when the skinning of the panel comes along)

Possibly:
1) Translations (this a lot of work, haven't heard demand for it)

Random:
1) Digital clock in the panel (there were requests to merge this with the clock panel, I don't know about this yet)

I will add more as they come in or as I think of them.
eitaneko
Hi everyone,
I know that many of you think that this panel is sufficient for what your needs are. I was hoping that perhaps I could get a little more feedback from all of you. I am working with antu_jamban (the Master Skinner) on reworking completely the look and feel of the panel. If you find something annoying, counter-intuitive, or lacking on the interface and details window of this panel, now is the time to voice it. I am also interested in hearing any feature suggestions you may have. Please give me feedback as I am doing this for all of you.
Thank you,
EitanEKo
eitaneko
I want to personally apologize to everyone who might have been late to any appointments today due to the change in daylight savings time. The panel as it is, does not check for it. I'm looking into a solution, as it didn't go off when I needed it to today. So again, I apologize if there was any inconvenience.
yyy
I don't think the panel should take care of this. If you set it to a certain amount of time you want it to activate the alaram after that time regardless to what time it is. If you set it to alarm in a certain hour, so it should do it according to the system clock which should be automatically or manualy changed anyway. Unless you do it by calculating the time until the chosen hour.
eitaneko
That is the problem. I realized that this morning. It calculates the time till the trigger time, and then goes. The time change had no effect on the alarm.
yyy
Oh, I see. I would just set it to use the Tick fundtion and check the time, then to calculate the time left.
eitaneko
Is there any way for me to program in when Daylight savings time kicks in?
GoMa
I'm not sure I understand your question.
You want to determine when the user changes the clock, or whether DST is in effect where the user lives?
If it's the former, I can't find anything that will fire an event when that happens. I think you will have to continuously check for changes and re-set your timers.
If it's the latter - you could check some Internet source for that I assume.
lawrence
heey I have probeem I get to error if I want him instraleren: (weet someone what I must do??

for Screen!!

http://img69.exs.cx/my.php?loc=img69&image=error2sj.png
yyy
Download and install Micorosft .NET framework from here: http://www.microsoft.com/downloads/details...&displaylang=en and it'll work.
eitaneko
Known bugs:
1) Panel doesn't account for the change in daylight savings time. I have a possible solution, so I will work on this when I get the chance later this week.
2) I've noticed some random problems with the One Time Only alarm. I set two of them (they set correctly), they were enabled, then closed DS for the weekend. When I opened DS after the weekend, one was disabled, and one was set for '06. I'll have to look into it, but if someone could help me figure out what exactly is causing the problem, I would be most grateful.
yyy
I set 2 One-time-only alarms but my computer was mistakenly shut down so I couldn't see the alaram. Today I saw that they are still ON huh.gif You should set the panel to check whether the alarm should already be shown and if yes, set the alarm status to Off.

Another minor bug - when you clear the list, the panel doesn't auto-size itself.
eitaneko
QUOTE(yyy @ Apr 11 2005, 06:12 AM)
I set 2 One-time-only alarms but my computer was mistakenly shut down so I couldn't see the alaram. Today I saw that they are still ON  huh.gif You should set the panel to check whether the alarm should already be shown and if yes, set the alarm status to Off.

Another minor bug - when you clear the list, the panel doesn't auto-size itself.
*



I'm not sure I fully understand the first part of that. The panel checks to see if the alarm should still be set, and if the time already passes, it sets to the following year and remains ON. I just don't know why some shut off and why some went to the next year, even when the time hasn't passed in this year.

As for the other bug - I'm almost positive I put in that fix already. I'll look at it again.
yyy
That's the problem - I think it should delete the alarm instead of settings it to the following year. Maybe you can add an option which will allow the user to determine whether the alarm should be deleted or not.
eitaneko
I think I understand. Tell me if I got this right.
You set an alarm, say for 4/15/2005, or 15.4.2005 for some of you. The alarm is ON and everything is fine. Say you close DS and then open it up on April 16th. You want there to be a box that says: "The date for alarm <title> has passed. Would you like to delete it? Click yes to delete, click no to set for next year." Is that what you are suggesting? It's a good idea if you are.

However, it doesnt' solve my original problem. I don't know why the alarms are taking on the wrong year value. It must be a problem with the load and initialize timer functions.
yyy
Exactly - although I suggest that an option to auto-delete the alarms will be included.
eitaneko
I thought about that, yyy, but there is a problem doing that. If the alarm were to be deleted, it couldn't play any sound files. Once an alarm is deleted, it silences any music it was playing. The only thing I can think of is that an alarm is removed if it is not playing a sound a few seconds after it runs the task and shows it's alert, and when the sound is silenced either automatically or manually.

For the general public - I've started work on 4.3. I've added an option for the initial directory for tasks, so that when you click browse when you set an alarm to run a task, it starts in a directory of your choosing. I'm looking into a few bugs that have crept up, and AM/PM support, and the option to use custom dialogs as alerts. This prevents an alert from automatically going away after a set amount of time. It will just stay on the screen. I'll try not to make it too intrusive.
yyy
I don't want it to do anything after it's deleted. I just think that if the alarm has passed its time so I don't need it anymore and it's logical to delete it, unless the user chooses to set it to alarm sometime else.
Can't you just delete it ? I know I can delete it manually so I don't understand why you can't set the panel to do it huh.gif
eitaneko
You are right. An uptime and one time only alarm are no longer needed after a certain time. I debated having an auto delete function when I was writing the panel and made a list of why yes and why no.
YES - saves the user some work, clears up space in DS automatically, won't confuse people
NO - can't do sounds (as it would silence it almost immediately), makes it easier to edit alarms, can delete them easily (multiple ways)

The only thing I can do now is let it play a sound for a while, then have the panel remove it. Otherwise, the sounds are pointless.
yyy
Ok, it's your decision smile.gif
eitaneko
I appreciate the suggestion. I'll look into it. I may be able to do it now with the new state system I started using. Any time a one time use alarm goes to state off and it is after its trigger time, it will be automatically removed. Does that sound reasonable?
yyy
Great laugh.gif Thanks smile.gif You can also add an option to keep the alarm but I want the panel to delete it.
eitaneko
Here's what I can do, yyy.

This applies only to Timer, Uptime, or One Time Only alarms.
If the alarm doesn't play a sound, but either runs a task or shows an alert, it will do its actions, and then remove itself automatically.
If the alarm plays a sound, it will play the sound, and if it is set to auto-silence, it will be deleted when it is automatically silenced or it will be deleted if it is not set to loop. Otherwise, (i.e. when it loops forever without being silenced by the program), it will not be deleted and will keep playing till the user stops it.
If the user silences an alarm, I think they should have to delete it manually. It would be weird if it got removed from under the cursor. I think that would be confusing. You have your hand on the mouse anyways, so you might as well just right click and hit delete. Perhaps in a future version, I will put a delete button on the panel so you don't have to right click.

What do you think? Will that work for you? Anyone have any suggestions?
yyy
Cool cool.gif That'll be great smile.gif Thanks !
eitaneko
QUOTE(yyy @ Apr 11 2005, 07:12 AM)
Another minor bug - when you clear the list, the panel doesn't auto-size itself.
*



I'm looking at the code for the panel, and I'm seeing that I added the call:
m_panelParent.ArrangePanels()
after clearing all alarms. Are you sure it is not working? Is this the wrong thing to call to auto-size the panel?
yyy
Yes, I'm sure. Just tried it now - it doesn't auto size the panel. There might be many reasons for that:

1. Put a message box when you call m_panelParent.ArrangePanels() to make sure the panel actually gets to that call.

2. Look at the GetFitHeight function - make sure it resizes the panel to the right height.

The weird thing is that after I collapse and expand the panel again, the size is OK.
eitaneko
yyy, I just tried it on mine, and it autofits fine when you select Clear List. What are the steps that you are doing so I can reproduce it?
yyy
I just add an alarm and choose Clear List. I can see the alarm being deleted and the alarm counter being updated, but the panel's height stays the same. That's weird.
eitaneko
I just tried that. It works on my computer. Anyone else have this problem?

You sure you using v4.2? It wasn't fixed in 4.1.
yyy
Oops, sorry rolleyes.gif You're right - I was probably using v. 4.1. I thought I upgraded - the upgrade system works really weird sometimes...

Ok - it works now smile.gif
eitaneko
It's OK. I'm glad it works now. Easiest way to tell is if you had snooze capability. That only comes in v4.2.
yyy
I think I had it with the last version huh.gif Nevermind - at least it works now smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.