Closed Bug 1691837 Opened 3 years ago Closed 3 years ago

Google provides calendar colours that can't be displayed by the colour picker

Categories

(Calendar :: General, defect)

defect

Tracking

(thunderbird_esr78 unaffected, thunderbird86 wontfix)

RESOLVED FIXED
87 Branch
Tracking Status
thunderbird_esr78 --- unaffected
thunderbird86 --- wontfix

People

(Reporter: darktrojan, Assigned: darktrojan)

Details

Attachments

(1 file)

Adding Google calendars through the CalDAV auto-config sets colours as 8-hex-character strings (ie. #123456FF) but the colour picker can only handle 6-hex-character strings. The alpha components are pointless anyway (probably always FF and if not, should be), so I'm going to strip them.

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/f1b35459bcce
When assigning colours to a calendar, strip the alpha component. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/8fabe4384b84
follow-up - Handle calendars with no colour set. rs=bustage-fix DONTBUILD
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/5e7a249d27c5
follow-up 2 - Handle more calendars with no colour set. rs=me
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: