Opened 7 years ago

Closed 7 years ago

#8775 closed bug (fixed)

[Team Monitor] Team Monitor keeps setting the focus to listview

Reported by: x-ist Owned by: leavengood
Priority: normal Milestone: R1
Component: Servers/input_server Version: R1/Development
Keywords: Team Monitor Cc:
Blocked By: Blocking:
Has a Patch: no Platform: x86

Description

  1. Launch Team Monitor.
  2. Try to navigate to other buttons using TAB key (without mouse).
  3. Focus is reset to listview every second.

Probably a consequence of regular list update.

Change History (6)

comment:1 Changed 7 years ago by diver

Version: R1/alpha3R1/Development

Might be related to hrev44231.

comment:2 Changed 7 years ago by anevilyak

Owner: changed from korli to leavengood
Status: newassigned

That is indeed the culprit, it's setting focus on every list update, not just initial show.

comment:3 Changed 7 years ago by leavengood

As I recall I did that so that it would always focus the list when shown, because with other solutions I had noticed it wasn't doing that. I'll try to find another solution that doesn't cause the bad behavior in this bug.

comment:4 Changed 7 years ago by anevilyak

Why not do so at the end of ::Show() ?

comment:5 in reply to:  4 Changed 7 years ago by leavengood

Replying to anevilyak:

Why not do so at the end of ::Show() ?

There is no Show(), but I can add it. I guess I was just lazy or didn't think of adding a Show() method to fix what seemed like a simple bug. Stupid unintended consequences ;)

comment:6 Changed 7 years ago by leavengood

Resolution: fixed
Status: assignedclosed

Fixed in hrev44415.

Note: See TracTickets for help on using tickets.