public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Filip Schauer <f.schauer@proxmox.com>
To: Thomas Lamprecht <t.lamprecht@proxmox.com>,
	Christoph Heiss <c.heiss@proxmox.com>
Cc: Proxmox VE development discussion <pve-devel@lists.proxmox.com>
Subject: Re: [pve-devel] [PATCH installer 1/1] fix #4869: Show state in management interface ComboBox
Date: Thu, 12 Oct 2023 15:04:11 +0200	[thread overview]
Message-ID: <a52d50f3-dcc2-2cd9-29f0-3a1344db9d2f@proxmox.com> (raw)
In-Reply-To: <6d373ac3-4064-0e7f-1190-8ecb6324cc60@proxmox.com>

patch v2 available:
https://lists.proxmox.com/pipermail/pve-devel/2023-October/059450.html

On 11/10/2023 17:20, Filip Schauer wrote:
>
> 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.
>
>
> _______________________________________________
> pve-devel mailing list
> pve-devel@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel




      reply	other threads:[~2023-10-12 13:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-04 10:26 [pve-devel] [PATCH installer 0/1] " Filip Schauer
2023-08-04 10:26 ` [pve-devel] [PATCH installer 1/1] " Filip Schauer
2023-10-10 11:33   ` Christoph Heiss
2023-10-10 11:55     ` Thomas Lamprecht
2023-10-10 12:56       ` Christoph Heiss
2023-10-10 13:13         ` Thomas Lamprecht
2023-10-11  9:54           ` Filip Schauer
2023-10-11 10:58             ` Thomas Lamprecht
2023-10-11 15:20               ` Filip Schauer
2023-10-12 13:04                 ` Filip Schauer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a52d50f3-dcc2-2cd9-29f0-3a1344db9d2f@proxmox.com \
    --to=f.schauer@proxmox.com \
    --cc=c.heiss@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    --cc=t.lamprecht@proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal