PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

[peek] Shell32.IShellFolderViewDual2 casting failure

Open perezbalen opened this issue 1 year ago • 6 comments

Microsoft PowerToys version

0.71.0

Installation method

PowerToys auto-update

Running as admin

No

Area(s) with issue?

Peek

Steps to reproduce

No matter what I do it doesn't work. Change the shortcut, run elevated and not elevated, run as admin or not.

PowerToysReport_2023-07-30-10-48-04.zip

✔️ Expected Behavior

For it to work.

❌ Actual Behavior

Nothing happens.

Other Software

QuickLook (but it Peek doesen't work even when this is off) Directory Opus (but it also doesn't work in Exolporer)

perezbalen avatar Jul 30 '23 15:07 perezbalen

Same here! Funnily, I have just spent the last hour trying to get it to work in exactly the same way. Defo a bug...

chippie avatar Jul 30 '23 17:07 chippie

@jaimecbernardo fyi

crutkas avatar Jul 30 '23 17:07 crutkas

ERROR: 10:25:45.5911384 [Method]: Initialize [Class]: MainWindowViewModel Failed to get File Explorer Items: Unable to cast COM object of type 'System.__ComObject' to interface type 'Shell32.IShellFolderViewDual2'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{31C147B6-0ADE-4A3C-B514-DDF932EF6D17}' failed due to the following error: No such interface supported (0x80004002 (E_NOINTERFACE)). ERROR: 10:25:48.8181533 [Method]: Initialize [Class]: MainWindowViewModel Failed to get File Explorer Items: Unable to cast COM object of type 'System.__ComObject' to interface type 'Shell32.IShellFolderViewDual2'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{31C147B6-0ADE-4A3C-B514-DDF932EF6D17}' failed due to the following error: No such interface supported (0x80004002 (E_NOINTERFACE)). ERROR: 10:25:51.7654682 [Method]: Initialize [Class]: MainWindowViewModel Failed to get File Explorer Items: Unable to cast COM object of type 'System.__ComObject' to interface type 'Shell32.IShellFolderViewDual2'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{31C147B6-0ADE-4A3C-B514-DDF932EF6D17}' failed due to the following error: No such interface supported (0x80004002 (E_NOINTERFACE)). ERROR: 10:26:37.0163617 [Method]: Initialize [Class]: MainWindowViewModel Failed to get File Explorer Items: Unable to cast COM object of type 'System.__ComObject' to interface type 'Shell32.IShellFolderViewDual2'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{31C147B6-0ADE-4A3C-B514-DDF932EF6D17}' failed due to the following error: No such interface supported (0x80004002 (E_NOINTERFACE)). ERROR: 10:26:39.7526990 [Method]: Initialize [Class]: MainWindowViewModel Failed to get File Explorer Items: Unable to cast COM object of type 'System.__ComObject' to interface type 'Shell32.IShellFolderViewDual2'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{31C147B6-0ADE-4A3C-B514-DDF932EF6D17}' failed due to the following error: No such interface supported (0x80004002 (E_NOINTERFACE)). ERROR: 10:26:55.7364657 [Method]: Initialize [Class]: MainWindowViewModel Failed to get File Explorer Items: Unable to cast COM object of type 'System.__ComObject' to interface type 'Shell32.IShellFolderViewDual2'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{31C147B6-0ADE-4A3C-B514-DDF932EF6D17}' failed due to the following error: No such interface supported (0x80004002 (E_NOINTERFACE)). ERROR: 10:26:57.7819436 [Method]: Initialize [Class]: MainWindowViewModel Failed to get File Explorer Items: Unable to cast COM object of type 'System.__ComObject' to interface type 'Shell32.IShellFolderViewDual2'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{31C147B6-0ADE-4A3C-B514-DDF932EF6D17}' failed due to the following error: No such interface supported (0x80004002 (E_NOINTERFACE)). ERROR: 10:27:09.1700754 [Method]: Initialize [Class]: MainWindowViewModel Failed to get File Explorer Items: Unable to cast COM object of type 'System.__ComObject' to interface type 'Shell32.IShellFolderViewDual2'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{31C147B6-0ADE-4A3C-B514-DDF932EF6D17}' failed due to the following error: No such interface supported (0x80004002 (E_NOINTERFACE)). ERROR: 10:27:13.8259600 [Method]: Initialize [Class]: MainWindowViewModel Failed to get File Explorer Items: Unable to cast COM object of type 'System.__ComObject' to interface type 'Shell32.IShellFolderViewDual2'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{31C147B6-0ADE-4A3C-B514-DDF932EF6D17}' failed due to the following error: No such interface supported (0x80004002 (E_NOINTERFACE)). ERROR: 10:27:14.6102383 [Method]: Initialize [Class]: MainWindowViewModel Failed to get File Explorer Items: Unable to cast COM object of type 'System.__ComObject' to interface type 'Shell32.IShellFolderViewDual2'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{31C147B6-0ADE-4A3C-B514-DDF932EF6D17}' failed due to the following error: No such interface supported (0x80004002 (E_NOINTERFACE)). ERROR: 10:27:14.8688398 [Method]: Initialize [Class]: MainWindowViewModel Failed to get File Explorer Items: Unable to cast COM object of type 'System.__ComObject' to interface type 'Shell32.IShellFolderViewDual2'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{31C147B6-0ADE-4A3C-B514-DDF932EF6D17}' failed due to the following error: No such interface supported (0x80004002 (E_NOINTERFACE)). ERROR: 10:27:15.0560716 [Method]: Initialize [Class]: MainWindowViewModel Failed to get File Explorer Items: Unable to cast COM object of type 'System.__ComObject' to interface type 'Shell32.IShellFolderViewDual2'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{31C147B6-0ADE-4A3C-B514-DDF932EF6D17}' failed due to the following error: No such interface supported (0x80004002 (E_NOINTERFACE)). ERROR: 10:27:15.2298005 [Method]: Initialize [Class]: MainWindowViewModel Failed to get File Explorer Items: Unable to cast COM object of type 'System.__ComObject' to interface type 'Shell32.IShellFolderViewDual2'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{31C147B6-0ADE-4A3C-B514-DDF932EF6D17}' failed due to the following error: No such interface supported (0x80004002 (E_NOINTERFACE)). ERROR: 10:27:15.3959986 [Method]: Initialize [Class]: MainWindowViewModel Failed to get File Explorer Items: Unable to cast COM object of type 'System.__ComObject' to interface type 'Shell32.IShellFolderViewDual2'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{31C147B6-0ADE-4A3C-B514-DDF932EF6D17}' failed due to the following error: No such interface supported (0x80004002 (E_NOINTERFACE)). ERROR: 10:27:15.5395206 [Method]: Initialize [Class]: MainWindowViewModel Failed to get File Explorer Items: Unable to cast COM object of type 'System.__ComObject' to interface type 'Shell32.IShellFolderViewDual2'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{31C147B6-0ADE-4A3C-B514-DDF932EF6D17}' failed due to the following error: No such interface supported (0x80004002 (E_NOINTERFACE)). ERROR: 10:27:15.6985922 [Method]: Initialize [Class]: MainWindowViewModel Failed to get File Explorer Items: Unable to cast COM object of type 'System.__ComObject' to interface type 'Shell32.IShellFolderViewDual2'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{31C147B6-0ADE-4A3C-B514-DDF932EF6D17}' failed due to the following error: No such interface supported (0x80004002 (E_NOINTERFACE)). ERROR: 10:27:15.8504588 [Method]: Initialize [Class]: MainWindowViewModel Failed to get File Explorer Items: Unable to cast COM object of type 'System.__ComObject' to interface type 'Shell32.IShellFolderViewDual2'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{31C147B6-0ADE-4A3C-B514-DDF932EF6D17}' failed due to the following error: No such interface supported (0x80004002 (E_NOINTERFACE)). ERROR: 10:40:58.3392508 [Method]: Initialize [Class]: MainWindowViewModel Failed to get File Explorer Items: Unable to cast COM object of type 'System.__ComObject' to interface type 'Shell32.IShellFolderViewDual2'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{31C147B6-0ADE-4A3C-B514-DDF932EF6D17}' failed due to the following error: No such interface supported (0x80004002 (E_NOINTERFACE)). ERROR: 10:41:19.2022613 [Method]: Initialize [Class]: MainWindowViewModel Failed to get File Explorer Items: Unable to cast COM object of type 'System.__ComObject' to interface type 'Shell32.IShellFolderViewDual2'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{31C147B6-0ADE-4A3C-B514-DDF932EF6D17}' failed due to the following error: No such interface supported (0x80004002 (E_NOINTERFACE)). ERROR: 10:41:21.9058373 [Method]: Initialize [Class]: MainWindowViewModel Failed to get File Explorer Items: Unable to cast COM object of type 'System.__ComObject' to interface type 'Shell32.IShellFolderViewDual2'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{31C147B6-0ADE-4A3C-B514-DDF932EF6D17}' failed due to the following error: No such interface supported (0x80004002 (E_NOINTERFACE)). ERROR: 10:41:30.7644566 [Method]: Initialize [Class]: MainWindowViewModel Failed to get File Explorer Items: Unable to cast COM object of type 'System.__ComObject' to interface type 'Shell32.IShellFolderViewDual2'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{31C147B6-0ADE-4A3C-B514-DDF932EF6D17}' failed due to the following error: No such interface supported (0x80004002 (E_NOINTERFACE)). ERROR: 10:41:47.5813429 [Method]: Initialize [Class]: MainWindowViewModel Failed to get File Explorer Items: Unable to cast COM object of type 'System.__ComObject' to interface type 'Shell32.IShellFolderViewDual2'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{31C147B6-0ADE-4A3C-B514-DDF932EF6D17}' failed due to the following error: No such interface supported (0x80004002 (E_NOINTERFACE)). ERROR: 10:41:56.5887443 [Method]: Initialize [Class]: MainWindowViewModel Failed to get File Explorer Items: Unable to cast COM object of type 'System.__ComObject' to interface type 'Shell32.IShellFolderViewDual2'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{31C147B6-0ADE-4A3C-B514-DDF932EF6D17}' failed due to the following error: No such interface supported (0x80004002 (E_NOINTERFACE)).

crutkas avatar Jul 30 '23 17:07 crutkas

@chippie can you give us a report as well?

crutkas avatar Jul 30 '23 17:07 crutkas

https://github.com/microsoft/PowerToys/issues/26256 Had same failure

crutkas avatar Jul 30 '23 18:07 crutkas

@chippie can you give us a report as well?

Unfortunately I am away from home now and will not be back for a few weeks, sorry 😔

Thanks, Mark.

chippie avatar Jul 30 '23 18:07 chippie

This has been worked on during the 0.79.0 release cycle. Please update to the latest: https://github.com/microsoft/PowerToys/releases

jaimecbernardo avatar Mar 07 '24 14:03 jaimecbernardo