Bug 294300

Summary: Calendar widget placed in the panel does not refresh on day change
Product: [Plasma] plasma4 Reporter: Georgios Varisteas <yorgos.v>
Component: widget-clockAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: adaptee, annma
Priority: NOR    
Version: 4.8.80 (beta1)   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Georgios Varisteas 2012-02-17 11:16:19 UTC
Version:           unspecified (using KDE 4.8.0) 
OS:                Linux

When the calendar widget is placed on a panel it shows the current day. It never refreshes when the day changes.


Reproducible: Always

Steps to Reproduce:
Just add it and wait

Actual Results:  
Nothing happens

Expected Results:  
At some point should change the day number shown.

When clicked, the pop up calendar shows current day selected with blue and the shown day selected with gray.

It is my opinion that the shown day should be the current day and allow for the user to select some other day too, displayed some other way.
Comment 1 Anne-Marie Mahfouf 2012-06-06 06:23:28 UTC
The calendar icon in the panel does not update to the next day and thus is useless. Confirmed on 4.8.80.
Looking at the code, I can't find where the error is. The date is called from Plasma::Calendar::date() which gets it from CalendarTable::date().

When the QTimer in CalendarApplet::updateDate() gets the date, the date is not refreshed somehow.  I am not familiar with all this code and I am afraid I am stuck here to fix this...
Comment 2 Anne-Marie Mahfouf 2012-06-06 19:24:16 UTC
Duplicate of 236874

*** This bug has been marked as a duplicate of bug 236874 ***