maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Calendar Home Widget replacement (https://talk.maemo.org/showthread.php?t=55018)

Fayez 2010-06-21 04:27

Re: Calendar Home Widget replacement
 
Quote:

Originally Posted by Manul (Post 722863)
I just noticed that the widget does not list the present day's birthdays, don't know whether that also applies to other whole day events. Is that a bug or a design decision?

I just noticed this myself too. I think the bug may stem from the fact that my birthday entries are populated into the second ("pink") calendar by Hermes. Almost forgot to wish a friend of mine Happy Birthday today (good thing I still have the original calendar widget on a second screen as a backup!)

gasper_k 2010-06-21 07:41

Re: Calendar Home Widget replacement
 
Quote:

Originally Posted by nicolai (Post 717624)
I don't use any sync application
and don't know how this work, but if the software changes the
calendar db directly my widget cannot recognize these changes.
Now you can manually update the widget by tapping the weekday
name (long 1 second tap).
The manual update is a bit tricky. If you tap on the widget and
the duration is to short, it opens the calendar ui. If it is to
long hildon-home enters the edit mode.

Would it be possible to check the events in regular intervals? You could rebuild the list of events, and if something is different, you can refresh the display. This would world event if the sync software would change the calendar DB directly. Although I think at least Erminig is using the calendar API to change the events.

Thanks again for the update, the separator is very useful.

lemmyslender 2010-06-21 13:27

Re: Calendar Home Widget replacement
 
There are several other widgets that update when the desktop is switched to or when the screen is activated.

Perhaps code from one of these could be re-used to trigger the update?

(Desktop Command Execution Widget, Queen Bee Con, etc)

systemcrash 2010-06-22 08:14

Re: Calendar Home Widget replacement
 
Quote:

Originally Posted by nicolai (Post 717624)
I just updated the calendar widget in extras-devel.

Thanks Nicolai. This is an excellent job you are doing.

DaSilva 2010-06-24 22:17

Re: Calendar Home Widget replacement
 
Is it possible to update cal-home-widget with cli command?
I still miss the auto update feature after synchronisation from the original widget but everything else is so much better here ;)

nicolai 2010-06-24 23:53

Re: Calendar Home Widget replacement
 
1 Attachment(s)
New Version 0.8 with two new options:

DaSilva 2010-06-25 07:26

Re: Calendar Home Widget replacement
 
So this is now the same behaviour as the default widget!?
Great!

euanandrews 2010-06-25 08:41

Re: Calendar Home Widget replacement
 
Is it just me or is this widget buggy?

It was working fine, but somewhere along the line after one of the updates, I noticed it is now displaying incorrect events...

1) Displaying a birthday tomorrow as today
ie. June 26th, 1963 (tomorrow)
Does this widget use a particular time zone? maybe that could be throwing it out?

2) The age of tomorrows person is incorrect
ie. June 26th, 1963 should = 47 but is showing 40
(only tomorrows persons age is incorrect, rest are fine)

Ideas?

euanandrews 2010-06-25 08:59

Re: Calendar Home Widget replacement
 
Nope....timezone my fault....1) my own fault....

Trying to figure out 2) though.....age still wrong....

euanandrews 2010-06-25 09:10

Re: Calendar Home Widget replacement
 
Ahhhh.......for some reason, the age is only going up to a maximum age of 40......any person older than 40 is displayed as 40......how do I fix this?

Ahhhhhhhhh......the default calender has a date limit of 1970......hence that affects the age showen in the desktop widget......can this be overcome?

nicolai 2010-06-25 09:13

Re: Calendar Home Widget replacement
 
Quote:

Originally Posted by euanandrews (Post 728639)
2) The age of tomorrows person is incorrect
ie. June 26th, 1963 should = 47 but is showing 40
(only tomorrows persons age is incorrect, rest are fine)

Ideas?

Confirmed. For all Persons older as 40 the displayed age
is wrong. Funny.

nicolai

euanandrews 2010-06-25 09:15

Re: Calendar Home Widget replacement
 
I found reason......default calender has date limit of Jan 1970....which affects the widget ages....

Can we overcome this?

nicolai 2010-06-25 09:24

Re: Calendar Home Widget replacement
 
Quote:

Originally Posted by euanandrews (Post 728689)
I found reason......default calender has date limit of Jan 1970....which affects the widget ages....

Can we overcome this?

Argh!

Yes you are right. Don't know what I can do. That makes this
feature pretty useless.

nicolai

euanandrews 2010-06-25 09:28

Re: Calendar Home Widget replacement
 
I know more work...but are you able to code so your app does the math, calculates the age, rather than using the calender?

infected69 2010-06-25 09:47

Re: Calendar Home Widget replacement
 
hmm my mom is from 1954 but the calendar says that shes turning 40 and not 56

EDIT:

oh sorry i guess its because of the 1970 limit

nicolai 2010-06-25 14:41

Re: Calendar Home Widget replacement
 
Ha!

The real year of birth is stored in the calendardb :-)
But not as "DateStart" attribute, instead of that there is
a "Status" attribute with the year of birth.

New Version 0.9, shows now the correct persons age.

regards

Nicolai

DaSilva 2010-06-25 21:11

Re: Calendar Home Widget replacement
 
Thanks for the update, works great!

Is it possible to add a feature like "Show always the next birthday(s) X days in advance" which shows the birthday(s) at the bottom X (X = 1-14) days in advance even if there are more appointments before the birthday? Would be nice to use as a backup ;)

euanandrews 2010-06-26 02:34

Re: Calendar Home Widget replacement
 
Quote:

Originally Posted by nicolai (Post 729045)
Ha!

The real year of birth is stored in the calendardb :-)
But not as "DateStart" attribute, instead of that there is
a "Status" attribute with the year of birth.

New Version 0.9, shows now the correct persons age.

regards

Nicolai

Congrats
Excellent work, many thanks

mssusa 2010-06-26 11:32

Re: Calendar Home Widget replacement
 
Great work Nicolai in the recent updates.

I think there is something wrong with the calendar. Twice now I feel that it changes the time (only time, not date) for events I set. I am doubting myself and can't be sure if it is my own mistake :confused:

It might be because there's an alarm for these events. Or it happens when there are two consecutive events with alarms. I don't know.

I'll try to replicate this and if I manage to do so I'll post here. Otherwise, it must be my own fault :p

systemcrash 2010-06-28 08:50

Re: Calendar Home Widget replacement
 
I've noticed a really minor problem with version 0.9 (which is really good. Thanks Nicolai). I use the Spanish localization, so it could just be a translation problem.

During an event (let's say 10:30 for an event from 10:00 to 11:00), the event is still showing but it's starting time is replaced by the word "Hoy" (Today) while I guess should be "Ahora" (Now).

Do other people, in other languages, see the same?

DreamLand 2010-06-30 01:06

Re: Calendar Home Widget replacement
 
Great work!! Just one request, could you please make Month name as same Font size and color as Day name?
Also, why to remove past event if user don't Dismiss the reminder. Sometime the appointment gets postponed for 15 min or 30 minutes, I just hit the snooze button. I keep getting reminders but that appointment is no longer visible in the widget. Does it make sense to keep appointments in widget until user hits "Stop" button on Alarm screen or until Alarm is active?

Berserk 2010-06-30 02:14

Re: Calendar Home Widget replacement
 
Hey Nicolai,

Thanks for the 0.9 update I really like the 'Show age' feature!
However, I did notice that the 'Update when switch to the desktop' function slowed the phone down quite a bit..
Maybe it checks too often?

Great work in any case :)

nicolai 2010-06-30 07:39

Re: Calendar Home Widget replacement
 
Quote:

Originally Posted by systemcrash (Post 732322)
I've noticed a really minor problem with version 0.9 (which is really good. Thanks Nicolai). I use the Spanish localization, so it could just be a translation problem.

During an event (let's say 10:30 for an event from 10:00 to 11:00), the event is still showing but it's starting time is replaced by the word "Hoy" (Today) while I guess should be "Ahora" (Now).

Do other people, in other languages, see the same?

It is not a translation bug. I use the same word (today) for both.
I have never considered to distinguish those cases. Good idea.

Quote:

Originally Posted by mssusa (Post 730050)
I think there is something wrong with the calendar. Twice now I feel that it changes the time (only time, not date) for events I set. I am doubting myself and can't be sure if it is my own mistake :confused:

I hope it is your fault ;-)
I will take a look, but as far as I know, my widget does not change
any events in the calendar. Just shows them. Do you mean
it changes the time of the events, as they are in the calendar
application. Or are they just wrongly displayed.

Quote:

Originally Posted by DreamLand (Post 734837)
Great work!! Just one request, could you please make Month name as same Font size and color as Day name?

No, I like it how it looks :-)

Quote:

Originally Posted by DreamLand (Post 734837)
Also, why to remove past event if user don't Dismiss the reminder. Sometime the appointment gets postponed for 15 min or 30 minutes, I just hit the snooze button. I keep getting reminders but that appointment is no longer visible in the widget. Does it make sense to keep appointments in widget until user hits "Stop" button on Alarm screen or until Alarm is active?

I think this information isn't saved in the calendar database.
So, my calendar widget can not know which appointments are
dissmissed.

Quote:

Originally Posted by Berserk (Post 734864)
However, I did notice that the 'Update when switch to the desktop' function slowed the phone down quite a bit..
Maybe it checks too often?

I will take a look. But this feature should be necessary only if you
use some apps which updates the calendar db in the background,
without using the calendar-backend.
Otherwise the event-list should be always uptodate automatically.
(It listens on signals for the calendar dbchange and updates
accordingly) You don't need this option, as long as you don't have a sync-app.

Thank you all for your feedback.

nicolai

systemcrash 2010-06-30 08:24

Re: Calendar Home Widget replacement
 
Quote:

Originally Posted by mssusa (Post 730050)
I think there is something wrong with the calendar. Twice now I feel that it changes the time (only time, not date) for events I set.

Did you change your time zone in the meantime? If this is your case, read on.

It happened to me that I entered some meetings being in a time-zone and then traveled to another time-zone. In the new time-zone all the meetings had their time updated so that it happened at the same moment they where initially planned (as if they where actually stored in GMT in the db). I don't know if this is a bug or a feature of the calendar, but at that time I was not using this widget (which makes it non-guilty :) ).

DaSilva 2010-06-30 09:09

Re: Calendar Home Widget replacement
 
Quote:

Originally Posted by DaSilva (Post 729519)
Thanks for the update, works great!

Is it possible to add a feature like "Show always the next birthday(s) X days in advance" which shows the birthday(s) at the bottom X (X = 1-14) days in advance even if there are more appointments before the birthday? Would be nice to use as a backup ;)

And what do you think about this?

nicolai 2010-06-30 09:29

Re: Calendar Home Widget replacement
 
You can put more than one widget on your desktop.
For example, I have one widgets for events from the default calendar
and a second one for birthday events.

regards
nicolai

DaSilva 2010-06-30 09:34

Re: Calendar Home Widget replacement
 
Ah, okay.
But I don't have enough space for that so an option like that would be nice.

topscrote 2010-06-30 11:33

Re: Calendar Home Widget replacement
 
Hi Nicolai,

Do you think it would be possible to link a contact to an event? Imagine you're in the event (checking or changing) and want to call the person. A link to the contact might be useful and certainly save a few touches.

Otherwise, great additions to the current calendar!

Jezz

mssusa 2010-06-30 17:38

Re: Calendar Home Widget replacement
 
Quote:

Originally Posted by nicolai (Post 735036)
I hope it is your fault ;-)
I will take a look, but as far as I know, my widget does not change any events in the calendar. Just shows them. Do you mean it changes the time of the events, as they are in the calendar application. Or are they just wrongly displayed.

It must be my own fault as I tried to replicate it but couldn't. Anyway, I started writing the event time inside the event text just to catch this and make sure I am not crazy :D

Quote:

Originally Posted by systemcrash (Post 735071)
Did you change your time zone in the meantime? If this is your case, read on.

It happened to me that I entered some meetings being in a time-zone and then traveled to another time-zone. In the new time-zone all the meetings had their time updated so that it happened at the same moment they where initially planned (as if they where actually stored in GMT in the db). I don't know if this is a bug or a feature of the calendar, but at that time I was not using this widget (which makes it non-guilty :) ).

I might have played with the time zone or regional settings. I am not sure. I'll try and create an event then go and play with the regional settings again. I'll report the outcome here.

EDIT: Systemcrash, it appears that you are right. I changed the time zone and the event time changed. I now kind of remember that I once found my phone in the pacific timezone and changed it to my time zone (GMT+1) which changed times dramatically. The weird thing is that it did not change the times for events that have no alarms! (or were those the events I synchronized from my E90 when I moved to the N900? I am not sure).

NB. Nicolai, when I changed the time zone the first time the widget disappeared. I rebooted the phone but it did not appear again so I had to add it. I changed the the time zone twice after that but it did not disappear. Any ideas?

DreamLand 2010-06-30 21:56

Re: Calendar Home Widget replacement
 
Thanks Nicolai fo rprompt response:: "No, I like it how it looks :-)"
I just thought that month name in small letters with blue color might not stand out well as it would in white color!! Mainly because of the blue desktop background.
But many thanks for this great widget.

euanandrews 2010-07-01 05:15

Re: Calendar Home Widget replacement
 
Nicolai

Love the widget so far...

Ya done events....could you now include tasks as well?

If ya did so...ya could get real flash and maybe include little check boxes within the widget, which ya can check when the task is complete, which once checked the task then disapeers/deletes from the calender....just like it does in the calender.

Thoughts?

skalogre 2010-07-01 05:22

Re: Calendar Home Widget replacement
 
Quote:

Originally Posted by euanandrews (Post 736603)
Nicolai

Love the widget so far...

Ya done events....could you now include tasks as well?

If ya did so...ya could get real flash and maybe include little check boxes within the widget, which ya can check when the task is complete, which once checked the task then disapeers/deletes from the calender....just like it does in the calender.

Thoughts?

Has already been covered in this thread.

http://talk.maemo.org/showpost.php?p...&postcount=132

euanandrews 2010-07-01 06:12

Re: Calendar Home Widget replacement
 
Quote:

Originally Posted by nicolai (Post 705533)
Yes, it seems tasks are a popular demand.
But I find it difficult to integrate those in this
view. They are somehow different to ordinary events.
And I don't like this small task summary line in the built-in widget.

I would prefer an extra tasks widget.

nicolai

Willing to reconsider?

Being able to view tasks...and even 'check' them all from within your widget, would be the bees knees

pillar 2010-07-07 16:39

Re: Calendar Home Widget replacement
 
I also think that having tasks in the same widget would be very nice. However, I don't think the checkbox thing is useful (so small) and necessary. Just my opinion. Keep up the good work!

oved_etzot 2010-07-29 10:27

Re: Calendar Home Widget replacement
 
Quote:

Originally Posted by nicolai (Post 728685)
Confirmed. For all Persons older as 40 the displayed age
is wrong. Funny.

nicolai

Nicolai, I just turned 40 a while back. Can you make me a personal widget that I stay 40? :D

nicolai 2010-07-29 11:28

Re: Calendar Home Widget replacement
 
I should have call it a feature, not a bug :-)

GrimmReaperNL 2010-08-01 06:10

Re: Calendar Home Widget replacement
 
i'm currently using the widget and have a question about it.

it shows the name of the month on the right but it's too far down to look right with the current widgetbackground.

is that just for me? anyway I or you could fix that?

nicolai 2010-08-01 12:52

Re: Calendar Home Widget replacement
 
It is a bit lower than the week day name.
That was intentionally. Or do you me it isn't
readable? Can you post a screenshot?

Nicolai

WRomey 2010-08-01 17:42

Re: Calendar Home Widget replacement
 
Is there a way to see my calendar on a (linux-)pc or to run it on a (linux-)pc. I am looking for a way to see my n900 calendar on my pc if my n900 gets stuck.

GrimmReaperNL 2010-08-02 01:25

Re: Calendar Home Widget replacement
 
1 Attachment(s)
Quote:

Originally Posted by nicolai (Post 772081)
It is a bit lower than the week day name.
That was intentionally. Or do you me it isn't
readable? Can you post a screenshot?

Nicolai

here's a screenshot


All times are GMT. The time now is 20:35.

vBulletin® Version 3.8.8