For some odd reason, the casing of the protocol "titles" (e.g.: the labels on
the top of each protocol) is mixed up; the first one is shown all uppercase
("SMTP"), while others are title-case ("Imaps", "Smtps", etc).
A screenshot might be much clearer, but emails with image/png attachment are
rejected from this list.
I've no idea what could be causing this. IMHO, all uppercase ("SMTP") or all
lowercase ("smtp") are best. "Title Case" can be confusing for things like
"IMAP" where "Imap" looks too much like "lmap" on a sans-serif font (which is
used by GTK by default).
--
Hugo Osvaldo Barrera
This behavior is because it's title-casing it with a few exceptions.
https://git.sr.ht/~martijnbraam/keyring/tree/master/item/himitsu_gtk/window.py#L83
I did not account for imaps vs imap here, mainly there's not really a
spec for this part. The title casing works a lot better with everything
that's not an acronym like the web protocol.
On 10/22/22 01:59, Hugo Osvaldo Barrera wrote:
> For some odd reason, the casing of the protocol "titles" (e.g.: the labels on> the top of each protocol) is mixed up; the first one is shown all uppercase> ("SMTP"), while others are title-case ("Imaps", "Smtps", etc).>> A screenshot might be much clearer, but emails with image/png attachment are> rejected from this list.>> I've no idea what could be causing this. IMHO, all uppercase ("SMTP") or all> lowercase ("smtp") are best. "Title Case" can be confusing for things like> "IMAP" where "Imap" looks too much like "lmap" on a sans-serif font (which is> used by GTK by default).>
[PATCH] Fix inconsistent case in title for some protocols