FS#71412 - [thunar] %F no longer works in sendto
Attached to Project:
Arch Linux
Opened by Lacsap (lacsap) - Thursday, 01 July 2021, 07:52 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:16 GMT
Opened by Lacsap (lacsap) - Thursday, 01 July 2021, 07:52 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:16 GMT
|
Details
Description:
hi, I have a sendto (~/.local/share/Thunar/sendto/test.desktop) that should be launched with a list of files but I end up with the sendto launched as many times as there are files in the list. it worked perfectly before. regards. Additional info: * package version(s) 4.16.8 * config and/or log files etc. * link to upstream bug report, if any Steps to reproduce: $ # micro is a terminal text editor $ cat > .local/share/Thunar/sendto/test.desktop <<~~~~ [Desktop Entry] Type=Application Version=1.0 Encoding=UTF-8 Exec=lxterminal -t test -e micro %F Icon=postr Name=test ~~~~ $ # a new test entry appears in thunar sendto $ # select two files and send them to test $ # two terminals are launched in which micro edits only one file, while only one terminal should be launched in which micro edits both files. |
This task depends upon
Closed by Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:16 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/thunar/issues/1
Saturday, 25 November 2023, 20:16 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/thunar/issues/1
[1] https://gitlab.xfce.org/xfce/thunar/-/commits/thunar-4.16.8
[2] https://gitlab.xfce.org/xfce/thunar/-/commit/495324deecaea458fce8cd3778fea23ecd57a044
yes I do.
but I am not a developer and I just did some research around the terms `send to`, `send-to` and `sendto`.
I saw this commit _(Dont execute files, passed via command line due to security risks)_ and didn't think of the `send to` function, but rather the launch of Thunar with parameters.
this being said, the code changes you point out are responsible for this new behavior ? is that it ?
in my case, I don't want to **execute** the selected files, but just open them (pass them as parameters) with the Micro editor : do I get the previous behavior back if I revert these small changes ?
regards.
I just looked at the changes you point out and they seem to be more related to the execution of Thunar (eg. thunar /path/to/picture.jpg).
they are related to this issue https://gitlab.xfce.org/xfce/thunar/-/issues/121
note that the same command (lxterminal -t test -e micro %F) used for a custom action results in the desired behavior (one lxterminal/micro that opens both files simultaneously).
regards.
Does rebuilding thunar after applying the attached diff still have the issue?
Based on my testing, this used to work in Xfce 4.14 (so about a year ago).
Thunar 4.16.6 as the same issue (4.16.7 has not been tested).
rebuilding 4.16.8 with patched PKGBUILD does not change the incorrect "Send To" behavior.
regards, lascaP.