Giter Site home page Giter Site logo

hermajestydrmona / windows11draganddroptotaskbarfix Goto Github PK

View Code? Open in Web Editor NEW
1.4K 27.0 171.0 363 KB

"Windows 11 Drag & Drop to the Taskbar (Fix)" fixes the missing "Drag & Drop to the Taskbar" support in Windows 11. It works with the new Windows 11 taskbar and does not require nasty changes like UndockingDisabled or restoration of the classic taskbar.

License: GNU General Public License v3.0

C++ 99.54% C 0.46%
windows11 drag drop fix

windows11draganddroptotaskbarfix's Introduction

Windows 11 Drag & Drop to the Taskbar (Fix)

This program 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. For now, we have to use workarounds in the OS that was supposed to "empower our productivity".

UPDATE: Windows 11 22H2 (build 22621 and 22622, released in September 2022) restores the drag & drop functionality natively, so this program is not longer needed. To learn how to update your Windows 11, please visit this page. You can still use this program if you're running an older version of Windows 11. In case you have troubles removing it, please read #issue 81.

Windows11DragAndDropToTaskbarFix works with the new Windows 11 taskbar and does not require nasty changes like UndockingDisabled or restoration of the classic taskbar. It doesn't change any system registry keys (except autostart for itself when manually configured) and does not inject any DLLs to other processes, so it's a very portable solution. This program will not interrupt further windows updates as it doesn't change any system files. It's an independent C++ process that does all the job.

(in case you're getting the missing VCRUNTIME140_1.dll error).

How Does It Work?

The program detects if you're currently pressing the Left or the Right Mouse Button and determines which icon on the taskbar you hover the mouse pointer on. If the cursor stays in the same area for definied number of milliseconds - it simulates the Win+T hotkey and arrow keys in order to restore the intended window, using a quite complicated method. It also supports dropping files to the "Show desktop" button (bottom-right of the screen). The program supports multiple screens, auto startup, and has many configuration options (please read below). Windows11DragAndDropToTaskbarFix has no auto-update function and never connects to the Internet, so you don't need to worry about your privacy.

You can click on the Mona Lisa Megan Fox tray icon to show menu that allows you to Check for updates, Read the changelog, Configure, Open program folder, Restart and Quit.

Custom Configuration: Autostart, Timings, Keys Remapping and more

It's possible to configure the program by creating a configuration file at the same location as Windows11DragAndDropToTaskbarFix.exe. The configuration file should be named: Windows11DragAndDropToTaskbarFixConfig.txt. You can automate this process by clicking on the Mona Lisa Megan Fox Tray icon and then Configure... from the menu. It will create the correct file and open the GitHub page for reference.

Please read a separate article: CONFIGURATION for details.

Limitations

  • The program does not support pinning apps to the taskbar using the drag and drop gesture, and this feature is currently not planned. However, you still can pin apps to the taskbar by clicking on their icons with the right mouse button, and then "Show more options" -> "Pin to taskbar" from the list. Example.

  • If the program does not work for you, and you're using the custom skin modifications / themes, please add the following line to your configuration file:

DetectKnownPixelColorsToPreventAccidentalEvents=0
  • I'm not aware of any serious limitations in the current version. Please check #issues

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.

To quit this program, please click on the Mona Lisa Megan Fox Tray icon, and select "Quit..." from the menu. You can also kill Windows11DragAndDropToTaskbarFix.exe or Windows 11 Drag & Drop to the Taskbar (Fix) by the Task Manager.

Special Thanks To:

Dr. Mona Lisa for creating this program. Please also check Unofficial Patch for Empire Earth II.
Martin Morano for giving permissions to use his awesome "Mona Lisa Megan Fox" artwork, used as the program icon.
zhongxia_87887 (veryicon.com) for providing the free alternative program icon, modified & enhanced by QuestYouCraft.

Before / After Videos

Videos recorded thanks to @Mohammad Suleman from ilovefreesoftware.com.

Before Windows11DragAndDropToTaskbarFix After Windows11DragAndDropToTaskbarFix
Before.mp4
After.mp4

"VCRUNTIME140_1.dll" was not found error

If you get an error saying that "VCRUNTIME140_1.dll" is missing, please install Microsoft Visual C++ 2015-2022 Redistributable x64. Normally, these runtime libraries are installed by default on Windows 11. If you get this error then you most likely manually removed them before, using "Add or remove programs".

Donation?

If you love this software so much that you would like to buy me a cola, pizza, or anything else - you can make a donation using the button available on my other project's website: Click here. Please don't forget to mention in the donation message that it's for this fix, so I can spend it for other things than multiplayer servers for that game :)

windows11draganddroptotaskbarfix's People

Contributors

hermajestydrmona avatar questyoucraft avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

windows11draganddroptotaskbarfix's Issues

Feature of Hide Tray Icon & Tray Icon Customization

It performs well on my PC, nice work! 😜
The tray icon is wonderful, but a little out of style.
So what I wanna say is could you add the feature of hiding tray icon or customization,etc.

I checked the documentation of configuration and found nothing.

image

Thank you.

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?

Vmware support

Is it possible to support drag and drop files coming from Vmware, like from guest to host? this used to work on Windows 10

Disappointed about no pinning apps support

I'm disappointed that the readme stated that the program does not support pinning apps to the taskbar using the drag and drop gesture. But the thing is, I'm using portable apps that require a separate exe launcher so I have no way to pin it. Pinning the running apps is not a solution, portable mode won't work correctly if launched directly

Can you look into it? There must be a way

Startup issue

I configured the txt file for it to start automatically but neither does it create the registry key nor does it automatically run on startup.

Always have the console displayed

Hi,
In the configuration file I have : : ShowConsoleWindowOnStartup=0
But when I start Windows, I always have the console displayed

Capture d’écran 2021-11-19 193504

Any idea ?
Thk

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.

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.

Not working when using Windows Terminal Preview

The executable file only runs when the cmd close automatically but when the default console is switched to windows terminal preview, the windows terminal will not close and stuck at the 'Debug output...' screen, rendering the executable file unusable. This is only a minor issue as this can be fixed by simply opening with cmd.
image

app doesn't work in all of a sudden

app is opened but not working, tried running with admin permission and restarting but not sure why.
i changed quite a lot of windows registry settings recently i dont know if that affected the app but im not sure which one affected it.

Console Windows not closed after 10 seconds

Windows11DragAndDropToTaskbarFix, ver. 1.2.0 doesn't close the console window.
I can only minimize it.
In the config is
ShowConsoleWindowOnStartup=0
So it should not be displayed at all
The old PartialFix version does close the console window just fine.

Show desktop icons uncheck bug/suggestion idk

When you have Show desktop icons uncheck and you drag from e.g. from file explorer and drop on desktop it dropped it I guess it it should not be like this because you not see this.

Please create static build

Hi, Please create static build so Microsoft Visual C++ 2015-2022 Redistributable x64 si not required.

Doesn't seem to work when task bar at top

I know this isn't supported by Windows, but if you move your Windows taskbar to the top of the screen through hack, this drag and drop program does not work, sadly. Otherwise, great program and thank you.

Drag and drop is required, really, and Windows made an error not implementing it, so thank you! (Edit: To be clear, this was meant to be a criticism of Windows, not your program! My original comment made it seem I was criticizing this utility. Nope!)

You can work around by ALT-TAB'g while holding the file, but of course that is more cumbersome.

Pls fix this issue

After rebooting our system, we have to run the exe again and then only it works. Pls fix this issue ASAP.

I don't like running it as administrator after rebooting our computer.

Some instances of explorer.exe crashing when I try to drag and drop a video file onto the taskbar

I could manage to drag and drop all other types of files except video ones. Specifically, .mp4. Is it just me or others can drag and drop video files without any crashing? I said some instances because the folder from which I'm draging the video doesn't crash but the taskbar crashes

Edit: I realized it's worth mentioning that I'm using Stardock's Start11 which may or may not alter the behaviour of Windows11DragAndDropToTaskbarFix

The Code is not maintainable

if you have another version of the code that is well-splited into smaller pieces of code please upload it instead of this pile of code
NO OFFENSE

If the Taskbar is set to automatically hide, the program won't work properly.

Hi, so basically when "Automatically hide the taskbar" is enabled is Settings > Personalization > Taskbar > Taskbar behaviors, when normally dragging a file the taskbar doesn't pop-up, so I have to press the Windows key on my keyboard. However, if you opened the taskbar with the Windows key (thus also the Start Menu), the program won't simulate the Win+T combo. I'd be so grateful, but if you can't, that's also fine I guess. Thanks in advance!

undesirable side effects on Snap Windows settings

Hello Everyone,

This tool is very helpful for drag and drop function. However, it has affected my Snap Windows settings (found under Settings, System, Multitasking) the way it leaves sequelae even after quitting the tool from task menu or task manager.

Description of the issue:
Whenever I grab a window by its title bar to move it a little bit around my screen, it automatically snaps into one side of the screen. This is one of the multitasking options of the windows 11 under system settings, however after I started using the [Windows11DragAndDropToTaskbarFix] it seems like the windows 11 settings is not responding to my selection anymore and it is stuck as active automatic snap.

I tried many things including system restore in order to revert this Snap Windows function to no avail. I finally had to use Windows installation package to repair it. It worked once but came back again. Now even windows repair is not working anymore.

Does anyone know what kind of effect this program possible has on the multitasking settings and Snap Windows function?

Hope the developer fix this issue as I really like the solution this program offers.

Error

Hi
When I run the program I get this error message:

Capture d’écran 2021-10-16 115626

any idea ?
Thanks

BROKEN

The app is not working for me!
it worked for a day only
Screenshot 2022-03-22 234953
Screenshot 2022-03-22 235027

emails in mozilla thunderbird

very good, unfortunately drag and drop of attached files of emails doesnt work when making a new email on mozilla thunderbird

The program is not opened by default.

The program is not opened by default on Windows 11 on latest version (1.8.0.0). Pls fix this issue ASAP or pls tell how we can open it.

(There's no icon the system tray (in the taskbar) or in the taskbar. Neither I can see the program anywhere. Neither I can drag n drop. Is it uninstalled on its own? I ran the exe as administrator and now it works!)

image
image
image
image
image

Support right mouse button drag-n-drop?

Suggestion: It would be nice to also detect hover/drag with right mouse down.
Right-button drag-n-drop is usable when dragging a file and you don't want the default action on drop.
E.g. you want to select "Move" from the context menu on mouse button release instead of default "Copy" when dropping file on a folder on the same drive...

Thanks for a great program! :)

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!

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.

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!

Randomly a Window popping up.

Randomly a Window popping up called Windows11DragAndDropToTaskbarFix. also, a taskbar icon. like in issue #45. It's happening too fast so I can't take a screenshot. Fix it, it's so annoying.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.