Skip to content

Deleting file with very long single-word name results in too-large dialog window

Version information

4.16.8 (Linux Mint 20.3 Xfce) and 4.18.8 (Linux Mint 22(.0) Xfce)

Steps to reproduce

  1. Set your desktop resolution to a more medium-sized resolution, like something that's 1280px wide
  2. Create a file with an extremely long file name; you can just do something like holding down the letter a (I at least know that the MD5 hash for an empty file repeated 7 times is long enough which is what my below screenshot depicts)
  3. Right-click on the file you just created and select "Delete"
  4. Observe how the dialog window that appears runs off the side of your screen, making the "Delete" button's text not even be visible

Current behavior

The "delete" dialog window always displays the entirety of extremely long single-word file names in a single line

Expected outcome

The "delete" dialog window should either truncate such a file name by having a ... in order to fit the dialog window on-screen, or visibly line-break the file name just for the "delete" dialog window

Additional information

This occurs regardless of whether doing this on the desktop or in Thunar proper

Screenshot

screenshot

Edited by NM64