Lymphatus / caesium-image-compressor

Caesium is an image compression software that helps you store, send and share digital pictures, supporting JPG, PNG, WebP and TIFF formats. You can quickly reduce the file size (and resolution, if you want) by preserving the overall quality of the image.
https://saerasoft.com/caesium
GNU General Public License v3.0
3.67k stars 217 forks source link

Hope to achieve mouse drag folder to caesium #150

Closed chillxxxxxx closed 2 years ago

chillxxxxxx commented 2 years ago

It will be very convenient

Lymphatus commented 2 years ago

This should be already implemented. I just tried on v2.2.0 Windows, and dragging a folder from the File Explorer to the list (only on the list, you cannot drop anywhere) works just fine.

If isn't for you, it might be a bug.

Asgatlat commented 2 years ago

I confirm. I use this since 1.7.0 and it has always worked for me

chillxxxxxx commented 2 years ago
NVIDIA_Share_ocVa6jD6OH NVIDIA_Share_FhbT7bJ34k

I uninstalled the old version (2.2.0) and reinstalled 2.2.1, maybe this error only happens on my pc.

Lymphatus commented 2 years ago

Are you on Windows 10 using the default file manager?

chillxxxxxx commented 2 years ago

Are you on Windows 10 using the default file manager?

sure :D

Lymphatus commented 2 years ago

It's not clear from the screenshot so I'm asking: are you trying to add files and folders mixed together? For example multiple files and a folder? Because that won't work.

chillxxxxxx commented 2 years ago

It's not clear from the screenshot so I'm asking: are you trying to add files and folders mixed together? For example multiple files and a folder? Because that won't work.

Maybe I didn't express it well.
What I mean is that the mouse directly drags the folder or (single or multiple) image file, it cannot be loaded into the program. These two screenshots mean that dragging folders or files into the program is not feasible.

Lymphatus commented 2 years ago

Yes, it's a bit strange because should be something already there. Below you can see a video of me doing the drag&drop from the File Explorer without issues. Is that not working for you?

https://user-images.githubusercontent.com/12133996/191374589-4d8cca7a-d9f4-4a5c-90a5-c80f02f8aadd.mp4

chillxxxxxx commented 2 years ago

I enable this in group policy -> "User Account Control: Run all administrators in admin approval mode" * Then after restarting the computer, I can achieve the same operation in your video, it worked! But at the same time, some other software on the computer is warning me for using super administrator privileges. I had to turn off this policy and restart the computer again :( I was surprised to find that dragging the picture to Caesium is still feasible! I don't know if the problem is software or computer related.But now it works fine, no need to run as administrator~ Hope I can give you some valuable reference information. Thank you very much for your patience in answering. Wish you a happy life :D

*Reference from : https://learn.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/user-account-control-run-all-administrators-in-admin-approval-mode

Lymphatus commented 2 years ago

I thought it could be something related to permissions, but I was not aware of that. Glad it's now solved and may be useful as reference for other people. Thanks!