Crash renaming file extension

Discussion & Support for xplorer² professional

Moderators: fgagnon, nikos, Site Mods

rulle
Member
Member
Posts: 38
Joined: 2003 Nov 06, 07:41

Crash renaming file extension

Post by rulle »

I sometimes dl files which have extension .zip but which I know are text files. When I rename them accordingly, xplorer2 will crash. Below is the dbmon log of a similar crash (but the other way round - renaming a text file to a .zip file)

Code: Select all

3032: Filesystem path = C:\tmp
3032: Shell attributes: (0x7080017f) FILESYSANCESTOR | FILESYSTEM | STORAGEANCESTOR |
3032: DESCRIPTIONID: 3(FS_DIRECTORY) : {00000000-0000-0000-0000-000000000000}
3032: Assigned folder type: FITYPE_FILESYSTEM [assisted]
3032: Folder CLSID: {F3364BA0-65B9-11CE-A9BA-00AA004AE837}
3032: Enumerated 123 objects in the folder, code=1
3032: SPY(000001f2): Installed on '::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\C:\tmp'
3032: Delay-creating column handler...IShellFolder2; Columns = 35 (cached)
3032: Executing default verb open (30) on plot.log, HR=0
3032: Weird non-fatal HRESULT=0x00000087 from QueryContextMenu
3032: Frame_3d024a handling command 2
3032:   VIEW_120630: processing update notification for plot.log
3032: c:\windows\profiles\nikos\my documents\c++\kenny\shelldropsource.h(103) : Assertion failed: GetKeyState(0x02) < 0
3032: SPY(000001f2): Raw Event 0 = RENAMEITEM
::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\C:\tmp\plot.log ::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\C:\tmp\plot.zip
3032: SPY(000001f2): Raw Event 1 = RENAMEITEM
::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\C:\tmp\plot.log ::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\C:\tmp\plot.zip
3032: SPY(000001f2): Processing Disc Event = RENAMEITEM
::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\C:\tmp\plot.log ::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\C:\tmp\plot.zip
3436: + videoCreateDriverList
3436: + videoFreeDriverList
3436: - videoFreeDriverList
3436: videoCreateDriverList: DeviceList contains 0 Video Device(s).
3436: - videoCreateDriverList
User avatar
JRz
Gold Member
Gold Member
Posts: 560
Joined: 2003 Jun 10, 23:19
Location: NL

Post by JRz »

X2.54: Seems like a problem with your system, because in my case it works fine.

The DBMon output shows a problem just after issueing the command. This doesn't happen in my case. Nikos can pinpoint the problem I should think.

@Nikos: Have one remark to add to this. Maybe it is intentional, but when I try to rename a .zip file using Ctrl+F2, I don't get the dialog, but in stead it behaves the same as pressing just F2 without holding down the Ctrl key (selects just the name without extension in the pane itself). This only happens in the case of .zip files as far as I know.

Maybe there is a relation between this behaviour and the problem rulle is having??
Dumb questions are the ones that are never asked :turn:
User avatar
nikos
Site Admin
Site Admin
Posts: 16344
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

i think rulle somehow got into a (unwanted) file drag situation hence the assertion; clicking ignore should do it

JRz you're right, my bad again! (considered as folders)
rulle
Member
Member
Posts: 38
Joined: 2003 Nov 06, 07:41

Post by rulle »

Ignore doesn't help, but I think you're right about the drag situation. I found out this crash does not occur if I finish the rename operation with the keyboard (enter) rather than with mouse (left-click in pane).
User avatar
JRz
Gold Member
Gold Member
Posts: 560
Joined: 2003 Jun 10, 23:19
Location: NL

Post by JRz »

nikos wrote:JRz you're right, my bad again! (considered as folders)
Does this mean folders with extension also can't be renamed using Ctrl+F2?? It seems to me this should be possible too!!

Is there a special reason to make this exception for folders? I can't think of one :?
Dumb questions are the ones that are never asked :turn:
User avatar
nikos
Site Admin
Site Admin
Posts: 16344
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

folders with extensions are still folders, so the F2 way will still work
(i don't think folder "extensions" are hidden when file extensions are)
have you tried it?
User avatar
JRz
Gold Member
Gold Member
Posts: 560
Joined: 2003 Jun 10, 23:19
Location: NL

Post by JRz »

nikos wrote:folders with extensions are still folders, so the F2 way will still work
(i don't think folder "extensions" are hidden when file extensions are)
have you tried it?
No, haven't tried that. But it is logical the 'extensions' of folders won't be hidden when file extensions are, because extensions are only hidden for registered file types. Folders with extensions don't fall into the category of registered files I think.
Dumb questions are the ones that are never asked :turn: