Resolve "GtkFileChooser: Unfocused location entry keeps selection, with same colour as focused"

GTK3 version: !352

We don't differentiate between foreground and backdropped selections, which confuses/infuriates users, particularly in the FileChooser entry. There's no design desire to introduce that differentiation in the theme. The preferred fix is instead to clear the selection on focussing out.

This patch does that by changing the existing code that clears the selection when the state changes and the widget is no longer :sensitive to instead clear the selection if it's not the focus within its toplevel

#665 (comment 110313)

Closes #665 (closed)

Edited by Daniel Boles

Merge request reports