Hotkey bind to put cursor focus on most recent window's filter

Discussion in 'Archived Topics' started by Tyrir Lux, Aug 20, 2018.

Thread Status:
Not open for further replies.
  1. Tyrir Lux

    Tyrir Lux Avatar

    Messages:
    43
    Likes Received:
    34
    Trophy Points:
    8
    Please add an action that can be bound to a user-selected hotkey that puts focus on the most recent window's filter input box. When focus is placed in the filter input box, any text contents that may already exist should be highlighted so that typing anything will overwrite the existing text.

    If there are multiple filter input boxes, the action would put focus onto the most recently used filter box for that window type, and store which filter box was most recently used along with the UI state (e.g. window location, window size, window sorting order, most recently used filter box).

    Usage examples:

    1) Open crafting table
    2) ctrl+f to place focus on filter
    3) Type "rusty" so that all rusty widgets are filtered

    1) Press i to open inventory. There is an existing filter that you no longer want.
    2) ctrl+f to place focus on filter. This highlights the existing text in the filter input box.
    3) Press backspace to empty filter
     
    Last edited: Aug 20, 2018
    Vladamir Begemot, Barugon and Lained like this.
  2. Vladamir Begemot

    Vladamir Begemot Avatar

    Messages:
    6,194
    Likes Received:
    12,076
    Trophy Points:
    153
    Gender:
    Male
    Love it! Although crafting table has two filters so it would have to somehow know which you mean.
     
  3. Tyrir Lux

    Tyrir Lux Avatar

    Messages:
    43
    Likes Received:
    34
    Trophy Points:
    8
    Didn't realize some windows had multiple filters.

    The most straightforward solution that comes to mind is to use the most recently used filter within that window and persist that info with the UI state (e.g. with window locations, sizes, sorting order, last used filter input box, etc).
     
    Vladamir Begemot likes this.
Thread Status:
Not open for further replies.