Fla$her wrote: 2024-05-26, 21:12 UTC Deselect using Ctrl+Num- from both panels and place the cursor in them below [..]. Then click the button:After that, flist.txt should appear with only one path instead of two.Code: Select all
TOTALCMD#BAR#DATA %comspec% /q/u/c type %a%WL>flist.txt wcmicon2.dll,67 Create a list of selected items 1
An item under the cursor in the target panel doesn't fall into the %a%[WU]L list if there is no mark
Moderators: Hacker, petermad, Stefan2, white
An item under the cursor in the target panel doesn't fall into the %a%[WU]L list if there is no mark
Overquoting is evil! 👎
- ghisler(Author)
- Site Admin
- Posts: 50817
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: An item under the cursor in the target panel doesn't fall into the %a%[WU]L list if there is no mark
First the expectations:
%WL pastes the selected items from the source panel. If nothing is selected, it pastes the file under the cursor.
%a also adds the selected items in the target panel. It doesn't insert a file from the target panel if nothing is selected there.
Now the test:
1. Nothing selected in either panel
2. Cursor stands on a file in active panel and inactive panel
-> Only the file under the cursor in the active panel is added to the list, so with only one path.
Please describe what you do differently to get two paths.
%WL pastes the selected items from the source panel. If nothing is selected, it pastes the file under the cursor.
%a also adds the selected items in the target panel. It doesn't insert a file from the target panel if nothing is selected there.
Now the test:
1. Nothing selected in either panel
2. Cursor stands on a file in active panel and inactive panel
-> Only the file under the cursor in the active panel is added to the list, so with only one path.
Please describe what you do differently to get two paths.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: An item under the cursor in the target panel doesn't fall into the %a%[WU]L list if there is no mark
I don't understand your request. You just confirmed what I wrote. The file under the cursor in the target panel is also selected, but not marked. Therefore, there should be a match for both panels, i.e. both files should be included in the list.
Overquoting is evil! 👎
Re: An item under the cursor in the target panel doesn't fall into the %a%[WU]L list if there is no mark
No, you wrote the opposite:
Perhaps because you are using a translator?After that, flist.txt should appear with only one path instead of two.
As Christian explained, it is by design that only marked files in the target panel are included. So if you want something different, you can make a suggestion.Fla$her wrote: 2024-06-17, 20:32 UTC The file under the cursor in the target panel is also selected, but not marked. Therefore, there should be a match for both panels, i.e. both files should be included in the list.
Re: An item under the cursor in the target panel doesn't fall into the %a%[WU]L list if there is no mark
I don't need a translator to compare similar things written in other words:white wrote: 2024-06-17, 21:00 UTC No, you wrote the opposite:Perhaps because you are using a translator?After that, flist.txt should appear with only one path instead of two.
Does the topic title say otherwise?ghisler(Author) wrote:It doesn't insert a file from the target panel if nothing is selected there.
Only the file under the cursor in the active panel is added to the list, so with only one path.
Perhaps the problem is your misunderstanding of the quote you gave? This is not a description of my expectation in behavior, it's a description of reproducing the problem.
By design, it doesn't mean that it's correct or expected by the user. The text from the help says about the selection, not the mark:white wrote: 2024-06-17, 21:00 UTC As Christian explained, it is by design that only marked files in the target panel are included. So if you want something different, you can make a suggestion.
There is no logic in the fact that the file under the cursor in one panel is considered selected, and the file under the cursor in the other one is not. This is definitely a mismatch. The expected behavior is implemented for %R. There should be a similar one here.Include parameter %a to also append selected files and directories from the target panel.
Overquoting is evil! 👎
Re: An item under the cursor in the target panel doesn't fall into the %a%[WU]L list if there is no mark
No, the topic title doesn't. But I did not quote the topic title.
No I did not misunderstand. The quoted text is saying the opposite:Fla$her wrote: 2024-06-18, 00:29 UTC Perhaps the problem is your misunderstanding of the quote you gave? This is not a description of my expectation in behavior, it's a description of reproducing the problem.
Apparently you meant to say:After that, flist.txt should appear with only one path instead of two.
After that, flist.txt appears with only one path instead of two.
Agreed that by design does not necessarily mean correct or expected by the user.Fla$her wrote: 2024-06-18, 00:29 UTCBy design, it doesn't mean that it's correct or expected by the user.white wrote: 2024-06-17, 21:00 UTC As Christian explained, it is by design that only marked files in the target panel are included. So if you want something different, you can make a suggestion.
I only used the word "marked" to make it more clear for you, because you used that word. Christian used the word "selected". They are interchangeable in this context.
Perhaps you have configured TC so that the cursor in the inactive panel is visible too (InactiveFocus > 0). With only one cursor visible (the default), it does make sense.Fla$her wrote: 2024-06-18, 00:29 UTCThere is no logic in the fact that the file under the cursor in one panel is considered selected, and the file under the cursor in the other one is not.Include parameter %a to also append selected files and directories from the target panel.
In my opinion, that's something different and not comparable in that way.Fla$her wrote: 2024-06-18, 00:29 UTC The expected behavior is implemented for %R. There should be a similar one here.
Re: An item under the cursor in the target panel doesn't fall into the %a%[WU]L list if there is no mark
You're wrong. You didn't take into account that this is a quote from another topic, where I tried to explain step by step to another user the reproduction of a bug that he failed to reproduce at first, so the use of the verb "should" was appropriate there.white wrote: 2024-06-18, 09:41 UTCNo I did not misunderstand. The quoted text is saying the opposite:
Apparently you meant to say:
They cannot be 100% interchangeable precisely because of the object under the cursor, which is considered selected but not marked. We discussed this in various topics, including with Christian.white wrote: 2024-06-18, 09:41 UTCI only used the word "marked" to make it more clear for you, because you used that word. Christian used the word "selected". They are interchangeable in this context.
I disagree. This option only affects the rendering of the element, it does not affect the parameters in any way.white wrote: 2024-06-18, 09:41 UTCPerhaps you have configured TC so that the cursor in the inactive panel is visible too (InactiveFocus > 0). With only one cursor visible (the default), it does make sense.
I don't see any fundamental difference here in the context of applying the selection of the element under the cursor in relation to the parameters (%M or %R1). %a%F/%a%L is just a combined list, where the same analogy should be traced in relation to both panels.white wrote: 2024-06-18, 09:41 UTCIn my opinion, that's something different and not comparable in that way.
Overquoting is evil! 👎
Re: An item under the cursor in the target panel doesn't fall into the %a%[WU]L list if there is no mark
I see. So your bug description only appears in the topic title, while you have quoted a section from another topic that seems to suggest the opposite. And to fully understand this discrepancy, one needs to read multiple posts from the thread you quoted.Fla$her wrote: 2024-06-18, 17:51 UTC You're wrong. You didn't take into account that this is a quote from another topic, where I tried to explain step by step to another user the reproduction of a bug that he failed to reproduce at first, so the use of the verb "should" was appropriate there.
I said "They are interchangeable in this context." In this context Christian explained what it means.Fla$her wrote: 2024-06-18, 17:51 UTCThey cannot be 100% interchangeable precisely because of the object under the cursor, which is considered selected but not marked. We discussed this in various topics, including with Christian.white wrote: 2024-06-18, 09:41 UTCI only used the word "marked" to make it more clear for you, because you used that word. Christian used the word "selected". They are interchangeable in this context.
It effects whether only one cursor is visible or two.Fla$her wrote: 2024-06-18, 17:51 UTCI disagree. This option only affects the rendering of the element, it does not affect the parameters in any way.white wrote: 2024-06-18, 09:41 UTCPerhaps you have configured TC so that the cursor in the inactive panel is visible too (InactiveFocus > 0). With only one cursor visible (the default), it does make sense.
Apparently %a%F/%a%L is not just a combined list of 2 other lists.Fla$her wrote: 2024-06-18, 17:51 UTCI don't see any fundamental difference here in the context of applying the selection of the element under the cursor in relation to the parameters (%M or %R1). %a%F/%a%L is just a combined list, where the same analogy should be traced in relation to both panels.white wrote: 2024-06-18, 09:41 UTCIn my opinion, that's something different and not comparable in that way.
Re: An item under the cursor in the target panel doesn't fall into the %a%[WU]L list if there is no mark
No. The description doesn't contradict the title in any way, you are misinterpreting my thought. I have already explained to you that "should appear" means what the user should see with proper diagnosis.white wrote: 2024-06-18, 19:53 UTC I see. So your bug description only appears in the topic title, while you have quoted a section from another topic that seems to suggest the opposite. And to fully understand this discrepancy, one needs to read multiple posts from the thread you quoted.
Which is only a visual component.
And what else is it?
Overquoting is evil! 👎
Re: An item under the cursor in the target panel doesn't fall into the %a%[WU]L list if there is no mark
Christian explained it:
ghisler(Author) wrote: 2024-06-17, 13:46 UTC %a also adds the selected items in the target panel. It doesn't insert a file from the target panel if nothing is selected there.
Re: An item under the cursor in the target panel doesn't fall into the %a%[WU]L list if there is no mark
This is only a confirmation of the reproduction of the problem, and not a substantiation of the very need for such a logic of behavior. So far, I don't see any objective substantiation.
Overquoting is evil! 👎
Re: An item under the cursor in the target panel doesn't fall into the %a%[WU]L list if there is no mark
No, Christian described the design. It's not a combining of 2 lists. It expands a list with marked files in the inactive panel. Would it be helpful if the help would say "marked" rather than "selected" when describing %a?Fla$her wrote: 2024-06-18, 21:15 UTC This is only a confirmation of the reproduction of the problem..
Re: An item under the cursor in the target panel doesn't fall into the %a%[WU]L list if there is no mark
That is not necessary: In the inactive panel, none is ever selected (if none is marked)white wrote: 2024-06-19, 08:55 UTC It expands a list with marked files in the inactive panel. Would it be helpful if the help would say "marked" rather than "selected" when describing %a?
Re: An item under the cursor in the target panel doesn't fall into the %a%[WU]L list if there is no mark
The description of the design in this case is no different from the description of the problem. By design, you can create a problem with unexpected and undesirable behavior. I've already made it clear twice using the example of %R why it shouldn't be like this. %R1 returns the name under the cursor in target panel, %a%F doesn't. This discrepancy must be eliminated. Clarifying the description is not a solution.white wrote: 2024-06-19, 08:55 UTC No, Christian described the design. It's not a combining of 2 lists. It expands a list with marked files in the inactive panel. Would it be helpful if the help would say "marked" rather than "selected" when describing %a?
Overquoting is evil! 👎
Re: An item under the cursor in the target panel doesn't fall into the %a%[WU]L list if there is no mark
%R focuses solely on the inactive panel. %a%F, on the other hand, expands the list of selected files in the active panel. In my opinion, it's like comparing apples with oranges. If there were a parameter like %a%S that produced the same result as %S%R, and you would then compare %a%S with %a%F, then I would find your argument compelling.Fla$her wrote: 2024-06-19, 13:28 UTC I've already made it clear twice using the example of %R why it shouldn't be like this. %R1 returns the name under the cursor in target panel, %a%F doesn't. This discrepancy must be eliminated.