[bug?] TC cleaning clipboard when closing
Moderators: Hacker, petermad, Stefan2, white
[bug?] TC cleaning clipboard when closing
From forum.wincmd.ru
Copy some file(s) via Ctrl+C or context menu, then close TC.
Clipboard will be clean. Bug?
This applies only for files copying, other tc's copying functions works fine in this case.
Copy some file(s) via Ctrl+C or context menu, then close TC.
Clipboard will be clean. Bug?
This applies only for files copying, other tc's copying functions works fine in this case.
Nothing to paste
2DrShark
Hello !
• I can confirm, I tested with a text-file and also with a small BMP : There is nothing to paste in another APP.
KR
Claude
Clo

• I can confirm, I tested with a text-file and also with a small BMP : There is nothing to paste in another APP.


Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
- sqa_wizard
- Power Member
- Posts: 3893
- Joined: 2003-02-06, 11:41 UTC
- Location: Germany
Strange behaviour
2sqa_wizard
Hello !
• Sorry, but in the case, I tend to disagree. I think that it isn't a good and handy behaviour.
- So, we can only paste in TC that we copied in TC
- Fortunately, other programmes behave differently…
- When I copy an image in XnView, I expect to be able to paste it in M$Paint, that I do and it works.
- Same for text-files…
- It could be great to get an option or a command in order to choose that occurs when closing TC,
about the content of the Clipboard.
VG
Claude
Clo

• Sorry, but in the case, I tend to disagree. I think that it isn't a good and handy behaviour.
- So, we can only paste in TC that we copied in TC

- Fortunately, other programmes behave differently…
- When I copy an image in XnView, I expect to be able to paste it in M$Paint, that I do and it works.
- Same for text-files…
- It could be great to get an option or a command in order to choose that occurs when closing TC,
about the content of the Clipboard.


Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
2Clo
That's not true - as long as you keep TC open you can copy from TC and paste it in for example Explorer.So, we can only paste in TC that we copied in TC
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Not needed = Closed !
2petermad
Hi Peter !
• But I never keep TC open endlessly when I no longer need it !
- It's the habit I'm in for years… And I repeat : Other programmes do NOT clear the Clipboard when quitting !
- It's quite abnormal to be bound to keep TC open only for that.
-----------------------
—> roentgen
Hi !
• I agree, finally we can call that a bug, at least a weird “forgotten” lacuna… or - like I said already - a “Bugfeature”
KR
Claude
Clo

• But I never keep TC open endlessly when I no longer need it !
- It's the habit I'm in for years… And I repeat : Other programmes do NOT clear the Clipboard when quitting !
- It's quite abnormal to be bound to keep TC open only for that.
-----------------------
—> roentgen

• I agree, finally we can call that a bug, at least a weird “forgotten” lacuna… or - like I said already - a “Bugfeature”


Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
To complete the aspects, I checked by selecting some files, and placing the list in the clipboard with the command
'cm_CopyNamesToClip'. Then I closed TC, but I was still able to paste the strings in an empty ascii- editor.
So there seems to be difference in behaviour too.
Bug or not, I would call it a lack of elegancy. At least, as in some apps, the user should be warned, before closing, that the
clipboard is still filled with recent data. Wipe yes or no.
Some other apps have a checkbox in the settings for automatically cleaning the clipboard at closing.
Can be quite memory-efficient after working with huge media-files.
I prefer to work in a clean environment too, as sqa_wizard's 'don't leave any mess if you leave' states.
So a custom choice in this would be nice.
Btw : Normally at my daily PC-session TC is First on - Last out, so I now closed and opened TC just for the experiment.
'cm_CopyNamesToClip'. Then I closed TC, but I was still able to paste the strings in an empty ascii- editor.
So there seems to be difference in behaviour too.
Bug or not, I would call it a lack of elegancy. At least, as in some apps, the user should be warned, before closing, that the
clipboard is still filled with recent data. Wipe yes or no.
Some other apps have a checkbox in the settings for automatically cleaning the clipboard at closing.
Can be quite memory-efficient after working with huge media-files.
I prefer to work in a clean environment too, as sqa_wizard's 'don't leave any mess if you leave' states.
So a custom choice in this would be nice.
Btw : Normally at my daily PC-session TC is First on - Last out, so I now closed and opened TC just for the experiment.
0.618033988
Option, please !
2Sam_Zen
Hello Sam !
• Actually, I thought also to point out the different behaviour with the Copy_to_Clip… commands.
It's good that you did it here.
- Two opposite behaviours and no option is inconsistent…
- So, I wish an option to define what happens to the content of the Clipboard (coming from Copy - Ctrl+C) when TC is closed.
FR
Claude
Clo

• Actually, I thought also to point out the different behaviour with the Copy_to_Clip… commands.
It's good that you did it here.
- Two opposite behaviours and no option is inconsistent…
- So, I wish an option to define what happens to the content of the Clipboard (coming from Copy - Ctrl+C) when TC is closed.

Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
Maybe because of this answer from Ghisler in the private beta test forum.Can you explain why this moved to "Behaviour which will not be changed"?
I tested copying with the right-click menu or Ctrl+C from some other programs - here it was the same: once the programs are closed the clipboard is cleared from the references to the chosen files.ghisler(Author) wrote:Unfortunately I have no influence on that. What I do is the following:
1. I create the IShellFolder OLE object
2. I create the IContextMenu OLE object for all selected files
3. I request the context menu items
4. I send the "copy" verb to the context menu
So it's the same as if the user right clicks on the file and then copies it to the clipboard. It seems that Windows doesn't really store the OLE objects of the copied files in the clipboard. Instead, they are just references which are then filled with data on "paste" by the creator. So when this creator is closed, there is no more data...
This doesn't happen in Explorer, but that must be because Explorer is always running even when the Explorer window is closed.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Not only
2petermad
Hello Peter !
- Altap Salamander
- Directory Opus
when closed.
---------------
2DrShark
Hi !
¤ Note : I didn't move the thread, I assume that the Author did it…
FR
Claude
Clo

• Not only, the contents are kept also in :This doesn't happen in Explorer…
- Altap Salamander
- Directory Opus
when closed.
---------------
2DrShark

¤ Note : I didn't move the thread, I assume that the Author did it…

Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
Just downloaded and tried it - you are right - it must use another system call than TC.Not only, the contents are kept also in :
- Altap Salamander
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Cerdits to Jeff
2petermad
All credits to icfu (Hi Jeff !) who pointed out this issue ELSEWHERE… Still unanswered, though
FR
Claude
Clo



Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary