show filename in libmtp error dialog
Displaying the filename of the file which libmtp
was unable to copy for whatever reason will help to decide if it is worth to explore other ways to get it off of the phone.
In my case the process to copy was:
- connect phone via USB
- select "Samsung whatever"
- select "Card"
- select "DCIM"
- select "Camera"
- CTRL-c to copy
- select "Pictures"
- CTRL-v to paste, to start copying from phone to disk.
At some point a popup appeared, stating something like "libmtp was unable to copy a file.", with knobs to skip-all, skip, cancel, retry.
In case Thunar does the copying one-by-one, it probably has the info which file it was about to process. It should add this info to this error window.
However, looking through the BuildRequires, it seems no package from gitlab.xfce.org uses libmtp directly. No idea which component did show this error popup.