I think I found a way to reliably reproduce the issue:
- open a Thunar window,
- without starting a search switch to some other window via alt+tab,
- switch back to Thunar and start a search via typing.
I so far had no success tracking down the exact cause of the issue in the current patch to #14994.
But maybe the following helps: As I was not aware of how exo-icon-view is used in applications other than Thunar the original patch for #14994 aimed at reproducing the implementation of GTK's treeview as closely as possible. When simplifying the code to what's needed for making type-ahead-search work in Thunar the issue does not seem to occur.
Please find a corresponding experimental patch for further discussion attached.
I'd be happy to test the patch against other applications using exo-icon-view if there are any.
Created attachment 8279
Experimental patch
I think I found a way to reliably reproduce the issue:
- open a Thunar window,
- without starting a search switch to some other window via alt+tab,
- switch back to Thunar and start a search via typing.
I so far had no success tracking down the exact cause of the issue in the current patch to #14994.
But maybe the following helps: As I was not aware of how exo-icon-view is used in applications other than Thunar the original patch for #14994 aimed at reproducing the implementation of GTK's treeview as closely as possible. When simplifying the code to what's needed for making type-ahead-search work in Thunar the issue does not seem to occur.
Please find a corresponding experimental patch for further discussion attached.
I'd be happy to test the patch against other applications using exo-icon-view if there are any.