Re: [calsify] non-CSS-named colors for events

Dilyan Palauzov <Dilyan.Palauzov@aegee.org> Thu, 09 June 2022 18:13 UTC

Return-Path: <Dilyan.Palauzov@aegee.org>
X-Original-To: calsify@ietfa.amsl.com
Delivered-To: calsify@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ACB7BC14CF0E for <calsify@ietfa.amsl.com>; Thu, 9 Jun 2022 11:13:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.107
X-Spam-Level:
X-Spam-Status: No, score=-2.107 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (4096-bit key) header.d=aegee.org
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rfbcSet0f168 for <calsify@ietfa.amsl.com>; Thu, 9 Jun 2022 11:13:39 -0700 (PDT)
Received: from mail.aegee.org (mail.aegee.org [144.76.142.78]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2D0ECC14F739 for <calsify@ietf.org>; Thu, 9 Jun 2022 11:13:37 -0700 (PDT)
Received: from mail.aegee.org (localhost [127.0.0.1]) by mail.aegee.org (8.17.1/8.17.1) with ESMTP id 259IDYVU1319250; Thu, 9 Jun 2022 18:13:34 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aegee.org; s=k4096; t=1654798414; i=dkim+sm-localhost@aegee.org; bh=BArkmr63Y8ODZ2fOjCqxyu/aPxqDh/6hCHpHTJZSYYA=; h=Date:From:To:Cc:Subject:In-Reply-To; b=A1hCyUu7HVkSfqpYk7/qqKp3GmhSc7Pwf9YXnXz0SZXXhng7+rWLuOuSQPpFTmLnH Asa4+/rgBs2l7WDWvW/yOrr8gT3zWxZQ7YYg9q/aK1J5V53P3ktoCkpSiY9jg/wisq F/0hbPs1MPnCzrKjqpPFHflw4yRAakrwOPYpFNC8qAigjY3W4Gxm+2b7wOoQnMOrGP 7CD95o1x/B6+Gus+ywi7RXa/XonhpQjaNyB9jnfMhEbXzGDoIou/Jb8BREjDLgzeuu gO7clyluPDwrxjgFAZzmbyC72SpiHLv094Y0LwfaLNWzq0tb+zah9axXoxdCL2oSyY E3KBO8ZzQt6/28QvJcVtRaoVzDPktLlYVAH7tzygqxDWFPSBbdbkp0jihHKiq3lnzY ha6hxm6mA2sFaHIer3VM98QNpX2Jr31XWVnvJQHR5h8nkhTkzg6I4hKjfJ1daRVpEN iRH2cZAOYEQBfaQAN3zEPFRSZKVv4ESxjOESmuLqrSPBNwqAaW/n0mEB2Ahuu0M2ws fOXrL6rS/mPzkbkfY+54k+KznKxd8Jx8Wt50p/zw0vVWodb+yhfgXmDCm7TVNj6eu1 I5upwfZ1bn7QrHcKssbTJMsQd+5aBdZFNoknxUgrisoaPJweuB3UC4h1CRu9QTbQBy RbsS2HvR+vLk38fTCbezz8EM=
Authentication-Results: mail.aegee.org/259IDYVU1319250; dkim=none
Received: from [87.118.146.153] ([87.118.146.153]) by webmail.aegee.org (Horde Framework) with HTTPS; Thu, 09 Jun 2022 18:13:34 +0000
Date: Thu, 09 Jun 2022 18:13:34 +0000
Message-ID: <20220609181334.Horde.oYOZDWwVGOn_ZnzxR72AVxv@webmail.aegee.org>
From: Dilyan Palauzov <Dilyan.Palauzov@aegee.org>
To: Ricardo Signes <rjbs@semiotic.systems>
Cc: calsify@ietf.org
In-Reply-To: <437e7037-c6d5-47a7-bde6-8fecdf9e636b@www.fastmail.com>
User-Agent: Horde Application Framework 5
Content-Type: text/plain; charset="utf-8"; format="flowed"; DelSp="Yes"
MIME-Version: 1.0
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/calsify/jv2QsVcfgd6SR-B34-X3Aiv90-E>
Subject: Re: [calsify] non-CSS-named colors for events
X-BeenThere: calsify@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Calendaring and Scheduling Standards Simplification <calsify.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/calsify>, <mailto:calsify-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/calsify/>
List-Post: <mailto:calsify@ietf.org>
List-Help: <mailto:calsify-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/calsify>, <mailto:calsify-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Jun 2022 18:13:43 -0000

Hello,

I think erratum 5449 does not make progress, because it introduces a  
backward incompatible change…

> I am not familiar with any existing clients that use the COLOR  
> property, but would be happy to be pointed at some, and at how they  
> may handle this problem.  In the meantime, here are options we have  
> been thinking about:

… which change does not break any known client (CUA).  Or since nobody  
has implemented the property, there is lack of interest on the erratum.

DAVx⁵ (Android) and Evolution (Gnome) do support per event colour.  I  
think in Evolution the users can select any colour, which is then  
casted internally to the closest CSS3-value (as Cyrus IMAP does).

>  2. just put #RRGGBB into COLOR as needed;

In favour.  When I wrote that erratum there were some discussions on  
this list and in that discussions there might be in the archives  
arguments against this form.  I do not remember.  At the end I chose  
for simplicity to include a single way for presenting RGB.


While at RFC7986, it introduces the LANGUAGE parameter and permits  
specifying multiple DESCRIPTION properties, each with a different  
language.  This definition of DESCRIPTION in RFC7986 updates  
https://datatracker.ietf.org/doc/html/rfc5545#section-3.8.1.5, and the  
latter states, that DESCRIPTION can be present only once in VEVENT and  
VTODO and multiple times in VJOURNAL.

Is there any software, which utilizes DESCRIPTION in more than one language?

Greetings
   Дилян

----- Message from Ricardo Signes <rjbs@semiotic.systems> ---------
    Date: Thu, 09 Jun 2022 12:27:55 -0400
    From: Ricardo Signes <rjbs@semiotic.systems>
Subject: [calsify] non-CSS-named colors for events
      To: calsify@ietf.org


> Hello!
>
> tl;dr:  I think the rarely-used COLOR should have a facility for RGB  
> colors, not just named colors.
>
> RFC 7986 <https://datatracker.ietf.org/doc/html/rfc7986> provides  
> the COLOR property  
> <https://datatracker.ietf.org/doc/html/rfc7986#section-5.9> for  
> specifying color on a per-event basis.  It defines the value as a  
> string that must be a named CSS3 color.
>
> Calendar users, unsurprisingly, very often push for more control,  
> and want a full selection of RGB colors.  This is permitted in  
> jsCalendar, where the color  
> <https://datatracker.ietf.org/doc/html/draft-ietf-calext-jscalendar/#section-4.2.11> event property can be a named color *or* an RGB hex value.  At present, there is no means to map a non-CSS-named color from jsCalendar back to  
> iCalendar.
>
> Erratum 5449 <https://www.rfc-editor.org/errata/eid5449> was filed,  
> suggesting that RFC 7986's COLOR property should have allowed for  
> "rgb(r,g,b)" formatted hex colors.  This erratum was not accepted.
>
> We (Fastmail) plan to support RGB color for events using JMAP for  
> Calendars and jsCalendar, and so need to map these values back to  
> iCalendar.  I am not familiar with any existing clients that use the  
> COLOR property, but would be happy to be pointed at some, and at how  
> they may handle this problem.  In the meantime, here are options we  
> have been thinking about:
>
>  1. act like the erratum was accepted and use "rgb(r,g,b)"; maybe  
> somebody else has done the same, but parsing that, especially given  
> the structural commas, is not appealing
>  2. just put #RRGGBB into COLOR as needed; any human would  
> understand what is happening and could adjust accordingly; file a  
> proposed update;  nice and simple, directly maps to jsCalendar
>  3. like the above, but add an attribute to the property:   
> `COLOR;VALUE=HEX:FF0000`
>  4. store weird colors in some experimental property; this is  
> unappealing, as it seems like a bit of a dead end
>  5. store weird colors in CATEGORIES, which Fantastical does, but is  
> otherwise as unappealing as using an experimental property
> --
> rjbs


----- End message from Ricardo Signes <rjbs@semiotic.systems> -----