Undo/Redo

Things you’d like to miss in the future...
admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Undo/Redo

Post by admin »

nas8e9 wrote:With 8.50.0028 beta on Windows 7 x64 RTM, undelete works! :D

Not to put a damper on things, but: Change Log for the latest XYplorer BETA version (v8.50.0028, 27-oct-2009)?

Edit:
admin wrote:Anyway, please try again and send me your logs (unless it works! :lol: ). Also please try with 2 files, and then with 6 files (delete to Recycler from Vista/Win7 I mean). Also look at the action log if everything looks better now or still "unknown" all over the place...
Deleting either 1, 2 or 6 files works. Also, deleting and undeleting a folder with files works.
:D Cool!!!

nas8e9
Posts: 2232
Joined: 21 Jun 2008 14:50

Re: Undo/Redo

Post by nas8e9 »

admin wrote:... no Vista/Win7 here, ...
Completely OT, but VMware (Player is free; new version 3.0 will allow creating new VM's), VirtualBox, Microsoft Virtual PC with Internet Explorer Application Compatibility VPC Image?

(And no, I'd rather not have another editor thread...) :wink:

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Undo/Redo

Post by admin »

nas8e9 wrote:
admin wrote:... no Vista/Win7 here, ...
Completely OT, but VMware (Player is free; new version 3.0 will allow creating new VM's), VirtualBox, Microsoft Virtual PC with Internet Explorer Application Compatibility VPC Image?

(And no, I'd rather not have another editor thread...) :wink:
You mean why don't I run a virtual vista? Oh, I plan to do that. Just first have to install that software that doubles the hours per day. :wink:

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Undo/Redo

Post by admin »

zer0 wrote:I have encountered a couple of issues, they revolves around extracting from ZIP files and undoing of such actions. As you may now, Windows XP/Vista/Win7 handle ZIP files natively, so they may be opened as a compressed folder in Windows Explorer. This leads to a hiccup with XYplorer.

To reproduce:
1. Open a ZIP file from within Windows Explorer.
2. DnD at least one (1) file from that ZIP file into XY's List.
3. Action Log shows a Move operation. Trying to undo this operation fails with no error message.
OK, I further researched this. I don't see a way to determine whether a dropped file comes from Explorer, or WinZip or wherever it comes from. So I see these options to handle it:

1) a config option to not log drops from other apps
2) a config option to log drops from other apps, but mark them as non-undoable
3) leave all as is and live with the cruel fact of life: not everything can be undone

nas8e9
Posts: 2232
Joined: 21 Jun 2008 14:50

Re: Undo/Redo

Post by nas8e9 »

admin wrote:You mean why don't I run a virtual vista? Oh, I plan to do that. Just first have to install that software that doubles the hours per day. :wink:
Windows 7 feels faster to me, both on real hardware as well as in a VM. The beauty of VM's is that they can run in the background (depending on CPU and memory; having a 64-bit OS with at least 4 GB helps), so after starting Windows Setup one can actually resume doing useful things.

Both Vista as well as Windows 7 can be installed without immediate activation or even entering a product key. They stop working after 120 days without activation , but for testing in a VM that's probably plenty.

Regarding memory: Windows 7 should cope with just 1 GB; I don't know whether you have 1 GB (preferably more, of course) spare on your machine. Also, dual-core is probably a must (especially with a compiler running as well). Finally, VM software is a drag on the HD; having a seperate physical disk connected by IDE or SATA is advisable.

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Undo/Redo

Post by admin »

nas8e9 wrote:
admin wrote:You mean why don't I run a virtual vista? Oh, I plan to do that. Just first have to install that software that doubles the hours per day. :wink:
Windows 7 feels faster to me, both on real hardware as well as in a VM. The beauty of VM's is that they can run in the background (depending on CPU and memory; having a 64-bit OS with at least 4 GB helps), so after starting Windows Setup one can actually resume doing useful things.

Both Vista as well as Windows 7 can be installed without immediate activation or even entering a product key. They stop working after 120 days without activation , but for testing in a VM that's probably plenty.

Regarding memory: Windows 7 should cope with just 1 GB; I don't know whether you have 1 GB (preferably more, of course) spare on your machine. Also, dual-core is probably a must (especially with a compiler running as well). Finally, VM software is a drag on the HD; having a seperate physical disk connected by IDE or SATA is advisable.
External disk via USB would be too slow I assume?

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Undo/Redo

Post by admin »

nas8e9 wrote:Deleting either 1, 2 or 6 files works. Also, deleting and undeleting a folder with files works.
If you delete 6 or more files, do you see ALL recycle bin names of them in the action log, or just the first 5 as in XP?

nas8e9
Posts: 2232
Joined: 21 Jun 2008 14:50

Re: Undo/Redo

Post by nas8e9 »

admin wrote:External disk via USB would be too slow I assume?
I'm afraid so. External SATA (whether on the motherboard or by adding an eSATA PCI-E controller) would work however.

nas8e9
Posts: 2232
Joined: 21 Jun 2008 14:50

Re: Undo/Redo

Post by nas8e9 »

admin wrote:If you delete 6 or more files, do you see ALL recycle bin names of them in the action log, or just the first 5 as in XP?
Delete followed by successful undelete:

Code: Select all

13:34:14.820 >> 4: J:\Tmp\Download\Doc\Win7InsideOut_Chapter2.pdf¿J:\Tmp\Download\Doc\Win7_InsideOut_EarlyContent_Ch21.pdf¿J:\Tmp\Download\Doc\Win7_RK_SampleChapter_23.pdf¿J:\Tmp\Download\Doc\Win7_RK_SampleChapter_29.pdf¿J:\Tmp\Download\Doc\Win7_SBS_EarlyContent_Ch1.pdf¿J:\Tmp\Download\Doc\Win7_SBS_EarlyContent_Ch2.pdf¿
13:34:14.861 >> SHCNE_DELETE, 1=58458176, 2=0
13:34:14.861 >> SHCNE_DELETE: J:\Tmp\Download\Doc\Win7InsideOut_Chapter2.pdf | Win7InsideOut_Chapter2.pdf |  | 
13:34:14.861 >> SHCNE_CREATE, 1=58458176, 2=0
13:34:14.861 >> SHCNE_CREATE: J:\$RECYCLE.BIN\S-1-5-21-1809554351-3682586006-3281551331-1001\$R121R0J.pdf | $R121R0J.pdf |  | 
13:34:14.861 >> mod 4: J:\$RECYCLE.BIN\S-1-5-21-1809554351-3682586006-3281551331-1001\$R121R0J.pdf
13:34:14.861 >> SHCNE_DELETE, 1=58458176, 2=0
13:34:14.861 >> SHCNE_DELETE: J:\Tmp\Download\Doc\Win7_InsideOut_EarlyContent_Ch21.pdf | Win7_InsideOut_EarlyContent_Ch21.pdf |  | 
13:34:14.861 >> SHCNE_CREATE, 1=58458176, 2=0
13:34:14.861 >> SHCNE_CREATE: J:\$RECYCLE.BIN\S-1-5-21-1809554351-3682586006-3281551331-1001\$RIE6FRB.pdf | $RIE6FRB.pdf |  | 
13:34:14.861 >> mod 4: J:\$RECYCLE.BIN\S-1-5-21-1809554351-3682586006-3281551331-1001\$RIE6FRB.pdf
13:34:14.862 >> SHCNE_DELETE, 1=58458176, 2=0
13:34:14.862 >> SHCNE_DELETE: J:\Tmp\Download\Doc\Win7_RK_SampleChapter_23.pdf | Win7_RK_SampleChapter_23.pdf |  | 
13:34:14.862 >> SHCNE_CREATE, 1=58458176, 2=0
13:34:14.862 >> SHCNE_CREATE: J:\$RECYCLE.BIN\S-1-5-21-1809554351-3682586006-3281551331-1001\$RXCBFEA.pdf | $RXCBFEA.pdf |  | 
13:34:14.862 >> mod 4: J:\$RECYCLE.BIN\S-1-5-21-1809554351-3682586006-3281551331-1001\$RXCBFEA.pdf
13:34:14.862 >> SHCNE_DELETE, 1=58458176, 2=0
13:34:14.862 >> SHCNE_DELETE: J:\Tmp\Download\Doc\Win7_RK_SampleChapter_29.pdf | Win7_RK_SampleChapter_29.pdf |  | 
13:34:14.862 >> SHCNE_CREATE, 1=58458176, 2=0
13:34:14.862 >> SHCNE_CREATE: J:\$RECYCLE.BIN\S-1-5-21-1809554351-3682586006-3281551331-1001\$RQ53KJZ.pdf | $RQ53KJZ.pdf |  | 
13:34:14.862 >> mod 4: J:\$RECYCLE.BIN\S-1-5-21-1809554351-3682586006-3281551331-1001\$RQ53KJZ.pdf
13:34:14.862 >> SHCNE_DELETE, 1=58458176, 2=0
13:34:14.862 >> SHCNE_DELETE: J:\Tmp\Download\Doc\Win7_SBS_EarlyContent_Ch1.pdf | Win7_SBS_EarlyContent_Ch1.pdf |  | 
13:34:14.862 >> SHCNE_CREATE, 1=58458176, 2=0
13:34:14.862 >> SHCNE_CREATE: J:\$RECYCLE.BIN\S-1-5-21-1809554351-3682586006-3281551331-1001\$RKSV0Z7.pdf | $RKSV0Z7.pdf |  | 
13:34:14.862 >> mod 4: J:\$RECYCLE.BIN\S-1-5-21-1809554351-3682586006-3281551331-1001\$RKSV0Z7.pdf
13:34:14.862 >> SHCNE_DELETE, 1=58458176, 2=0
13:34:14.862 >> SHCNE_DELETE: J:\Tmp\Download\Doc\Win7_SBS_EarlyContent_Ch2.pdf | Win7_SBS_EarlyContent_Ch2.pdf |  | 
13:34:14.865 >> SHCNE_CREATE, 1=58458176, 2=0
13:34:14.865 >> SHCNE_CREATE: J:\$RECYCLE.BIN\S-1-5-21-1809554351-3682586006-3281551331-1001\$R1QMNOL.pdf | $R1QMNOL.pdf |  | 
13:34:14.865 >> mod 4: J:\$RECYCLE.BIN\S-1-5-21-1809554351-3682586006-3281551331-1001\$R1QMNOL.pdf
13:34:14.865 >> SHCNE_UPDATEIMAGE, 1=58458176, 2=58458192
13:34:56.429 >> SHCNE_DELETE, 1=58589248, 2=0
13:34:56.429 >> SHCNE_DELETE: J:\$RECYCLE.BIN\S-1-5-21-1809554351-3682586006-3281551331-1001\$R121R0J.pdf | $R121R0J.pdf |  | 
13:34:56.429 >> SHCNE_CREATE, 1=58589248, 2=0
13:34:56.429 >> SHCNE_CREATE: J:\Tmp\Download\Doc\Win7InsideOut_Chapter2.pdf | Win7InsideOut_Chapter2.pdf |  | 
13:34:56.429 >> mod 4: J:\Tmp\Download\Doc\Win7InsideOut_Chapter2.pdf
13:34:56.462 >> SHCNE_DELETE, 1=58589248, 2=0
13:34:56.462 >> SHCNE_DELETE: J:\$RECYCLE.BIN\S-1-5-21-1809554351-3682586006-3281551331-1001\$RIE6FRB.pdf | $RIE6FRB.pdf |  | 
13:34:56.462 >> SHCNE_CREATE, 1=58589248, 2=0
13:34:56.462 >> SHCNE_CREATE: J:\Tmp\Download\Doc\Win7_InsideOut_EarlyContent_Ch21.pdf | Win7_InsideOut_EarlyContent_Ch21.pdf |  | 
13:34:56.462 >> mod 4: J:\Tmp\Download\Doc\Win7_InsideOut_EarlyContent_Ch21.pdf
13:34:56.492 >> SHCNE_DELETE, 1=58589248, 2=0
13:34:56.492 >> SHCNE_DELETE: J:\$RECYCLE.BIN\S-1-5-21-1809554351-3682586006-3281551331-1001\$RXCBFEA.pdf | $RXCBFEA.pdf |  | 
13:34:56.493 >> SHCNE_CREATE, 1=58458176, 2=0
13:34:56.493 >> SHCNE_CREATE: J:\Tmp\Download\Doc\Win7_RK_SampleChapter_23.pdf | Win7_RK_SampleChapter_23.pdf |  | 
13:34:56.493 >> mod 4: J:\Tmp\Download\Doc\Win7_RK_SampleChapter_23.pdf
13:34:56.531 >> SHCNE_DELETE, 1=58589248, 2=0
13:34:56.532 >> SHCNE_DELETE: J:\$RECYCLE.BIN\S-1-5-21-1809554351-3682586006-3281551331-1001\$RQ53KJZ.pdf | $RQ53KJZ.pdf |  | 
13:34:56.532 >> SHCNE_CREATE, 1=58589248, 2=0
13:34:56.532 >> SHCNE_CREATE: J:\Tmp\Download\Doc\Win7_RK_SampleChapter_29.pdf | Win7_RK_SampleChapter_29.pdf |  | 
13:34:56.532 >> mod 4: J:\Tmp\Download\Doc\Win7_RK_SampleChapter_29.pdf
13:34:56.563 >> SHCNE_DELETE, 1=58589248, 2=0
13:34:56.563 >> SHCNE_DELETE: J:\$RECYCLE.BIN\S-1-5-21-1809554351-3682586006-3281551331-1001\$RKSV0Z7.pdf | $RKSV0Z7.pdf |  | 
13:34:56.563 >> SHCNE_CREATE, 1=58589248, 2=0
13:34:56.563 >> SHCNE_CREATE: J:\Tmp\Download\Doc\Win7_SBS_EarlyContent_Ch1.pdf | Win7_SBS_EarlyContent_Ch1.pdf |  | 
13:34:56.563 >> mod 4: J:\Tmp\Download\Doc\Win7_SBS_EarlyContent_Ch1.pdf
13:34:56.601 >> SHCNE_DELETE, 1=58589248, 2=0
13:34:56.601 >> SHCNE_DELETE: J:\$RECYCLE.BIN\S-1-5-21-1809554351-3682586006-3281551331-1001\$R1QMNOL.pdf | $R1QMNOL.pdf |  | 
13:34:56.601 >> SHCNE_CREATE, 1=58589248, 2=0
13:34:56.601 >> SHCNE_CREATE: J:\Tmp\Download\Doc\Win7_SBS_EarlyContent_Ch2.pdf | Win7_SBS_EarlyContent_Ch2.pdf |  | 
13:34:56.601 >> mod 4: J:\Tmp\Download\Doc\Win7_SBS_EarlyContent_Ch2.pdf
13:34:56.611 >> SHCNE_UPDATEIMAGE, 1=58458176, 2=58458192
If I've counted correctly, I see six filenames for both the delete as well as the undelete. BTW, previous versions seemed to only display the log for the last action, whereas 8.50.0028 shows all?
Last edited by nas8e9 on 26 Oct 2009 14:57, edited 1 time in total.

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Undo/Redo

Post by admin »

nas8e9 wrote:
admin wrote:If you delete 6 or more files, do you see ALL recycle bin names of them in the action log, or just the first 5 as in XP?
Delete followed by unsuccessful undelete: ...
Sorry, unsuccessful??

nas8e9
Posts: 2232
Joined: 21 Jun 2008 14:50

Re: Undo/Redo

Post by nas8e9 »

admin wrote:Sorry, unsuccessful??
Apologies, I meant successful. ( :oops:, followed by hasty edit...)

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Undo/Redo

Post by admin »

nas8e9 wrote:
admin wrote:Sorry, unsuccessful??
Apologies, I meant successful. ( :oops:, followed by hasty edit...)
You know how to shock devs... :wink:

But I did not mean the debug log but the action log window. When you select the delete action in the action log list, can you see the recycle bin names (the bottom list) of all items? In XP I get only the recycle bin names of the first 5 items for unknown reasons.

nas8e9
Posts: 2232
Joined: 21 Jun 2008 14:50

Re: Undo/Redo

Post by nas8e9 »

admin wrote:But I did not mean the debug log but the action log window. When you select the delete action in the action log list, can you see the recycle bin names (the bottom list) of all items? In XP I get only the recycle bin names of the first 5 items for unknown reasons.
Same on Windows 7: only the recycle bin names of the first 5 items are shown. The sixth item is shown as "(unknown)".

(Both reading as well as writing seem slightly off today on my part :|. )

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Undo/Redo

Post by admin »

nas8e9 wrote:
admin wrote:But I did not mean the debug log but the action log window. When you select the delete action in the action log list, can you see the recycle bin names (the bottom list) of all items? In XP I get only the recycle bin names of the first 5 items for unknown reasons.
Same on Windows 7: only the recycle bin names of the first 5 items are shown. The sixth item is shown as "(unknown)".

(Both reading as well as writing seem slightly off today on my part :|. )
:)
Okay, that's good (one thing where Win7 does not need extra code) and bad (more than 5 items will take longer on Win7 as well) at the same time.

Anyway, thanks, looks like it's fixed finally! I still wait for confirmation of any other VW user...

zer0
Posts: 2673
Joined: 19 Jan 2009 20:11

Re: Undo/Redo

Post by zer0 »

admin wrote:OK, I further researched this. I don't see a way to determine whether a dropped file comes from Explorer, or WinZip or wherever it comes from. So I see these options to handle it:

1) a config option to not log drops from other apps
2) a config option to log drops from other apps, but mark them as non-undoable
3) leave all as is and live with the cruel fact of life: not everything can be undone
"None of those" would be my answer :mrgreen: Options 1) isn't a particularly good one, because it may raise users' eyebrows when they don't see those actions in AL. Option 2) is better than 1), because it logs those drops and marks them as undoable. Option 3) is the worst of the lot :P.

DnDing between XYplorer and Windows Explorer is of special importance [for Vista/Win 7 users] at the moment, because XY doesn't have its own copy/move operations yet. Therefore, I (likely not the only one) have to resort to using WE to do large amounts of copying. On the other hand, I have a feeling (can't test at the moment) that DnDing from WE into XY (on Win 7) won't result in the freezing that normally occurs, because WE is the originator.

Further muddling the waters are: a) DnD WE -> XY, undo in either fails b) DnD XY -> WE, undo in WE works, but in XY fails! :?
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

Post Reply