Bug 46262 - Integrate KOrganizer / Akonadi into Plasma Panel Clock Calendar
Summary: Integrate KOrganizer / Akonadi into Plasma Panel Clock Calendar
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Unmaintained
Component: widget-clock (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 24298 64837 65372 188247 194034 195017 195344 195469 197923 199995 208205 211393 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-08-08 15:33 UTC by wilbert
Modified: 2011-08-29 11:58 UTC (History)
31 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Proposal for the display of certain day's events by showing category colours (38.38 KB, image/png)
2009-08-06 13:13 UTC, Dotan Cohen
Details
Another proposal, this time 4x4 with anti-aliasing (40.95 KB, image/png)
2009-08-06 13:25 UTC, Dotan Cohen
Details
Plasmoid calendar showing appointments from KOrganizer. (15.01 KB, application/zip)
2010-02-28 13:42 UTC, Jan Alster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wilbert 2002-08-08 15:32:27 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kicker
Version:           KDE 3.0.0 
Severity:          wishlist
Installed from:    Compiled From Sources
Compiler:          Not Specified
OS:                Linux
OS/Compiler notes: Not Specified

It would be nice if the calendar widget popped up when clicking on the panel's clock applet could show information from the default schedule of KOrganizer.

Using a little highlight etc. Leaving the mouse on such dates would display a tooltip with a summary of the appointments of that day right click would open a context menu with actions such as 'open KOrganizer' 'show appointment' etc. while e.g. double clicking might run or raise KOrganizer.

My main point is: a connection between the clock's calendar and KOrganizer would be VERY cool.

(Submitted via bugs.kde.org)
Comment 1 Christian Wolfgang Hujer 2002-11-07 22:35:04 UTC
I also request this feature.
I'd mainly like to see the possibility of adding new entries in my calendar by
using the clock.
Comment 2 Wolfgang Mader 2003-03-17 09:52:58 UTC
This feature would be very cool. I also have missed this thing. 
have a good time 
w mader 
Comment 3 Reinhold Kainhofer 2003-11-07 09:59:14 UTC
*** Bug 65372 has been marked as a duplicate of this bug. ***
Comment 4 Peter Bittner 2004-02-07 20:43:47 UTC
If anyone is interested in an application that is about to integrate KOrganizer, Kalendar and KAddressbook give KickPIM a try:

http://kickpim.sourceforge.net/

Bert Speckels, the author of KickPIM, says in an interview that in his plans of version 1.0 (which might still be far from now, however) is the integration of KOrganizer. (For the German speaking people, here is the article:	 http://www.kde.de/appmonth/2003/kickpim/index-script.php)

We can just hope that one day this may result in an integration in the whole KDE package. Then we will have our wish come true and KOrganizer is tightly integrated into the clock applet.

I personally would not like so much functionality all applied to the clock applet as now does KickPIM. But when KickPIM _can_ exchange data with KOrganizer one day, taking this code and adding it to the clock applet will be a piece of cake, I guess.

Cheers Bert, keep on the good work!
Comment 5 Richard Jonsson 2004-02-18 15:57:06 UTC
I'm also very interested in this highly usable feature. Dates in bold = appointments, hover on one of those shows a tooltip. Click on any date will bring up an add/edit dialog.. would be very nice!
Comment 6 Helge Hielscher 2004-09-02 11:36:12 UTC
see also
bug 24298: Calendar organizer integration with clock
bug 75446: Unified Tray Icon / Functionality for Kontact
Bug 84124: integrate kickpim in kontact
Comment 7 Mikolaj Machowski 2005-08-11 12:29:12 UTC
Wanted to file as new and prepared longer text :)
-------------------------------------------------

make calendar widget of kicker clock korganizer aware

Why?

Usually when someone wants something from me I rarely
have Korganizer in focus. Usually it is on other desktop
in Kontact - with KMail as default. Creating of new event
require:

1 switch to other desktop
2 switch to Korganizer
3 eventually switch to required day
4 choose hours or click New Event button

From discussions in various places I suppose I am not the 
only one with such setup.

How to make it simpler?

Make calendar widget of kicker clock applet Korganizer aware.
I think it is safe bet 100% of users have clock in their kicker.
With one click they can bring calendar widget and with next one on chosen
day they should be  able to bring new event dialog with some preset
hours. With that feature it would be:

1 click clock applet
2 click chosen day
3 adjust hours

Nice bonus would be bolding of busy days in calendar.
Comment 8 step247 2005-09-09 08:59:38 UTC
Please "link" Clock (applet) calendar view to KOrganizer calendar so when i open up the Clock's calendar and I click on some date, the same date in KOrganizer calendar view will be opened. 
And if there is a event in KOrganizer calendar, my Clock's (applet) calendar date is also in marked accordingly.
 
Thanx
Comment 9 Viktor 2006-02-24 23:39:07 UTC
One more vote for this feature. Before I used Gnome, and although I wasn't satisfied with it in general I really loved its evolution integrated clock applet.

Please do it! (I'm not a programmer, but I will write the docs for it. ;) )
Comment 10 Bearcat M. Sandor 2006-09-26 22:02:55 UTC
I used Gnome for a week. After switching back to KDE, i really missed the feature of just clicking on the clock applet to see what i had schedualed for the day instead of having to go to the Summary in Kontact. 

I would love this feature as well
Comment 11 Reinhold Kainhofer 2006-11-02 19:28:56 UTC
Reassigning all KOrganizer bug reports and wishes to the newly created 
korganizer-devel mailing list.
Comment 12 Danas 2008-11-14 16:58:05 UTC
Anything new on that topic since 2006? Any plans for 4.2 or 4.3?
Comment 13 Christophe Marin 2008-11-16 02:53:57 UTC
@Plasma hackers : Please reassign to korganizer if you cannot do anything for this bug.
Comment 14 Christophe Marin 2008-11-16 14:16:07 UTC
*** Bug 64837 has been marked as a duplicate of this bug. ***
Comment 15 Michał D. (Emdek) 2009-01-04 14:10:54 UTC
This would be very useful feature, so we are waiting for someone that could try to do it in free time (maybe using Akonadi, if ready and if it is / will be used for that kind of PIM data).
Comment 16 Christoph Feck 2009-05-28 05:19:33 UTC
*** Bug 188247 has been marked as a duplicate of this bug. ***
Comment 17 Christoph Feck 2009-05-28 05:19:52 UTC
*** Bug 194034 has been marked as a duplicate of this bug. ***
Comment 18 Peter Paulsen 2009-05-28 22:20:16 UTC
Look at gdeskcal. Worked great with korganizer in KDE3 despite that it wasn't able to add durations/end times to appointments. I'd really wish the calendar widget for the plasma desktop had that features: clicking on a date opens the korganizer dialog to add a new appointment, hovering over a date shows a list with the entries of that date.
Comment 19 Christophe Marin 2009-07-04 16:27:24 UTC
*** Bug 195469 has been marked as a duplicate of this bug. ***
Comment 20 FiNeX 2009-07-13 13:28:56 UTC
*** Bug 195344 has been marked as a duplicate of this bug. ***
Comment 21 FiNeX 2009-07-13 13:29:03 UTC
*** Bug 199995 has been marked as a duplicate of this bug. ***
Comment 22 FiNeX 2009-08-04 00:52:17 UTC
This feature could also be extended with bug #197923.
Comment 23 John Layt 2009-08-06 10:01:19 UTC
Some small progress on this in KDE 4.3, with the Plasma calendar now showing Public Holidays from KDEPIM. Futher integration and better usability is planned for 4.4, but two-way integration is best left for when Akonadi is fully implemented.
Comment 24 Dotan Cohen 2009-08-06 10:47:32 UTC
> two-way integration is best left for when Akonadi is fully
> implemented.

Why is that, John? Technical reason? I am in no hurry to see this implemented, but as projects such as Konsolecalendar have no problem reading the std.ics file why should the Clock Plasmoid?
Comment 25 John Layt 2009-08-06 12:26:35 UTC
Laziness mostly, not wanting to implement it once the old way and then again the akonadi way :-)  Pulling in and displaying appointments might not be too much work and could be done for 4.4, but suggestions such as double-clicking on a date to add a new calendar entry sounds a little more complex and not something to do twice.
Comment 26 Dotan Cohen 2009-08-06 13:00:57 UTC
> Laziness mostly, not wanting to implement it once the old way
> and then again the akonadi way :-)

That is perfectly reasonable!


> Pulling in and displaying appointments might not be too
> much work and could be done for 4.4, but suggestions such
> as double-clicking on a date to add a new calendar entry
> sounds a little more complex and not something to do twice.

I think that _showing_ the dates if possible would be great, even if it is unable to add new info. Bonus points if category colours could somehow be incorporated, such as a 2x2 pixel box in days where that is appropriate. I'll post a mockup soon.
Comment 27 Dotan Cohen 2009-08-06 13:13:01 UTC
Created attachment 35911 [details]
Proposal for the display of certain day's events by showing category colours

2x2 looked bad, so here is 3x3. 4x4 is also possible.
Comment 28 Dotan Cohen 2009-08-06 13:25:57 UTC
Created attachment 35914 [details]
Another proposal, this time 4x4 with anti-aliasing
Comment 29 FiNeX 2009-09-07 17:22:41 UTC
*** Bug 24298 has been marked as a duplicate of this bug. ***
Comment 30 Lukas 2009-09-08 01:15:06 UTC
@ Dotan Cohen   

Your idea of displaying calendar events are quite OK when user has many events same day and/or uses calendar daily.

However, for user like me, who has 3-10 events a month, a bigger border (like with holidays) style is more appropriate.


But the best solution would be to have those both style combined. Each calendar could have option to be not displayed in clock's calendar, displayed as important (border), displayed a regular (your way). So my daily events like classes at university from University calendar would be shown as small squares and important events from e.g. Important calendar  still get attention as borders :)
Comment 31 Connel Hooley 2009-11-03 23:36:52 UTC
I would also like to request this feature. It would be great if each day that had an appointment or task had a little mark (like the bottom right hand corner coloured in - like on the symbian calander app) and hovering over a day would display a tooltip showing the details of the appointments for that day. Double clicking could open the day in korganizer and right clicking could give you a context menu allowing you to do things like add appointment or open in korganizer.
Comment 32 John Layt 2010-01-03 14:09:07 UTC
*** Bug 208205 has been marked as a duplicate of this bug. ***
Comment 33 John Layt 2010-01-03 14:11:13 UTC
*** Bug 211393 has been marked as a duplicate of this bug. ***
Comment 34 John Layt 2010-01-03 14:13:54 UTC
From Duplicate 211393:

"I saw a KDE novice user exploring calendar widget (the one you get when you
click on the clock in the 'taskbar') and right-clicking on the dates to see i
he can add events this way (this is the way it is done in my Motorola z6 phone
for example).

I think this is a nice idea. Also this calendar widget could mark the dates
with schedulaed events and so on."

Update bug title to reflect full 2-way integration.
Comment 35 Jan Alster 2010-02-28 13:42:31 UTC
Created attachment 41202 [details]
Plasmoid calendar showing appointments from KOrganizer.

This is a plasmoid calendar that has some of the features requested here. It reads ical file from default location, shows days with appointments in different colour with events summary in a tooltip. Double-click opens KOrganizer on selected day. It is not integrated into the clock (no idea how to do that).
Its written in python and requires PyQt4, PyKDE and icalendar (http://pypi.python.org/pypi/icalendar/1.2) installed. Plasmoid itself can be installed via 'plasmapkg -i plasma_task_calendar'.
Hope it is useful.
Comment 36 Dotan Cohen 2010-02-28 14:49:15 UTC
Nice, Jan. It doesn't look like Fedora or Ubuntu have icalendar available from their native package manager configurations. Maybe the plasmoid should include this package instead of having it as a dependency.
Comment 37 Jeffrey 2010-03-01 16:04:22 UTC
@Jan Alster:
Installed it successfully on Debian Sid (unzipped it and ran your 'plasmapkg -i plasma_task_calendar' one level above the folder), but it doesn't connect to anything, just showing me a red box with a white X.  Is this the icalendar dependency discussed in #36 or something else?  I run Debian Sid.

Also, the [Help] button only tells me, "There is no documentation available for /plasma-desktop/index.html.", so perhaps it should be removed (or given some information)?
Comment 38 Fabio Albieri 2010-03-31 17:53:28 UTC
VERY desiderable feature.
 
btw, I tried the plasmoid in #35 on my kubuntu 10.4 (kde 4.4.2)
red box and white X

plasmoidviewer plasma_task_calendarQInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: Nessun file o directoryQFileSystemWatcher: failed to add paths: /home/mini/.config/ibus/busBus::open: Can not get ibus-daemon's address. IBusInputContext::createInputContext: no connection to ibus-daemon plasmoidviewer(7572)/kdecore (services) KServiceFactory::findServiceByDesktopPath: "" not foundplasmoidviewer(7572)/kdecore (services) KServiceFactory::findServiceByDesktopPath: "" not foundplasmoidviewer(7572)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
Comment 39 John Layt 2010-06-06 18:26:55 UTC
In KDE SC 4.5 the calendar will now display Appointments and Todo's from Akonadi.  These are indicated by a bold day number, and mousing over the day number will display some details in a pop-up.  Thanks to Frederick Gladhorn for the progress so far.

Holidays have also been reworked slightly, with Public Holidays (i.e. days off) still highlighted in red, but other holidays (not a day off) are now highlighted in green.

We hope in SC 4.6 to provide better options for configuring how these are all displayed.
Comment 40 Nick Shaforostoff 2010-06-07 00:14:59 UTC
thanks. i only now hope that akonadi in KDE 4.5 will just work, and will not complain about misconfigured mysql in my [debian] system.
Comment 41 John Layt 2010-07-10 18:05:52 UTC
Update is that while displaying Events is in KDE SC 4.5, because KDEPIM 4.5 has been delayed until it is stable enough there won't actually be any events to display unless you have some compatibility layer installed.  Sorry about that folks, but it will magically come to life when KDEPIM 4.5 is released and installed.
Comment 42 Kai Uwe Broulik 2011-01-04 23:29:20 UTC
Still no luck in 4.6 although I didn‘t test it with the new Akonadi-PIM.
It was also nice to have the clock itself show an icon if there‘s an appointment closing or at the current day.
Comment 43 John Layt 2011-01-18 05:55:48 UTC
This will only work when you have an Akonadi version of KOrganizer installed, which will be kdepim 4.6 when it is released.  Unfortuately kdepim 4.6 is not being released with the rest of the KDE release 4.6 as it is not quite ready, but as soon as i is released it should all start working.
Comment 44 bdbrot 2011-04-20 21:53:05 UTC
I miss this feature, too. To connect/link the plasma-digitalclock/calendar to an other calendar-file (lightning, korganizer, online (yahoo, google e.g.) others, ... ) and see the dates (like currently the holydays) in the top.
Comment 45 John Layt 2011-04-21 10:46:02 UTC
*** Bug 195017 has been marked as a duplicate of this bug. ***
Comment 46 John Layt 2011-05-27 17:07:24 UTC
*** Bug 197923 has been marked as a duplicate of this bug. ***
Comment 47 Kai Uwe Broulik 2011-05-29 23:18:54 UTC
Fixed in 4.7. The clock has a two column layout there and the right one shows upcoming appointments or appointments for a day you’re currently hovering with your mouse :)
Comment 48 Jan Gerrit Marker 2011-08-07 15:06:18 UTC
As comment #47 says the bug is fixed in KDE 4.7.
It ships a version of Kontact (and thus KOrganizer) which uses Akonadi to store the events.

I close the bug therefore. If it should stay open please complain ;-).
Comment 49 Peter Paulsen 2011-08-29 11:58:19 UTC
Can I then finally add appointments through the clock/calendar widget by clicking or rightclicking on a day?