Skip to content

closing location selector should focus the view

I usually don't have the location selector visible. (to hide it select the current location selector in menu: View->Location Selector ).
menu

There are however an action, Open Location (default Ctrl+L) that will bring up the location selector with the current directory selected.

thunar-standard-view.c also listens for keypress:
https://gitlab.xfce.org/xfce/thunar/-/blob/master/thunar/thunar-standard-view.c#L703

and opens the location bar if ~ or / is pressed (the reasoning for this is to override look-ahead auto search):
https://gitlab.xfce.org/xfce/thunar/-/blob/master/thunar/thunar-standard-view.c#L2381

Now to the issue, if I have the location bar hidden, and toggle it with one of the methods described above. (below i pressed slash):
slashpress

then press esc , the location selector is hidden. Which is all good and expected, BUT, the focus is not brought back to the view. Also in list view, when this happens (closing the location bar with escape) i get a glitchy graphical artifact at the bottom of the window.

escpress

Edited by Ghost User