Windows 11 Drag & Drop to the Taskbar (Partial Fix)

Overview

Windows 11 Drag & Drop to the Taskbar (Partial Fix)

This program partially fixes the missing "Drag & Drop to the Taskbar" support in Windows 11. In the best case, such a simple and basic functionality will return to Windows 11 in October 2022 (or never). For now, we have to use workarounds in the OS that was supposed to "empower our productivity".

Windows11DragAndDropToTaskbarPartialFix works with the new Windows 11 taskbar and does not require nasty changes like UndockingDisabled or restoration of the classic taskbar.

Download Binary (Windows11DragAndDropToTaskbarPartialFix.exe)

Read the Changelog

View the source code (Windows11DragAndDropToTaskbarPartialFix.cpp)

How Does It Work?

The program detects if you're currently pressing the left mouse button and determines which icon on the taskbar you hover the mouse pointer on. If the cursor stays in the same area for X milliseconds - it simulates the Win+Ctrl+Number hotkey (open the desktop and switch to the last active window of the app pinned to the taskbar in the position indicated by the number), in order to restore the intended window. It also supports dropping files to the "Show desktop" button (bottom-right of the screen). The program supports auto startup and has many configuration options (please read below).

Limitations

  • Unfortunately, Windows only supports 10 hotkeys of this type: Win+Ctrl+1 to Win+Ctrl+0. It means that the fix will only work for the first 10 apps on the taskbar. I know it's a very low limit, but might be useful if you keep the Internet Browser / Messengers in the first position on the taskbar.
  • If the pinned app icon currently has no visible window, the fix will start it. It's a different behaviour than the one we remember, but I personally found it useful, for example because it's restoring the Skype window when it's active in the System Tray only.
  • It doesn't support multiple windows of the same process :(

How to Start or Quit the Program?

To use the fix, please simply download the binary file above (or compile it yourself) and start it as any other program. It works as an independent C++ process. It does not change any registry keys (with the exception of the autostart key for itself) and does not inject any DLLs to other processes.

To quit this program, please simply kill Windows11DragAndDropToTaskbarPartialFix.exe or Windows 11 Drag & Drop to the Taskbar (Partial Fix) by the Task Manager.

Configuration

Since version 1.1 it's possible to configure the program by creating a configuration file at the same location as Windows11DragAndDropToTaskbarPartialFix.exe. The configuration file should be named: Windows11DragAndDropToTaskbarPartialFixConfig.txt and may contain the following variables:

//Should the program run automatically on system startup? 1 = true, 0 = false.
AutomaticallyRunThisProgramOnStartup=1

//Should the program show the console window when it starts? 1 = true, 0 = false.
ShowConsoleWindowOnStartup=1

//Should the program print debug information? 1 = true, 0 = false.
PrintDebugInfo=0

//Unused for now, it's an option for the future
CheckIfPinnedAppsWindowsAreVisible=1

//For how long (in milliseconds) should the left mouse button be clicked before
//the program starts checking if the mouse is hovering over the task bar.
HowLongLeftMouseButtonPressedBeforeContinueMilliseconds=500

//For how long (in milliseconds) should the mouse be hovered over the same icon
//on taskbar in order to restore its window.
HowLongKeepMouseOverAppIconBeforeRestoringWindowMilliseconds=750

//You can skip options below. It's only to change main thread sleeping times or default icon sizes.
DefaultSleepPeriodInTheLoopMilliseconds=100
SleepPeriodWhenLeftMouseButtonIsPressedInTheLoopMilliseconds=25
SleepPeriodWhenMouseIsOnAppIconInTheLoopMilliseconds=10
DefaultTaskbarIconWidth=44
DefaultTaskbarIconHeight=48
DefaultShowDesktopButtonWidth=20

When you modify the Windows11DragAndDropToTaskbarPartialFixConfig.txt, the program will ask you to automatically restart itself. So you don't need to go to the Task Manager each time you want to test something.

New Ideas Are Welcome

If you have any idea how to improve this program, or if you found a different method of determining the window under the cursor - please share it with us!

Code Quality

It's not beautiful, but it works. I also believe that the optimization is good by the dynamic thread sleep times. Please feel free to issue pull requests to improve it. The software will for sure be updated by me, I just wanted to share it with people as soon as possible. Microsoft seems to do the same thing with their Operating System :)

Comments
  • W11DADTTF shows up in taskbar after hibernation

    W11DADTTF shows up in taskbar after hibernation

    Pretty insignificant, but after waking up from hibernation an alerting icon shows up in the taskbar, but this is easily fixed by restarting the program.

    opened by cakeforcat 32
  • Something Annoying I Hope To Fix

    Something Annoying I Hope To Fix

    Hi,

    I'm facing a problem when I'm selecting a long text and the mouse reach the bottom of the screen like for example I want to select text on word and I have more than one page, then when I select this text and I want to select specific pages using the cursor and the cursor reach the most bottom of the screen and there are some apps open then it switches to the app where the cursor reaches in the taskbar and my work (selecting the text) will be canceled.

    This is a video to explain more: https://user-images.githubusercontent.com/95059797/143514003-fd948b37-cd6a-4fb1-8d70-5701f34d640f.mp4

    Thank you.

    opened by Alwasmi69 23
  • Change icon

    Change icon

    Changes:

    • changed icon
    • ~~deleted open browser & redirect to configuration.md actions (because the config file already says where to go to get help on the config file)~~
    opened by QuestYouCraft 16
  • Problem with DetectKnownPixelColorsToPreventAccidentalEvents

    Problem with DetectKnownPixelColorsToPreventAccidentalEvents

    Hi, Thanks for this great app that I've been using for a while now.

    With the latest version V2.0.0 the app stops working if I enable DetectKnownPixelColorsToPreventAccidentalEvents. I tried starting the app from a new location and with the default settings, after closing all programs with KillEmAll to make sure to eliminate any conflicts with other apps. Only the NOD32 antivirus remains open, which I don't think can interfere.

    Mini FR: is it possible to eliminate the popup warning of configuration file modification and set the automatic reload?

    Thank you.

    opened by boromyr 13
  • Just holding down left mouse button without dragging

    Just holding down left mouse button without dragging

    When holding down the left mouse button without having a file that gets dragged, the behavior is the same as when dragging a file.

    Would be nice to have a check whether a file is being dragged or not.

    I know this is an edge case, but a case nonetheless!

    opened by Inzaniity 12
  • I'd remapped the arrow keys and couldn't understand why the fix is not working

    I'd remapped the arrow keys and couldn't understand why the fix is not working

    Was wondering for a while why it's not working on my laptop, but then I remembered that I had to remap the arrow keys as they are partly broken for now.. Not sure where do I go from here, I guess I'll have to wait a year.

    opened by dmitrydva 11
  • this app is still relevant.

    this app is still relevant.

    I have just updated Win 11 and there is nothing new about the subject.

    As Dave explained at 10/7/2022 6:47:59 PM...

    I am Dave, I will help you with this. Windows11 does not yet support drag and drop onto the Taskbar, that functionality was meant to be in the 22h2 update, but a few of those features were not ready in time for the update, there is a large update to Windows 11 this month and that new functionality should be in that update.

    https://answers.microsoft.com/en-us/windows/forum/all/windows-11-22h222621608-drag-drop-not-working/102f3135-60f0-4920-8df9-e7af3fe51d17

    opened by volkan-akkus-tr 8
  • Can not remove complete from computer. Worried its malware or spyware

    Can not remove complete from computer. Worried its malware or spyware

    Hi there I was able to remove the file and delete it but whenever I go to my startup applications settings I still see it there and I cannot remove or grey out the button to have it not start up automatically, I cant uninstall in through the add or remove program section and I cant find any trace of the file through my search tool. Screenshot 2022-07-24 013103

    opened by lumacski 8
  • Support for second monitor

    Support for second monitor

    If the target folder / window is in a second monitor, the drop functionality does not activate the window. Is it possible to support secondary monitors?

    opened by quiquejbb 8
  • It doesn't work for me..

    It doesn't work for me..

    It doesn't work for me.. i also configured to.. but doesn't show any drag and drop thing.

    edit : it worked with version 1.8.00 but any other further versions doesn't work.

    opened by cohenmusic 8
  • Issues with maximizing/minimizing windows

    Issues with maximizing/minimizing windows

    Hello, I love this tool, but sometimes I've noticed that the windows randomly "lock" while using it. As in. After dragging and dropping something, the window sometimes prevents me from switching between different windows in the task bar. It will simply blink or flash without doing anything.

    The only one I've found was closing the program, which fixed the issue. Any workarounds for this? Thanks!

    opened by Gigafrost 8
  • How do I uninstall this?

    How do I uninstall this?

    Sorry for the newbie question, but I have been informed that soon or later Windows will reintroduce the official Drag and Drop function. How will I uninstall the scrip once the official one will be out?

    Thank you in advance.

    opened by DMJelly 5
  • App bad understand what app I want to open

    App bad understand what app I want to open

    https://user-images.githubusercontent.com/7759507/150231145-75179ff9-32e4-44b4-8875-d3db9f448c79.mp4

    Windows 11 with 125% windows scalling App ver. 2.2.0.0

    opened by DanRotaru 18
Releases(v.2.3.0.0-release)
Owner
null
RudeWindowFixer: fix Windows taskbar always-on-top issues

RudeWindowFixer: fix Windows taskbar always-on-top issues Brought to you by Etienne Dechamps - GitHub If you are looking for executables, see the GitH

Etienne Dechamps 38 Dec 28, 2022
My old heavily modified version of bigbase v1, it has an impulse-like scrollbar, ytd header loader, Vector3 fix + gamestate fix and some other misc changes!

Old Bigbase V1 UI This is my old ui for bigbase v1 but i dont need it anymore because the dev of solar mod menu stole it, and the new paragon menu (Fr

null 13 Sep 13, 2022
Khronos-reference front end for GLSL/ESSL, partial front end for HLSL, and a SPIR-V generator.

News Visual Studio 2013 is no longer supported As scheduled, Microsoft Visual Studio 2013 is no longer officially supported. Please upgrade to at leas

The Khronos Group 2.4k Jan 9, 2023
Flutter plugin serving utilities related to Windows taskbar. 💙

windows_taskbar Flutter plugin serving utilities related to Windows taskbar ?? Install dependencies: windows_taskbar: ^0.0.1 Demo Checkout the exam

Hitesh Kumar Saini 108 Dec 21, 2022
Windows 10 interface adjustment tool supports automatic switching of light and dark modes, automatic switching of themes and transparent setting of taskbar

win10_tools Windows 10 interface adjustment tool supports automatic switching of light and dark modes, automatic switching of themes and transparent s

Simon 1 Dec 3, 2021
Customizable Windows taskbar effects.

RainbowTaskbar Lightweight utility for Windows taskbar customization. Supports color effects, transitions, blur, images, rounded corners and transpare

ad 56 Dec 30, 2022
TaskbarXI - An application written in C++ to modify the Windows 11 Taskbar.

TaskbarXI An application written in C++ to modify the Windows 11 Taskbar. Current version turns the Windows 11 Taskbar into a dock. New features will

Chris Andriessen 1k Jan 7, 2023
Dock - Desktop Taskbar.

Dock CutefishOS application dock. Dependencies sudo pacman -S gcc cmake qt5-base qt5-quickcontrols2 kwindowsystem You also need fishui and libcutefish

CutefishOS 93 Nov 24, 2022
Taskbar Labeler is a PoC/research/learning project.

Taskbar Labeler Taskbar Labeler is a PoC/research/learning project. It replaces the rendering of certain icons on the taskbar with a colored rectangle

Bence 1 Jan 23, 2022
Just another "Won't Fix" Windows Privilege Escalation from User to Domain Admin.

RemotePotato0 Just another "Won't Fix" Windows Privilege Escalation from User to Domain Admin. RemotePotato0 is an exploit that allows you to escalate

null 1.1k Dec 28, 2022
A simple "no frills" drop-in replacement PCB for the KBDfans 67mkII / 67lite

67mk_E A simple "no frills" drop-in replacement PCB for the KBDfans 67mkII / 67lite KiCAD PCB files Gerbers for PCB production JLCPCB BOM JLCPCB CPL V

null 24 Dec 18, 2022
Amiga 1200 keyboard MPU drop-in replacement pcb

A1200_keyb_MPU Amiga 1200 keyboard MPU drop-in replacement pcb As the 68HC05 (p/n 391508-01) used in the Amiga 1200 is getting to be very expensive, I

Oleg Mishin 19 Nov 26, 2022
mold is a faster drop-in replacement for existing Unix linkers

mold: A Modern Linker mold is a faster drop-in replacement for existing Unix linkers. It is several times faster than LLVM lld linker, the second-fast

Rui Ueyama 9.8k Jan 2, 2023
D2R mod generator. Provide quick tool to generate .txt files to change game balance: increase drop, monster density or even randomize items.

Diablo 2 mod generator Generator is inspired by d2modmaker. It provides fast and easy way to create mod without any modding knowledge. Features includ

Smirnov Vladimir 31 Dec 22, 2022
A drop-in entity editor for EnTT with Dear ImGui

imgui_entt_entity_editor A drop-in, single-file entity editor for EnTT, with ImGui as graphical backend. demo-code (live) Editor Editor with Entiy-Lis

Erik Scholz 151 Jan 2, 2023
Quick fix to iphone usb tethering with ios14 or higher for Linux kernel lower than 5.10.4

Quick fix to Linux Iphone USB tethering with IOS 14 or higher (Tested with ubuntu 18.04, kernel 5.4.0-65, if you fail in the build, please download yo

null 24 Sep 18, 2022
Fix for various issues in the PC port of Ace Attorney Chronicles.

Hackfix for a few issues in the PC port - Animation framerate can now be set to arbitrary rate. (defaults to 60 but can be freely adjusted in the ini

Admiral H. Curtiss 82 Nov 28, 2022
Wrapper DLL for NieR Automata (PC ver.) to disable LODs & fix AO issues

NieRAutomata-LodMod An XInput/DXGI wrapper DLL that hooks into NieR Automata (Steam ver.) and disables object LODs, improving visual quality & fixing

emoose 24 Jul 9, 2022
Fix some extrinsic parameter importing problems. 6-axis IMU works now. Lidar without ring works now.

LVI-SAM-MODIFIED This repository is a modified version of LVI-SAM. Modification Add function to get extrinsic parameters.The original code assumes the

null 88 Dec 9, 2022