williamckha / dropshelf-repo

Issue-only repo for Dropshelf, a drag and drop utility for Windows
18 stars 0 forks source link

does not work #8

Open Raynbda opened 1 year ago

Raynbda commented 1 year ago

ℹī¸ System information

- Dropshelf version:1.0.4.0
- Windows version and OS build:22H2 OS Build 22621.1848

📝 Description

When i try to drag files from file explorer or from the internet it shows a blocked sign but it does work in files app

https://github.com/williamckha/dropshelf-issues/assets/116586370/5af97ae6-5ad8-4247-8d2d-d76439718953

Steps to reproduce

No response

williamckha commented 1 year ago

This seems strange. Is your copy of Windows modified in any way? (e.g. using Rectify11)

Raynbda commented 1 year ago

I made some gaming tweaks when i first updated to windows 11 like debloating, some registry and nvidia control panel optimizations from trusted sources but nothing like rectify 11 or uxtheme patcher. Some tweaks i made were from diriktv on youtube and others from https://github.com/auraside/HoneCtrl

emvaized commented 1 year ago

I also experience the same problem, Windows 11 Pro 22H2, Dropshelf v1.0.4.0 Only drag'n'drop from the Files app works, but not from Firefox or default File explorer

emvaized commented 11 months ago

@williamckha Could you please add some debug logs functionality in the application, so that we could see why dragged content gets rejected from non-UWP apps? I really like the idea of this application, but it's literally unusable for me because of this problem...

williamckha commented 11 months ago

@williamckha Could you please add some debug logs functionality in the application, so that we could see why dragged content gets rejected from non-UWP apps? I really like the idea of this application, but it's literally unusable for me because of this problem...

Frankly I'm not sure what I'd log since it doesn't seem like any exceptions are being thrown. But I believe I've found the issue... looks like it's an issue with the UI framework that Dropshelf uses (https://github.com/microsoft/microsoft-ui-xaml/issues/7690). If you run Dropshelf as administrator, drag and drop seems to be blocked. Could you test running Dropshelf in non-elevated mode and see if the issue still persists?

emvaized commented 11 months ago

Well, I never ran it in elevated mode, so it's probably not a problem in my case

Raynbda commented 11 months ago

I ran dropshelf from the .exe in file explorer and it worked I Think i tweaked my pc to automatically run everything as administrator so that's why it didn't work initially

emvaized commented 11 months ago

I ran dropshelf from the .exe in file explorer

How did you managed to run it from .exe file, considering it can only be installed from Microsoft Store?

Raynbda commented 11 months ago

I used fluent search to open app file folder here is the path : C:\Program Files\WindowsApps\371WilliamHa.Dropshelf_1.0.4.0_x64__k4fd9x13b0jec\Dropshelf Screenshot 2023-07-24 001632

emvaized commented 11 months ago

Oh, I see... Then I already tried that

emvaized commented 10 months ago

I returned back to this topic and did a deeper investigation. I followed the instructions here and figured out Dropshelf was indeed running in elevated mode, no matter which way I launched it.

And then I managed to figure out the reason — at some point in the past I probably disabled User Account Control in my system, maybe following an instruction like this one. But little did I know that disabling UAC in Windows results in all the apps starting in elevated mode by default — I figured it out from this answer on StackExchange.

So, raising UAC level from 0 to 1 solved the problem for me, now Dropshelf works as expected. Maybe it would help someone.