Just Manager Forum

Official Just Manager forum

You are not logged in.

#1 2026-06-02 23:02:37

navigat0r
Member
Registered: 2013-02-13
Posts: 185

incorrect New context menu with deeply nested folders

I did some tests with nested folders.

1: OK:
2026-06-03-00h56-28.png

2. NOK, cannot longer create Shortcut, Bitmap, Textdoc, Zip-File and Folder icon changed:
2026-06-03-00h56-43.png
a sub folder can still be created


Win10/11

Offline

#2 2026-06-02 23:41:52

navigat0r
Member
Registered: 2013-02-13
Posts: 185

Re: incorrect New context menu with deeply nested folders

the same issue in Windows Explorer, copy/move does not work:
2026-06-03-01h24-33.png

meanwhile other FM:
2026-06-03-01h16-29.gif

another FM:
2026-06-03-01h29-53.gif


OK, so it seems the issue is caused by the long file name. Anyway, I would expect JM to throw an error message:
2026-06-03-01h36-39.gif

DEBUG 03.06.2026 01:35:50.721  9316 COperationsManager::HDROP_DragAndDropIn: to: C:\Temp\DeepNestedFolders\level_1\level_2\level_3, IDataObject: 0000000002181990, effect: Copy (1)
TRACE 03.06.2026 01:35:50.721  9316 CUtils::GetHDROPItems: count: 1, buffer size: 106, time: 0,000 s
TRACE 03.06.2026 01:35:50.721  9316 CUtils::GetAsyncOperation: IDataObject: 0000000002181990, async: true (-1)
DEBUG 03.06.2026 01:35:50.721  9316 COperationsManager::HDROP_DragAndDropIn: Async operation
DEBUG 03.06.2026 01:35:50.721  9316 COperationsManager::AddFileOperation: New operation: 000000000FDC1AC0, type: ShellCopy
DEBUG 03.06.2026 01:35:50.721  9316 CUtils::_DoDragDrop: Operation will be performed asynchronously, IAsyncOperation: 00000000021F4620, IDataObject: 0000000002181990
TRACE 03.06.2026 01:36:14.588  9316 CUtils::CreateShellIDList: count: 15, time: 0,001 s
DEBUG 03.06.2026 01:36:14.588  9316 CUtils::_DoDragDrop: Performing drag-and-drop, IDataObject: 0000000002181A20, effect: Copy|Move|Link (7)
TRACE 03.06.2026 01:36:14.592  9316 CPanelViewDropTarget::DragEnter: effect: Copy|Move|Link (7)
TRACE 03.06.2026 01:36:14.592  9316 CUtils::GetHDROPItems: count: 15, buffer size: 5048, time: 0,000 s
TRACE 03.06.2026 01:36:14.603  9316 CPanelViewDropTarget::DragEnter: effect: Copy|Move|Link (7)
TRACE 03.06.2026 01:36:14.603  9316 CUtils::GetHDROPItems: count: 15, buffer size: 5048, time: 0,000 s
TRACE 03.06.2026 01:36:15.396  9316 COperationsManager::DragAndDropIn: IDataObject: 0000000002181A20, effect: Copy (1)
DEBUG 03.06.2026 01:36:15.396  9316 COperationsManager::HDROP_DragAndDropIn: to: C:\Temp\DeepNestedFolders\level_1\level_2\level_3\level_4\level_5\level_6\level_7\level_8\level_9\level_10\level_11\level_12\level_13\level_14\level_15\level_16\level_17\level_18\level_19\level_20\level_21\level_22\level_23\level_24\level_25\New folder\New folder\#\New folder\New folder\New folder\New folder\test1, IDataObject: 0000000002181A20, effect: Copy (1)
TRACE 03.06.2026 01:36:15.396  9316 CUtils::GetHDROPItems: count: 15, buffer size: 5048, time: 0,000 s
TRACE 03.06.2026 01:36:15.396  9316 CUtils::GetAsyncOperation: IDataObject: 0000000002181A20, async: true (-1)
DEBUG 03.06.2026 01:36:15.396  9316 COperationsManager::HDROP_DragAndDropIn: Async operation
DEBUG 03.06.2026 01:36:15.396  9316 COperationsManager::AddFileOperation: New operation: 000000000224E210, type: ShellCopy
DEBUG 03.06.2026 01:36:15.398  9316 CUtils::_DoDragDrop: Operation will be performed asynchronously, IAsyncOperation: 00000000021F40E0, IDataObject: 0000000002181A20
TRACE 03.06.2026 01:36:22.413  9316 CUtils::CreateShellIDList: count: 15, time: 0,002 s
DEBUG 03.06.2026 01:36:22.415  9316 CUtils::_DoDragDrop: Performing drag-and-drop, IDataObject: 0000000002181AB0, effect: Copy|Move|Link (7)
TRACE 03.06.2026 01:36:22.415  9316 CPanelViewDropTarget::DragEnter: effect: Copy|Move|Link (7)
TRACE 03.06.2026 01:36:22.415  9316 CUtils::GetHDROPItems: count: 15, buffer size: 5048, time: 0,000 s
TRACE 03.06.2026 01:36:22.461  9316 CPanelViewDropTarget::DragEnter: effect: Copy|Move|Link (7)
TRACE 03.06.2026 01:36:22.461  9316 CUtils::GetHDROPItems: count: 15, buffer size: 5048, time: 0,000 s
TRACE 03.06.2026 01:36:23.733  9316 COperationsManager::DragAndDropIn: IDataObject: 0000000002181AB0, effect: Copy (1)
DEBUG 03.06.2026 01:36:23.733  9316 COperationsManager::HDROP_DragAndDropIn: to: C:\Temp\DeepNestedFolders\level_1\level_2\level_3, IDataObject: 0000000002181AB0, effect: Copy (1)
TRACE 03.06.2026 01:36:23.733  9316 CUtils::GetHDROPItems: count: 15, buffer size: 5048, time: 0,000 s
TRACE 03.06.2026 01:36:23.733  9316 CUtils::GetAsyncOperation: IDataObject: 0000000002181AB0, async: true (-1)
DEBUG 03.06.2026 01:36:23.733  9316 COperationsManager::HDROP_DragAndDropIn: Async operation
DEBUG 03.06.2026 01:36:23.733  9316 COperationsManager::AddFileOperation: New operation: 000000000224EF40, type: ShellCopy
DEBUG 03.06.2026 01:36:23.735  9316 CUtils::_DoDragDrop: Operation will be performed asynchronously, IAsyncOperation: 00000000021F4530, IDataObject: 0000000002181AB0
TRACE 03.06.2026 01:36:25.683  9316 CShellContextMenu::QueryMenu: QueryContextMenu time: 0,077 s, items: 7
TRACE 03.06.2026 01:36:27.917 14136 CUpdateListenerThread::UpdateItems: panel: 1, updates: 1, view updates: 1, time: 0,001 s
TRACE 03.06.2026 01:36:27.917  9316 CView::UpdateViewAfterFolderUpdate: time: 0,000 s
TRACE 03.06.2026 01:36:31.910  9316 CUtils::CreateShellIDList: count: 15, time: 0,001 s
DEBUG 03.06.2026 01:36:31.910  9316 CUtils::_DoDragDrop: Performing drag-and-drop, IDataObject: 0000000002181B40, effect: Copy|Move|Link (7)
TRACE 03.06.2026 01:36:31.917  9316 CPanelViewDropTarget::DragEnter: effect: Copy|Move|Link (7)
TRACE 03.06.2026 01:36:31.917  9316 CUtils::GetHDROPItems: count: 15, buffer size: 5048, time: 0,000 s
TRACE 03.06.2026 01:36:31.941  9316 CPanelViewDropTarget::DragEnter: effect: Copy|Move|Link (7)
TRACE 03.06.2026 01:36:31.941  9316 CUtils::GetHDROPItems: count: 15, buffer size: 5048, time: 0,000 s
TRACE 03.06.2026 01:36:32.686  9316 COperationsManager::DragAndDropIn: IDataObject: 0000000002181B40, effect: Copy (1)
DEBUG 03.06.2026 01:36:32.686  9316 COperationsManager::HDROP_DragAndDropIn: to: C:\Temp\DeepNestedFolders\level_1\level_2\level_3, IDataObject: 0000000002181B40, effect: Copy (1)
TRACE 03.06.2026 01:36:32.686  9316 CUtils::GetHDROPItems: count: 15, buffer size: 5048, time: 0,000 s
TRACE 03.06.2026 01:36:32.686  9316 CUtils::GetAsyncOperation: IDataObject: 0000000002181B40, async: true (-1)
DEBUG 03.06.2026 01:36:32.686  9316 COperationsManager::HDROP_DragAndDropIn: Async operation
DEBUG 03.06.2026 01:36:32.686  9316 COperationsManager::AddFileOperation: New operation: 000000000224BB70, type: ShellCopy
DEBUG 03.06.2026 01:36:32.686  9316 CUtils::_DoDragDrop: Operation will be performed asynchronously, IAsyncOperation: 00000000021F4680, IDataObject: 0000000002181B40
INFO  03.06.2026 01:36:47.922  9316 CPanelManager::StartExplore: panel: 8, task: 000000000218C0D0, type: Explore, action: Internal, path: C:\Temp\DeepNestedFolders\level_1\level_2\level_3
DEBUG 03.06.2026 01:36:47.922  9316 CDataProvider::StartExplore: task: 000000000218C0D0, thread 1792 started
TRACE 03.06.2026 01:36:47.922  1792 CItemsExploreThread::Run: started, task: 000000000218C0D0
TRACE 03.06.2026 01:36:47.924  1792 CItemsExploreThread::Run: finished, task: 000000000218C0D0, time: 0,001 s
DEBUG 03.06.2026 01:36:47.928  9316 CDataProvider::OnEndExplore: task: 000000000218C0D0, thread 1792 finished
DEBUG 03.06.2026 01:36:47.928  9316 CPanelManager::OnEndExplore: panel: 8, task: 000000000218C0D0
TRACE 03.06.2026 01:36:47.930  9316 CPanelDoc::StartUpdateThreads: UpdateListenerThread started: 14332, panel: 8
TRACE 03.06.2026 01:36:47.930  9316 CPanelDoc::StartUpdateThreads: FolderChangeNotifyThread started: 6204, panel: 8
TRACE 03.06.2026 01:36:47.930  8976 CIconsExploreThread::Run: status: finished, panel: 8, time: 0,000 s


Win10/11

Offline

#3 2026-06-03 00:08:55

navigat0r
Member
Registered: 2013-02-13
Posts: 185

Re: incorrect New context menu with deeply nested folders

OK, more tests, delete by hotkey (del) does not work, from context menu seems to work:
2026-06-03-02h00-25.gif


Win10/11

Offline

#4 2026-06-03 11:47:51

nleontiev
Lead developer
From: SPb
Registered: 2012-09-19
Posts: 1,233
Website

Re: incorrect New context menu with deeply nested folders

navigat0r wrote:

2. NOK, cannot longer create Shortcut, Bitmap, Textdoc, Zip-File and Folder icon changed:

navigat0r wrote:

the same issue in Windows Explorer

It's standard folder background context menu that is populated by the Shell. JM doesn't change this menu. As you can see, Explorer displays the same New submenu.
On Windows 7, New submenu is the same for the long paths, but commands produce "Destination Path To Long" error.

navigat0r wrote:

OK, so it seems the issue is caused by the long file name. Anyway, I would expect JM to throw an error message:

navigat0r wrote:

OK, more tests, delete by hotkey (del) does not work, from context menu seems to work:

According to your log, file operations are not started at all:

DEBUG 03.06.2026 01:36:32.686  9316 COperationsManager::AddFileOperation: New operation: 000000000224BB70, type: ShellCopy
DEBUG 03.06.2026 01:36:32.686  9316 CUtils::_DoDragDrop: Operation will be performed asynchronously, IAsyncOperation: 00000000021F4680, IDataObject: 0000000002181B40

Should be:

DEBUG 03.06.2026 14:29:34.519  6896 COperationsManager::AddFileOperation: New operation: 000000000214E540, type: ShellCopy
DEBUG 03.06.2026 14:29:34.520  6896 COperationsManager::AddFileOperation: Operation 000000000214E540 started, thread: 5484

For some reason, one of the previous operations got stuck. I need full log to troubleshoot this issue.

Offline

#5 Yesterday 12:28:31

navigat0r
Member
Registered: 2013-02-13
Posts: 185

Re: incorrect New context menu with deeply nested folders

I hope this helps.
2026-06-05-14h24-04.gif

INFO  05.06.2026 14:23:22.177 14196 CWinMain::Main: Just Manager 1.0.0-rc.1 19/05/2026, pid: 3128
...
TRACE 05.06.2026 14:23:22.286 14196 COperationsWnd::Create: hwnd: 00000000002E0ED8
TRACE 05.06.2026 14:23:22.310 14196 CMainMenuToolbar::Create: hwnd: 0000000000270FC6
TRACE 05.06.2026 14:23:22.311 14196 CMainToolbar::Create: hwnd: 00000000000C11D4
TRACE 05.06.2026 14:23:22.311 14196 CMainToolbar::Create: Default padding: horizontal: 7, vertical: 6
TRACE 05.06.2026 14:23:22.328 14196 CMainToolbar::Reload: Button height: 24
TRACE 05.06.2026 14:23:22.330 14196 CMainRebar::Create: hwnd: 00000000001B137A
TRACE 05.06.2026 14:23:22.351 14196 CFunctionKeysToolbar::Create: hwnd: 00000000000E132E
TRACE 05.06.2026 14:23:22.361 14196 CResourcesToolbar::Create: hwnd: 00000000001F1266
TRACE 05.06.2026 14:23:22.363 14196 CResourcesComboBox::Create: hwnd: 00000000006712B4
TRACE 05.06.2026 14:23:22.367 14196 CTabbedPanels::Create: hwnd: 00000000002310FE
TRACE 05.06.2026 14:23:22.369 14196 CPathPanel::Create: hwnd: 00000000004012DC
TRACE 05.06.2026 14:23:22.370 14196 CNavigateButtonsToolbar::Create: hwnd: 0000000000270FD8
TRACE 05.06.2026 14:23:22.374 14196 CPanelView::Create: hwnd: 00000000000613D8
TRACE 05.06.2026 14:23:22.381 14196 CFTPLogWnd::Create: hwnd: 00000000000813E8
TRACE 05.06.2026 14:23:22.384 14196 CRichEdit::Create: hwnd: 00000000002B0F02
TRACE 05.06.2026 14:23:22.384 14196 CBrowser::CreateBrowserWindow: hwnd: 00000000003211AE
TRACE 05.06.2026 14:23:22.405 14196 CResourcesToolbar::Create: hwnd: 00000000003A1258
TRACE 05.06.2026 14:23:22.409 14196 CResourcesComboBox::Create: hwnd: 000000000050128A
TRACE 05.06.2026 14:23:22.416 14196 CTabbedPanels::Create: hwnd: 0000000000241306
TRACE 05.06.2026 14:23:22.418 14196 CPathPanel::Create: hwnd: 00000000002213AC
TRACE 05.06.2026 14:23:22.423 14196 CNavigateButtonsToolbar::Create: hwnd: 00000000001912E8
TRACE 05.06.2026 14:23:22.426 14196 CPanelView::Create: hwnd: 00000000000713AA
TRACE 05.06.2026 14:23:22.434 14196 CFTPLogWnd::Create: hwnd: 00000000001012EE
TRACE 05.06.2026 14:23:22.435 14196 CRichEdit::Create: hwnd: 00000000001D1322
TRACE 05.06.2026 14:23:22.435 14196 CBrowser::CreateBrowserWindow: hwnd: 00000000000B11E0
TRACE 05.06.2026 14:23:22.540 14196 CResourcesComboBox::Create: hwnd: 00000000006812B4
TRACE 05.06.2026 14:23:22.551 14196 CRichEdit::Create: hwnd: 00000000002C0F02
TRACE 05.06.2026 14:23:22.553 14196 CResourcesComboBox::Create: hwnd: 000000000051128A
TRACE 05.06.2026 14:23:22.562 14196 CRichEdit::Create: hwnd: 00000000001E1322
INFO  05.06.2026 14:23:22.570 14196 CPanelManager::StartExplore: panel: 1, task: 000000000223E5D0, type: Explore, action: Internal, path: D:\Test\A
DEBUG 05.06.2026 14:23:22.570 14196 CDataProvider::StartExplore: task: 000000000223E5D0, thread 11028 started
TRACE 05.06.2026 14:23:22.570 11028 CItemsExploreThread::Run: started, task: 000000000223E5D0
INFO  05.06.2026 14:23:22.570 14196 CPanelManager::StartExplore: panel: 2, task: 00000000022403E0, type: Explore, action: Internal, path: D:\Test\Test\DeepNestedFolders\level_1\level_2\level_3\level_4\level_5\level_6\level_7\level_8\level_9\level_10\level_11\level_12\level_13\level_14\level_15\level_16\level_17\level_18\level_19\level_20\level_21\level_22\level_23\level_24\level_25\Test\DeepNestedFolders\level_1\level_2\level_3\level_4\level_5\level_6\level_7\level_8\level_9\level_10\level_11\level_12\level_13\level_14\level_15\level_16\level_17\level_18\level_19\level_20\level_21\level_22\level_23\level_24\level_25\test
DEBUG 05.06.2026 14:23:22.570 14196 CDataProvider::StartExplore: task: 00000000022403E0, thread 14300 started
INFO  05.06.2026 14:23:22.570 14196 CWinMain::OnCreate: Finished
TRACE 05.06.2026 14:23:22.570 14300 CItemsExploreThread::Run: started, task: 00000000022403E0
TRACE 05.06.2026 14:23:22.570 11028 CItemsExploreThread::Run: finished, task: 000000000223E5D0, time: 0,000 s
INFO  05.06.2026 14:23:22.571 14196 CWinMain::CreateMainWnd: Main window: 000000000040102C
TRACE 05.06.2026 14:23:22.571 14300 CItemsExploreThread::Run: finished, task: 00000000022403E0, time: 0,000 s
DEBUG 05.06.2026 14:23:22.672 14196 CDataProvider::OnEndExplore: task: 000000000223E5D0, thread 11028 finished
DEBUG 05.06.2026 14:23:22.672 14196 CPanelManager::OnEndExplore: panel: 1, task: 000000000223E5D0
TRACE 05.06.2026 14:23:22.673 14196 CPanelDoc::StartUpdateThreads: UpdateListenerThread started: 12504, panel: 1
TRACE 05.06.2026 14:23:22.673 14196 CPanelDoc::StartUpdateThreads: FolderChangeNotifyThread started: 13940, panel: 1
TRACE 05.06.2026 14:23:22.673  2632 CIconsExploreThread::Run: status: finished, panel: 1, time: 0,000 s
DEBUG 05.06.2026 14:23:22.679 14196 CDataProvider::OnEndExplore: task: 00000000022403E0, thread 14300 finished
DEBUG 05.06.2026 14:23:22.679 14196 CPanelManager::OnEndExplore: panel: 2, task: 00000000022403E0
TRACE 05.06.2026 14:23:22.679 14196 CPanelDoc::StartUpdateThreads: UpdateListenerThread started: 13132, panel: 2
TRACE 05.06.2026 14:23:22.680 14196 CPanelDoc::StartUpdateThreads: FolderChangeNotifyThread started: 11604, panel: 2
TRACE 05.06.2026 14:23:22.681  2964 CIconsExploreThread::Run: status: finished, panel: 2, time: 0,001 s
TRACE 05.06.2026 14:23:40.235 14196 CUtils::CreateShellIDList: count: 5, time: 0,004 s
DEBUG 05.06.2026 14:23:40.235 14196 CUtils::_DoDragDrop: Performing drag-and-drop, IDataObject: 0000000002233FD0, effect: Copy|Move|Link (7)
TRACE 05.06.2026 14:23:40.240 14196 CPanelViewDropTarget::DragEnter: effect: Copy|Move|Link (7)
TRACE 05.06.2026 14:23:40.240 14196 CUtils::GetHDROPItems: count: 5, buffer size: 5112, time: 0,000 s
TRACE 05.06.2026 14:23:40.280 14196 CPanelViewDropTarget::DragEnter: effect: Copy|Move|Link (7)
TRACE 05.06.2026 14:23:40.280 14196 CUtils::GetHDROPItems: count: 5, buffer size: 5112, time: 0,000 s
TRACE 05.06.2026 14:23:42.625 14196 COperationsManager::DragAndDrop: IDataObject: 0000000002233FD0, effect: Copy (1)
DEBUG 05.06.2026 14:23:42.625 14196 COperationsManager::HDROP_DragAndDrop: to: D:\Test\A, IDataObject: 0000000002233FD0, effect: Copy (1)
TRACE 05.06.2026 14:23:42.625 14196 CUtils::GetHDROPItems: count: 5, buffer size: 5112, time: 0,000 s
TRACE 05.06.2026 14:23:42.626 14196 CUtils::GetAsyncOperation: IDataObject: 0000000002233FD0, async: true (-1)
DEBUG 05.06.2026 14:23:42.626 14196 COperationsManager::HDROP_DragAndDrop: Async operation
DEBUG 05.06.2026 14:23:42.626 14196 COperationsManager::AddFileOperation: New operation: 00000000022B9820, type: ShellCopy
DEBUG 05.06.2026 14:23:42.626 14196 COperationsManager::AddFileOperation: Operation 00000000022B9820 started, thread: 14040
TRACE 05.06.2026 14:23:42.626 14040 COperationThread::Run: Performing operation 00000000022B9820
DEBUG 05.06.2026 14:23:42.626 14040 COperationThread::Run: Performing Shell operation, hook: 00000000019310F5
DEBUG 05.06.2026 14:23:42.626 14196 CUtils::_DoDragDrop: Operation will be performed asynchronously, IAsyncOperation: 00000000022BA6B0, IDataObject: 0000000002233FD0
DEBUG 05.06.2026 14:23:42.640 14040 COperationThread::WinEventProc: Shell progress dialog 00000000000E13DA has been created, thread: 4104
TRACE 05.06.2026 14:23:59.451 14040 COperationThread::Run: Operation 00000000022B9820 thread finished
DEBUG 05.06.2026 14:23:59.451 14196 COperationsManager::OnFinishOperation: Operation 00000000022B9820 finished
DEBUG 05.06.2026 14:23:59.451 14196 CAsyncOperation::EndOperation: Operation finished, IAsyncOperation: 00000000022BA6B0, result: 0, effect: Copy (1)
DEBUG 05.06.2026 14:23:59.452 14196 COperationsManager::OnShellAsyncOperationFinished: Shell operation finished, IAsyncOperation: 00000000022BA6B0, IDataObject: 0000000002233FD0

Last edited by navigat0r (Yesterday 12:31:40)


Win10/11

Offline

Board footer

Powered by FluxBB