Skip to content

Opening a new tab moves focus to the last tab

Version information

4.21.3-dev-aba32f6d Linux arch 6.12.61-1-lts

Steps to reproduce

  1. Choose any tab in Thunar that has other tabs on the right.
  2. Press Ctrl-T (or Right-Click a folder -> "Open in new tab").

Current behavior

A new tab opens directly to the right of the current tab, but the focus moves to the last (rightmost) tab of Thunar.

Expected outcome

The focus should move to the newly opened tab, not the last (rightmost) tab.

Additional information

The stable version of Thunar doesn't have that problem; the new tab is focused properly.

(I'm not sure if that's because I built Thunar with the only development version of libraries being libxfce4ui (which I therefore built manually), but meson didn't report any other dependencies missing, so it might be alright?)

In terminal, I get (not sure if it's related)

` (thunar:30449): Gtk-CRITICAL **: 16:23:57.053: gtk_widget_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

(thunar:30449): Gtk-CRITICAL **: 16:23:57.221: gtk_widget_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed `

Thanks.