After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 623029 - Work week days not restored on start
Work week days not restored on start
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Calendar
2.30.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
: 650442 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-06-28 10:37 UTC by Milan Crha
Modified: 2011-07-01 15:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
evo patch (555 bytes, patch)
2010-06-28 11:18 UTC, Milan Crha
committed Details | Review

Description Milan Crha 2010-06-28 10:37:39 UTC
Moving here from a downstream bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=606169

Description of problem:
In Evo Preferences, 'Calendar and Tasks', General tab, tick all boxes from Mon
to Sun for 'Work days'. In Evo calendar, click on 'Work week' view, see seven
days (Mon to Sun) showing OK. Close Evo.

Start Evo again, go to calendar view, select 'Work Week' view, only see Mon to
Fri (NO Sat or Sun). Open Evo Preferences, and see that Sat and Sun are still
ticked for workweek view. Untick Sun, see that calendar now changes to show
Mon-Sat (as Sat is still ticked). Re-tick Sun, and calendar changes to show
Mon-Sun.

Note - after ticking all days Mon-Sun in Preferences, gconf-editor
/apps/evolution/calendar/display/working_days = 127 after closing Evo. When Evo
starts again and only shows Mon-Fri in 'Work Week' view,
/apps/evolution/calendar/display/working_days is still 127 (ie. no change)

Version-Release number of selected component (if applicable):
Name       : evolution
Arch       : x86_64
Version    : 2.30.1
Release    : 8.fc13

Name       : evolution-exchange
Arch       : x86_64
Version    : 2.30.1
Release    : 3.fc13

How reproducible:
Always

Actual results:
Only see Mon-Fri.

Expected results:
See Mon-Sun on Evo startup when all day boxes are tick in Evo prefs.
Comment 1 Milan Crha 2010-06-28 11:18:51 UTC
Created attachment 164804 [details] [review]
evo patch

for evolution;

Some recalculation invocation was missing due to not set times on the work week view when the update of shown days was done.
Comment 2 Milan Crha 2010-06-28 11:20:31 UTC
Created commit 8cc61ce in evo master (2.31.4+)
Created commit 5b56778 in evo gnome-2-30 (2.30.3+)
Comment 3 Milan Crha 2011-07-01 15:20:42 UTC
*** Bug 650442 has been marked as a duplicate of this bug. ***