From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 6B98499ED8 for ; Wed, 11 Oct 2023 17:20:58 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 551E9AF8F for ; Wed, 11 Oct 2023 17:20:58 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (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 firstgate.proxmox.com (Proxmox) with ESMTPS for ; Wed, 11 Oct 2023 17:20:56 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 9F1DA44A14 for ; Wed, 11 Oct 2023 17:20:56 +0200 (CEST) Message-ID: <6d373ac3-4064-0e7f-1190-8ecb6324cc60@proxmox.com> Date: Wed, 11 Oct 2023 17:20:55 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Content-Language: en-US To: Thomas Lamprecht , Christoph Heiss Cc: Proxmox VE development discussion References: <20230804102646.34999-1-f.schauer@proxmox.com> <20230804102646.34999-2-f.schauer@proxmox.com> <2730c950-b0d7-45dc-af83-80ff808da9b7@proxmox.com> <4e4c00c7-5412-4bec-9952-8497f609b71d@proxmox.com> <841632e7-f011-9bb9-f29f-60761e02699d@proxmox.com> <6cfe1ce5-42e9-4965-ab61-e10315062107@proxmox.com> From: Filip Schauer In-Reply-To: <6cfe1ce5-42e9-4965-ab61-e10315062107@proxmox.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 1.558 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment NICE_REPLY_A -3.339 Looks like a legit reply (A) SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: Re: [pve-devel] [PATCH installer 1/1] fix #4869: Show state in management interface ComboBox X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2023 15:20:58 -0000 On 11/10/2023 12:58, Thomas Lamprecht wrote: > Am 11/10/2023 um 11:54 schrieb Filip Schauer: >> The green circle is not displayed correctly by the PVE installer as it >> does not have the corresponding emoji font package. However, the >> suggested circles for DOWN are rendered correctly. > The options I see (on top of that): > > - we could just install a font package that ships it, e.g., the > fonts-noto-color-emoji one, I mean 10.8 MB isn't negligible, but > neither _that_ big.. > > - Use ◯ for down and ⬤ for up, and color them via CSS, or > whatever is the easiest here for GTK combobox entries. Installing the font package for a single symbol seems a bit excessive. However, changing the color of individual characters turns out to be impossible with combo boxes. At least I haven't found a way to do this with Gtk's limited CSS functionality, nor with override_color or a custom cell renderer. That leaves us with the font package. > >> Alternatively we could use an arrow pointing either ⬆ (UP) or ⬇ (DOWN). >> >> https://unicode-explorer.com/c/2B06 >> https://unicode-explorer.com/c/2B07 >> >> These arrows are also displayed correctly by the PVE installer. > I cannot 100% pin it down, but I do not really like arrows for > conveying that information even though the map to up/down directly, > but arrows are normally used for rather different things in UI > context (e.g., sorting, or resize handles), so IMO to overloaded > already.