Bug? Windows Files

Star-Dust

Expert
Licensed User
Longtime User
When I take a file (text or images) and drag and drop it into the files window, it will not accept the files.

While if I do the same operation on B4i or B4J (with the same files) instead everything continues correctly and adds the files to me

The only way to add on B4A is to click on the ADD FILES button. Why?

upload_2019-5-16_19-55-27.png
 

Star-Dust

Expert
Licensed User
Longtime User
It should work exactly the same in B4A. Make sure to drag a valid file. A file in a compressed folder for example will not work.
I did tests with the same text file. You see it in the figure
 

Star-Dust

Expert
Licensed User
Longtime User
B4J

B4A

The video does not show the dragged file because the ScreenVideo does not record the Mouse.
But the file is dragged correctly, but is not released, in the file window (of B4A) it becomes a cut circle.
 

jimmyF

Active Member
Licensed User
Longtime User
Works for me in B4A.
Win7 Pro
 

Star-Dust

Expert
Licensed User
Longtime User
What happens if you copy the file and paste it in the files tab?
Work fine

Try to restart your computer. The exact same code is responsible for dragging in all B4X platforms.
Done several times
 

Star-Dust

Expert
Licensed User
Longtime User
The cursor appears but is not visible in the video
 

Star-Dust

Expert
Licensed User
Longtime User
I found the problem. I set B4A.EXE to work with administrator privileges, this prevents (I don't know why) that the DRAG & DROP is done. Now after deactivating the administrator privileges everything works correctly.
 
Last edited:

jimmyF

Active Member
Licensed User
Longtime User
That's very interesting. It's good to know.
Thank you
 

Star-Dust

Expert
Licensed User
Longtime User
Does Bill Gates have a forum to report bugs?:D
 
Top