Ticket #3161 (closed defect: fixed)
Faulty color when "Find file" finishes
Reported by: | egmont | Owned by: | |
---|---|---|---|
Priority: | trivial | Milestone: | 4.8.16 |
Component: | mc-core | Version: | 4.8.11 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | #3569 | |
Branch state: | merged | Votes for changeset: | committed-master |
Description
Start a "Find file" operation. The first match is blue on cyan, this is the color for the selected entry of focused listboxes.
Press Tab to move the focus to one of the bottom buttons. The selected file becomes black on cyan, which is the color for the selected entry on unfocused listbox.
Wait for the "find file" operation to finish. The selected file is repainted with blue on cyan, even though the listbox is not focused. It should remain black on cyan.
Attachments
Change History
comment:4 Changed 9 years ago by andrew_b
- Status changed from new to closed
- Resolution set to fixed
- Votes for changeset set to committed-master
- Component changed from mc-skin to mc-core
- Branch state changed from no branch to merged
Applied in #3569 as [47590152fa6ee282ced93026d2caf93272960bb7].
Note: See
TracTickets for help on using
tickets.
when match added to find_list a WListbox object
widget_redraw() -> MSG_DRAW -> listbox_draw (l, msg != MSG_UNFOCUS)
is triggered
Currently a listbox widget will always focused on a MSG_DRAW event
to fix this flaw listbox object need a internal flag to remember focus/unfocus status
on an MSG_DRAW event it call draw correctly