indiff / qttabbar

QTTabBar is a small tool that allows you to use tab multi label function in Windows Explorer. https://www.yuque.com/indiff/qttabbar
https://indiff.github.io/qttabbar/
GNU General Public License v3.0
3.72k stars 269 forks source link

Problem with Explorer crash after clicking the option #308

Open Vios777 opened 1 year ago

Vios777 commented 1 year ago

Problem with Explorer crash after clicking the option. I tried to install different versions of the program, Issue is not fixed. I have windows 10 64x. QTTabBarException.log

indiff commented 1 year ago

抱歉,现在还不支持 .net framework 4.0.30319.42000

Sorry, the. net framework 4.0.30319.42000 is not supported yet. You need to enable. net framework 3.5 and download the appropriate version

Vios777 commented 1 year ago

Thanks for the answer. How do I enable framework 3.5? And which version do I need to download? the last one?

qwop commented 1 year ago

This is a video , you can install like it https://www.ixigua.com/7154932467751879183 and this is a document

https://www.yuque.com/indiff/qttabbar/felbw0

从 Windows 版邮件https://go.microsoft.com/fwlink/?LinkId=550986发送

发件人: @.> 发送时间: 2023年2月14日 下午 9:55 收件人: @.> 抄送: @.***> 主题: Re: [indiff/qttabbar] Problem with Explorer crash after clicking the option (Issue #308)

Thanks for the answer. How do I enable framework 3.5? And which version do I need to download? the last one?

― Reply to this email directly, view it on GitHubhttps://github.com/indiff/qttabbar/issues/308#issuecomment-1429784601, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AALYWA775CTDCUCAATCADHLWXOFGFANCNFSM6AAAAAAU2QYGQM. You are receiving this because you are subscribed to this thread.Message ID: @.***>

photkey commented 1 year ago

@indiff 同样的问题,Win11,QTTabBar.Setup_v1.5.5-beta.9_zh.2023 image

image

2023/1/15 12:40:08
.NET 版本: 2.0.50727.9164
操作系统版本: 10.0.22621.0 Major: 10 环境: 64
QT 版本: DevBuild: 2022/11/4 23:59:00 (2.0.50727.9164)
错误信息: ShellMethods GetLinkTargetPath

Message ---
拒绝访问。 (异常来自 HRESULT:0x80070005 (E_ACCESSDENIED))
HelpLink ---

Source ---
mscorlib
StackTrace ---
   在 System.Runtime.InteropServices.ComTypes.IPersistFile.Load(String pszFileName, Int32 dwMode)
   在 QTTabBarLib.Interop.ShellMethods.GetLinkTargetPath(String lnkPath)
TargetSite ---
Void Load(System.String, Int32)--------------

2023/1/15 12:40:08
.NET 版本: 2.0.50727.9164
操作系统版本: 10.0.22621.0 Major: 10 环境: 64
QT 版本: DevBuild: 2022/11/4 23:59:00 (2.0.50727.9164)
错误信息: ShellMethods _ShellLinkObject

Message ---
拒绝访问。 (异常来自 HRESULT:0x80070005 (E_ACCESSDENIED))
HelpLink ---

Source ---
mscorlib
StackTrace ---
   在 System.Runtime.InteropServices.ComTypes.IPersistFile.Load(String pszFileName, Int32 dwMode)
   在 QTTabBarLib.Interop.ShellMethods.GetLinkTargetIDL(String lnkPath)
TargetSite ---
Void Load(System.String, Int32)--------------

2023/1/15 12:40:13
.NET 版本: 2.0.50727.9164
操作系统版本: 10.0.22621.0 Major: 10 环境: 64
QT 版本: DevBuild: 2022/11/4 23:59:00 (2.0.50727.9164)
错误信息: ShellMethods GetLinkTargetPath

Message ---
拒绝访问。 (异常来自 HRESULT:0x80070005 (E_ACCESSDENIED))
HelpLink ---

Source ---
mscorlib
StackTrace ---
   在 System.Runtime.InteropServices.ComTypes.IPersistFile.Load(String pszFileName, Int32 dwMode)
   在 QTTabBarLib.Interop.ShellMethods.GetLinkTargetPath(String lnkPath)
TargetSite ---
Void Load(System.String, Int32)--------------

2023/1/15 12:40:13
.NET 版本: 2.0.50727.9164
操作系统版本: 10.0.22621.0 Major: 10 环境: 64
QT 版本: DevBuild: 2022/11/4 23:59:00 (2.0.50727.9164)
错误信息: ShellMethods _ShellLinkObject

Message ---
拒绝访问。 (异常来自 HRESULT:0x80070005 (E_ACCESSDENIED))
HelpLink ---

Source ---
mscorlib
StackTrace ---
   在 System.Runtime.InteropServices.ComTypes.IPersistFile.Load(String pszFileName, Int32 dwMode)
   在 QTTabBarLib.Interop.ShellMethods.GetLinkTargetIDL(String lnkPath)
TargetSite ---
Void Load(System.String, Int32)--------------

2023/1/15 15:06:59
.NET 版本: 2.0.50727.9164
操作系统版本: 10.0.22621.0 Major: 10 环境: 64
QT 版本: DevBuild: 2022/11/4 23:59:00 (2.0.50727.9164)
错误信息: Failed navigation: D:\MySoft\Geek\nirsoft
Exception: None
   在 System.Environment.get_StackTrace()
   在 QTTabBarLib.QTUtility2.MakeErrorLog(Exception ex, String optional)
   在 QTTabBarLib.QTTabBarClass.ShowMessageNavCanceled(String failedPath, Boolean fModal)
   在 QTTabBarLib.QTTabBarClass.tabControl1_SelectedIndexChanged(Object sender, EventArgs e)
   在 QTTabBarLib.QTabControl.ChangeSelection(QTabItem tabToSelect, Int32 index)
   在 QTTabBarLib.QTabControl.OnMouseDown(MouseEventArgs e)
   在 System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   在 System.Windows.Forms.Control.WndProc(Message& m)
   在 QTTabBarLib.QTabControl.WndProc(Message& m)
   在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
--------------

2023/1/17 16:53:05
.NET 版本: 2.0.50727.9164
操作系统版本: 10.0.22621.0 Major: 10 环境: 64
QT 版本: DevBuild: 2022/11/4 23:59:00 (2.0.50727.9164)
错误信息: Failed navigation: D:\MySoft\RunAny\Python\startup\templates\www.nationsonline.org
Exception: None
   在 System.Environment.get_StackTrace()
   在 QTTabBarLib.QTUtility2.MakeErrorLog(Exception ex, String optional)
   在 QTTabBarLib.QTTabBarClass.ShowMessageNavCanceled(String failedPath, Boolean fModal)
   在 QTTabBarLib.QTTabBarClass.tabControl1_SelectedIndexChanged(Object sender, EventArgs e)
   在 QTTabBarLib.QTabControl.ChangeSelection(QTabItem tabToSelect, Int32 index)
   在 QTTabBarLib.QTabControl.OnMouseDown(MouseEventArgs e)
   在 System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   在 System.Windows.Forms.Control.WndProc(Message& m)
   在 QTTabBarLib.QTabControl.WndProc(Message& m)
   在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
--------------

2023/1/28 16:41:32
.NET 版本: 2.0.50727.9164
操作系统版本: 10.0.22621.0 Major: 10 环境: 64
QT 版本: DevBuild: 2022/11/4 23:59:00 (2.0.50727.9164)
错误信息: Failed navigation: D:\DevScript\googlesearch\.venv\Lib\site-packages
Exception: None
   在 System.Environment.get_StackTrace()
   在 QTTabBarLib.QTUtility2.MakeErrorLog(Exception ex, String optional)
   在 QTTabBarLib.QTTabBarClass.ShowMessageNavCanceled(String failedPath, Boolean fModal)
   在 QTTabBarLib.QTTabBarClass.tabControl1_SelectedIndexChanged(Object sender, EventArgs e)
   在 QTTabBarLib.QTabControl.ChangeSelection(QTabItem tabToSelect, Int32 index)
   在 QTTabBarLib.QTabControl.OnMouseDown(MouseEventArgs e)
   在 System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   在 System.Windows.Forms.Control.WndProc(Message& m)
   在 QTTabBarLib.QTabControl.WndProc(Message& m)
   在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
--------------

2023/2/2 18:55:45
.NET 版本: 2.0.50727.9164
操作系统版本: 10.0.22621.0 Major: 10 环境: 64
QT 版本: DevBuild: 2022/11/4 23:59:00 (2.0.50727.9164)
错误信息: ShellMethods GetLinkTargetPath

Message ---
拒绝访问。 (异常来自 HRESULT:0x80070005 (E_ACCESSDENIED))
HelpLink ---

Source ---
mscorlib
StackTrace ---
   在 System.Runtime.InteropServices.ComTypes.IPersistFile.Load(String pszFileName, Int32 dwMode)
   在 QTTabBarLib.Interop.ShellMethods.GetLinkTargetPath(String lnkPath)
TargetSite ---
Void Load(System.String, Int32)--------------

2023/2/2 18:55:45
.NET 版本: 2.0.50727.9164
操作系统版本: 10.0.22621.0 Major: 10 环境: 64
QT 版本: DevBuild: 2022/11/4 23:59:00 (2.0.50727.9164)
错误信息: ShellMethods _ShellLinkObject

Message ---
拒绝访问。 (异常来自 HRESULT:0x80070005 (E_ACCESSDENIED))
HelpLink ---

Source ---
mscorlib
StackTrace ---
   在 System.Runtime.InteropServices.ComTypes.IPersistFile.Load(String pszFileName, Int32 dwMode)
   在 QTTabBarLib.Interop.ShellMethods.GetLinkTargetIDL(String lnkPath)
TargetSite ---
Void Load(System.String, Int32)--------------

2023/2/3 14:32:50
.NET 版本: 2.0.50727.9164
操作系统版本: 10.0.22621.0 Major: 10 环境: 64
QT 版本: DevBuild: 2022/11/4 23:59:00 (2.0.50727.9164)
错误信息: Failed navigation: D:\MySoft\nirsoft_package_schinese_2
Exception: None
   在 System.Environment.get_StackTrace()
   在 QTTabBarLib.QTUtility2.MakeErrorLog(Exception ex, String optional)
   在 QTTabBarLib.QTTabBarClass.ShowMessageNavCanceled(String failedPath, Boolean fModal)
   在 QTTabBarLib.QTTabBarClass.tabControl1_SelectedIndexChanged(Object sender, EventArgs e)
   在 QTTabBarLib.QTabControl.ChangeSelection(QTabItem tabToSelect, Int32 index)
   在 QTTabBarLib.QTabControl.OnMouseDown(MouseEventArgs e)
   在 System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   在 System.Windows.Forms.Control.WndProc(Message& m)
   在 QTTabBarLib.QTabControl.WndProc(Message& m)
   在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
--------------

2023/2/6 8:19:34
.NET 版本: 2.0.50727.9164
操作系统版本: 10.0.22621.0 Major: 10 环境: 64
QT 版本: DevBuild: 2022/11/4 23:59:00 (2.0.50727.9164)
错误信息: Failed navigation: D:\Scoop\User\apps\vscode\1.73.1
Exception: None
   在 System.Environment.get_StackTrace()
   在 QTTabBarLib.QTUtility2.MakeErrorLog(Exception ex, String optional)
   在 QTTabBarLib.QTTabBarClass.ShowMessageNavCanceled(String failedPath, Boolean fModal)
   在 QTTabBarLib.QTTabBarClass.tabControl1_SelectedIndexChanged(Object sender, EventArgs e)
   在 QTTabBarLib.QTabControl.ChangeSelection(QTabItem tabToSelect, Int32 index)
   在 QTTabBarLib.QTabControl.OnMouseDown(MouseEventArgs e)
   在 System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   在 System.Windows.Forms.Control.WndProc(Message& m)
   在 QTTabBarLib.QTabControl.WndProc(Message& m)
   在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
--------------

2023/2/6 9:27:15
.NET 版本: 2.0.50727.9164
操作系统版本: 10.0.22621.0 Major: 10 环境: 64
QT 版本: DevBuild: 2022/11/4 23:59:00 (2.0.50727.9164)
错误信息: Failed navigation: D:\Scoop\User\apps\vscode\1.75.0\data\user-data\User
Exception: None
   在 System.Environment.get_StackTrace()
   在 QTTabBarLib.QTUtility2.MakeErrorLog(Exception ex, String optional)
   在 QTTabBarLib.QTTabBarClass.ShowMessageNavCanceled(String failedPath, Boolean fModal)
   在 QTTabBarLib.QTTabBarClass.tabControl1_SelectedIndexChanged(Object sender, EventArgs e)
   在 QTTabBarLib.QTabControl.ChangeSelection(QTabItem tabToSelect, Int32 index)
   在 QTTabBarLib.QTabControl.OnMouseDown(MouseEventArgs e)
   在 System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   在 System.Windows.Forms.Control.WndProc(Message& m)
   在 QTTabBarLib.QTabControl.WndProc(Message& m)
   在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
--------------

2023/2/14 8:30:57
.NET 版本: 2.0.50727.9164
操作系统版本: 10.0.22621.0 Major: 10 环境: 64
QT 版本: DevBuild: 2022/11/4 23:59:00 (2.0.50727.9164)
错误信息: ShellMethods GetLinkTargetPath

Message ---
拒绝访问。 (异常来自 HRESULT:0x80070005 (E_ACCESSDENIED))
HelpLink ---

Source ---
mscorlib
StackTrace ---
   在 System.Runtime.InteropServices.ComTypes.IPersistFile.Load(String pszFileName, Int32 dwMode)
   在 QTTabBarLib.Interop.ShellMethods.GetLinkTargetPath(String lnkPath)
TargetSite ---
Void Load(System.String, Int32)--------------

2023/2/14 8:30:57
.NET 版本: 2.0.50727.9164
操作系统版本: 10.0.22621.0 Major: 10 环境: 64
QT 版本: DevBuild: 2022/11/4 23:59:00 (2.0.50727.9164)
错误信息: ShellMethods _ShellLinkObject

Message ---
拒绝访问。 (异常来自 HRESULT:0x80070005 (E_ACCESSDENIED))
HelpLink ---

Source ---
mscorlib
StackTrace ---
   在 System.Runtime.InteropServices.ComTypes.IPersistFile.Load(String pszFileName, Int32 dwMode)
   在 QTTabBarLib.Interop.ShellMethods.GetLinkTargetIDL(String lnkPath)
TargetSite ---
Void Load(System.String, Int32)--------------

[flog]  C:AutoLoader    M:ActivateIt    P:1132  T:1 cost:2.001毫秒    2023/2/14 23:02:16  QTTabBar AutoLoader add ActivationDate
2023/2/14 23:06:09
.NET 版本: 2.0.50727.9164
操作系统版本: 10.0.22621.0 Major: 10 环境: 64
QT 版本: DevBuild: 2023/2/14 21:59:26 (2.0.50727.9164)
错误信息: 获取选中文件数据

Message ---
找不到元素。 (异常来自 HRESULT:0x80070490)
HelpLink ---

Source ---
QTTabBar
StackTrace ---
   在 QTTabBarLib.Interop.IShellView.GetItemObject(UInt32 uItem, Guid& riid, Object& ppv)
   在 QTTabBarLib.QTTabBarClass.ListView_SelectionChanged()
TargetSite ---
Void GetItemObject(UInt32, System.Guid ByRef, System.Object ByRef)--------------

[flog]  C:LangEntry M:Reset P:7076  T:9 cost:1.9901毫秒   2023/2/14 23:08:26  *** TextResourcesDic not contains key Version_LangFile
[flog]  C:LangEntry M:Reset P:5172  T:13    cost:2.0254毫秒   2023/2/14 23:08:41  *** TextResourcesDic not contains key Version_LangFile
[flog]  C:LangEntry M:Reset P:9048  T:13    cost:2毫秒    2023/2/14 23:11:33  *** TextResourcesDic not contains key Version_LangFile
2023/2/14 23:11:47
.NET 版本: 2.0.50727.9164
操作系统版本: 10.0.22621.0 Major: 10 环境: 64
QT 版本: DevBuild: 2023/2/14 21:59:26 (2.0.50727.9164)
错误信息: Failed navigation: D:\Scoop\User\apps\nirlauncher\current\NirSoft
Exception: None
   在 System.Environment.get_StackTrace()
   在 QTTabBarLib.QTUtility2.MakeErrorLog(Exception ex, String optional)
   在 QTTabBarLib.QTTabBarClass.ShowMessageNavCanceled(String failedPath, Boolean fModal)
   在 QTTabBarLib.QTTabBarClass.tabControl1_SelectedIndexChanged(Object sender, EventArgs e)
   在 QTTabBarLib.QTabControl.ChangeSelection(QTabItem tabToSelect, Int32 index)
   在 QTTabBarLib.QTTabBarClass.OpenNewTab(IDLWrapper idlwGiven, Boolean blockSelecting, Boolean fForceNew)
   在 QTTabBarLib.QTTabBarClass.DoBindAction(BindAction action, Boolean fRepeat, QTabItem tab, IDLWrapper item)
   在 QTTabBarLib.QTTabBarClass.ListView_MiddleClick(Point pt)
   在 QTTabBarLib.ExtendedListViewCommon.ListViewController_MessageCaptured(Message& msg)
   在 QTTabBarLib.ExtendedItemsView.ListViewController_MessageCaptured(Message& msg)
   在 QTTabBarLib.NativeWindowController.WndProc(Message& m)
   在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
--------------

[flog]  C:LangEntry M:Reset P:3524  T:9 cost:2.0015毫秒   2023/2/14 23:12:17  *** TextResourcesDic not contains key Version_LangFile
2023/2/14 23:17:19
.NET 版本: 2.0.50727.9164
操作系统版本: 10.0.22621.0 Major: 10 环境: 64
QT 版本: DevBuild: 2023/2/14 21:59:26 (2.0.50727.9164)
错误信息: msg=0x6 (WM_ACTIVATE) hwnd=0x40f90 wparam=0x1 lparam=0x0 result=0x0

Message ---
在创建窗口句柄之前,不能在控件上调用 Invoke 或 BeginInvoke。
HelpLink ---

Source ---
System.Windows.Forms
StackTrace ---
   在 System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
   在 System.Windows.Forms.Control.BeginInvoke(Delegate method, Object[] args)
   在 QTTabBarLib.QTTabBarClass.explorerController_MessageCaptured(Message& msg)
   在 QTTabBarLib.NativeWindowController.WndProc(Message& m)
TargetSite ---
System.Object MarshaledInvoke(System.Windows.Forms.Control, System.Delegate, System.Object[], Boolean)--------------

2023/2/14 23:17:22
.NET 版本: 2.0.50727.9164
操作系统版本: 10.0.22621.0 Major: 10 环境: 64
QT 版本: DevBuild: 2023/2/14 21:59:26 (2.0.50727.9164)
错误信息: msg=0x6 (WM_ACTIVATE) hwnd=0x40f90 wparam=0x200001 lparam=0x0 result=0x0

Message ---
在创建窗口句柄之前,不能在控件上调用 Invoke 或 BeginInvoke。
HelpLink ---

Source ---
System.Windows.Forms
StackTrace ---
   在 System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
   在 System.Windows.Forms.Control.BeginInvoke(Delegate method, Object[] args)
   在 QTTabBarLib.QTTabBarClass.explorerController_MessageCaptured(Message& msg)
   在 QTTabBarLib.NativeWindowController.WndProc(Message& m)
TargetSite ---
System.Object MarshaledInvoke(System.Windows.Forms.Control, System.Delegate, System.Object[], Boolean)--------------

2023/2/14 23:17:23
.NET 版本: 2.0.50727.9164
操作系统版本: 10.0.22621.0 Major: 10 环境: 64
QT 版本: DevBuild: 2023/2/14 21:59:26 (2.0.50727.9164)
错误信息: msg=0x6 (WM_ACTIVATE) hwnd=0x40f90 wparam=0x1 lparam=0x0 result=0x0

Message ---
在创建窗口句柄之前,不能在控件上调用 Invoke 或 BeginInvoke。
HelpLink ---

Source ---
System.Windows.Forms
StackTrace ---
   在 System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
   在 System.Windows.Forms.Control.BeginInvoke(Delegate method, Object[] args)
   在 QTTabBarLib.QTTabBarClass.explorerController_MessageCaptured(Message& msg)
   在 QTTabBarLib.NativeWindowController.WndProc(Message& m)
TargetSite ---
System.Object MarshaledInvoke(System.Windows.Forms.Control, System.Delegate, System.Object[], Boolean)--------------

[flog]  C:LangEntry M:Reset P:19368 T:17    cost:2.0002毫秒   2023/2/14 23:17:27  *** TextResourcesDic not contains key Version_LangFile
[flog]  C:LangEntry M:Reset P:2900  T:13    cost:1毫秒    2023/2/14 23:17:37  *** TextResourcesDic not contains key Version_LangFile
[flog]  C:LangEntry M:Reset P:7360  T:6 cost:0.9997毫秒   2023/2/14 23:19:35  *** TextResourcesDic not contains key Version_LangFile
Vios777 commented 1 year ago

I did the same, the problem is not solved. Screenshot_1

horacioj commented 1 year ago

Same. It crashes all the time (QTTabBar 1.5.5.0 Beta 9, no plugins enabled. I tried installed the version with and without plugins). Win 10 Home 22H2, .Net framework installed (all versions, this is a developer machine), I tried with "capture new explorer windows as new tabs" enabled or disabled. I thought this could make QTTabBar crash less times, but it crashes all the times anyway.

QTTabBarException.log

I hope this helps :)

Thanks!