bug with file operations after latest windows 11 update

nikos 10 Reputation points
2025-05-25T11:17:15.7233333+00:00

I am the developer of xplorer2 <Removed>, a file manager like windows file explorer, and I want to report a windows BUG that affects my program.

since the latest windows 11 update (10.0-26100.4061) my program will not show the file copy progress window, a feature that works in all versions from windows 95 and up. The situation is quite technical to explain, so I will try to be succinct

Image

no matter how I initiate the file copy (clipboard copy/paste, drag-drop, even using IFileOperation shell interface), the file is copied but without any visual feedback (the above progress window is missing). I will include some C++ code how am I handling a file paste operation:

IDataObject* source = OleGetClipboard(); 
IDropTarget* target = IShellFolder::GetUIObjectOf(IID_IDropTarget); 
target->DragEnter(source, MK_LBUTTON | MK_CONTROL, POINT(0,0), DROPEFFECT_COPY); 
target->Drop(source, MK_CONTROL, (0,0), &effect); 
// copy works but no progress dialog is shown 

I don't think the particular parameters used in this code block are relevant, as other parts of the program that SHOULD show a file progress indicator, do not show it either

please forward this to someone of the windows shell (file explorer) team for consideration

thank you in advance

Nikos Bozinis

PS. some people see the copy progress window only the first time they copy a file with xplorer2, then it goes silent from the 2nd file operation and for the duration of the program run

Reply

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
11,774 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Rudransh Chaturvedi 0 Reputation points
    2025-05-29T06:34:58.7866667+00:00

    Here's a breakdown of the situation and what you can do, based on your report and similar discussions:

    Understanding the Problem:

    • Regression: The core issue is that the file copy progress window, which previously worked reliably across Windows versions using standard shell interfaces (like IDataObject, IDropTarget, IFileOperation, and even SHFileOperation), is now either not appearing at all or only appearing for the first operation in Windows 11 build 10.0-26100.4061.
    • Affects multiple interfaces: The fact that it impacts various methods of initiating file operations (clipboard, drag-drop, IFileOperation, SHFileOperation) suggests a deeper issue within the Windows shell's handling of these operations, rather than a specific bug in how xplorer2 calls one particular API.
    • "Silent" behavior: The observation that it acts "as if FOF_SILENT was used" after the first operation is a strong clue, suggesting that something in the shell's internal state might be incorrectly suppressing the UI.
    • Not unique to xplorer2: Other users of custom file managers (like One Commander, based on search results) have reported similar issues with missing file transfer progress windows after Windows updates, further supporting the idea that this is a Windows bug.

    Why this is difficult to "resolve" directly as a user/developer (without Microsoft):

    This isn't typically something an end-user or even a third-party developer can "fix" with a simple workaround. The progress window is handled by the Windows Shell itself, and if the shell isn't triggering it correctly, there's no readily available API for a third-party application to force it.

    What you should do (and have already done effectively):

    • Report to Microsoft (You've done this, excellent!): Your post on the Microsoft Learn platform (formerly Microsoft Answers) is the correct channel. It's crucial to report these regressions directly to Microsoft, as they are the only ones who can patch the underlying operating system.
      • Provide a minimal reproducible example: As suggested by others in the Microsoft thread, providing a simple Visual Studio project that demonstrates the issue (e.g., the MFC dialog example you mentioned) is invaluable for Microsoft's engineers to debug. The more easily they can reproduce it, the faster they can investigate and fix it.
      • Keep the thread updated: If you find any further clues or other users report similar issues, update your Microsoft thread.
    • Encourage other affected users to report: The more users who report the same problem through official Microsoft channels (Feedback Hub, Microsoft Learn), the higher the priority it will receive.

    Possible (temporary/diagnostic) workarounds or checks for users:

    While you wait for Microsoft to address the bug, here are some things users experiencing this might try, though these are more general troubleshooting steps and less likely to directly "fix" a confirmed OS bug:

    • Restart Explorer: Sometimes restarting the Windows Explorer process (via Task Manager) can temporarily resolve display glitches. However, based on your report, this might only work for the first copy operation after the restart.
    • Check for further Windows Updates: Microsoft rolls out cumulative updates frequently. It's possible a future update might include a fix for this. Ensure Windows Update is set to automatically download and install updates.
    • System File Checker (SFC) and DISM: These tools can sometimes fix corrupted system files. While unlikely to directly fix an API regression, it's a standard troubleshooting step.
      • Open Command Prompt as Administrator.
      • Run sfc /scannow
      • Run DISM.exe /Online /Cleanup-image /Scanhealth
      • Run DISM.exe /Online /Cleanup-image /Restorehealth
    • Temporarily switch back to Windows File Explorer: If the lack of progress feedback is critical, users might need to temporarily switch back to the built-in File Explorer for large file operations until the bug is resolved in Windows.
    • Rebuild Search Index (less likely, but reported to help with some Explorer issues): Some users have reported that rebuilding the Windows Search Index can resolve seemingly unrelated Explorer issues.
      • Go to Control Panel > Indexing Options.
      • Click "Advanced" > "Rebuild".

    Key takeaway for you as a developer:

    You've identified a genuine operating system bug. Continue to provide as much detail as possible to Microsoft and encourage other users to report it. There's no specific code change you can make in xplorer2 to force the shell to display the progress dialog if the underlying shell API itself is misbehaving due to a Windows update.

    It's a frustrating situation, but your proactive reporting is the best way to get it resolved by Microsoft.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.