Re: [Midnight Commander] #3160: Dialog hotfocus color misused in listbox

1 view
Skip to first unread message

Ticket System

unread,
Aug 29, 2021, 9:59:27 AM8/29/21
to egm...@gmail.com, mc-...@googlegroups.com
#3160: Dialog hotfocus color misused in listbox
--------------------------+---------------------------------------
Reporter: egmont | Owner:
Type: defect | Status: new
Priority: minor | Milestone: Future Releases
Component: mc-skin | Version: 4.8.11
Resolution: | Keywords:
Blocked By: | Blocking: 3169
Branch state: no branch | Votes for changeset:
--------------------------+---------------------------------------

Comment (by andrew_b):

Ticket #4274 has been marked as a duplicate of this ticket.

--
Ticket URL: <http://www.midnight-commander.org/ticket/3160#comment:5>
Midnight Commander <https://midnight-commander.org>
Midnight Development Center

Ticket System

unread,
Feb 16, 2023, 1:04:06 AM2/16/23
to egm...@gmail.com, mc-...@googlegroups.com
#3160: Dialog hotfocus color misused in listbox
--------------------------+---------------------------------------
Reporter: egmont | Owner:
Type: defect | Status: new
Priority: minor | Milestone: Future Releases
Component: mc-skin | Version: 4.8.11
Resolution: | Keywords:
Blocked By: | Blocking: 3169
Branch state: no branch | Votes for changeset:
--------------------------+---------------------------------------

Comment (by proski):

`dhotfocus` is for the hotkey, a single letter that should stand out in a
label. It is also supposed to be readable, but readability of the
remaining text is more important than readability of a single letter.
Using `dhotfocus` for whole lines of text is bad for readability, it turns
the whole text into a hotkey. It also confuses and limits theme authors,
who have to choose a color that won't look too bad in listboxes.

In particular, I changed the julia256 theme to show hotkeys in red (both
focused and unfocused), which was a nice improvement. I have to deal with
whole likes in red on cyan in search results. It's readable, but it's not
an improvement at all. I'm even considering another patch to make focused
hotkeys black (essentially hiding them while focused) to have better
looking listboxes.

--
Ticket URL: <http://www.midnight-commander.org/ticket/3160#comment:6>

Reply all
Reply to author
Forward
0 new messages