Changing Days Off setting doesn't change colors in calendar

VERIFIED FIXED

Status

Calendar
Sunbird Only
VERIFIED FIXED
14 years ago
11 years ago

People

(Reporter: igor_khanin, Assigned: Mostafa Hosseini)

Tracking

Sunbird 0.2
x86
Windows XP

Details

Attachments

(1 attachment)

(Reporter)

Description

14 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a5) Gecko/20050111 Mozilla Sunbird/0.2RC2

After changing the setting "Day(s) Off Each Week" in Sunbird's options dialog,
the  yellow-ish background color stays in the original days-off (Saturday and
Sunday) and doesn't move to the selected days.

Reproducible: Always

Steps to Reproduce:
1. Go to Tools->Options->Views
2. In General, change the checkboxes to designate other days
3. Confirm

Actual Results:  
Saturday's and Sunday's background stay yellow-ish, and the newly selected days'
backroumd doesn't turn yellow-ish (That is, nothing changed).

Expected Results:  
Remove the background color from the previous days-off and move it to the new
days-off.

Updated

14 years ago
Status: UNCONFIRMED → NEW
Ever confirmed: true
Version: unspecified → Sunbird 0.2RC2

Comment 1

14 years ago
Created attachment 172051 [details] [diff] [review]
monthView, mutliweekView, weekView patch to use isDayOff to mark weekend days

(patch -l -p 2 -i file.patch)

monthView, multiweekView: 
o Always find preferred days off
o Use them to determine which day boxes to mark as weekend days.

weekView: 
o Always find preferred days off
o Use them to determine which day columns to mark as weekend days.

*/calendar.css
o Add css for week view column background
o Remove week view hour background
o Make background color slightly darker (#FFF9EF -> #FFF9E7)
  as original color appears white on some (LCD) screens.

Tested on 0.2 build for now, can test on nightly trunk build after it becomes
available.
Attachment #172051 - Flags: first-review?(pavlov)

Updated

13 years ago
Attachment #172051 - Flags: first-review?(pavlov) → first-review+
patch checked in (plus some whitespace changes)
Status: NEW → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → FIXED
The bugspam monkeys have been set free and are feeding on Calendar :: Sunbird Only. Be afraid for your sanity!
QA Contact: gurganbl → sunbird

Updated

11 years ago
Status: RESOLVED → VERIFIED
Version: Sunbird 0.2RC2 → Sunbird 0.2
You need to log in before you can comment on or make changes to this bug.