Failure to observe RENAME_EXCHANGE of renameat2 system call

Version information

4.20.8

Fedora Linux 44 (Xfce)

Steps to reproduce

  1. open a directory in Thunar containing two or more files, e.g. created by $ touch a b (see first screenshot)
  2. exchange both files: $ exch a b
  3. look at file list in Thunar (see second screenshot)

Current behavior

After the exchange, Thunar will display only one of the files, the other one won't be listed until a refresh (Ctrl+R) happens.

Expected outcome

Both files should still be in the list.

Additional information

before exchange:

Bildschirmfoto_2026-06-14_16-53-15.png

after exchange (no reload!):

Bildschirmfoto_2026-06-14_16-54-03.png