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 by diver, 7 years ago

Version: R1/alpha3R1/Development

Might be related to hrev44231.

comment:2 by anevilyak, 7 years ago

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 by leavengood, 7 years ago

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 by anevilyak, 7 years ago

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

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

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 by leavengood, 7 years ago

Resolution: fixed
Status: assignedclosed

Fixed in hrev44415.

Note: See TracTickets for help on using tickets.