Bug? Windows Files

Discussion in 'Bugs & wishlist' started by Star-Dust, May 16, 2019.

  1. Star-Dust

    Star-Dust Expert Licensed 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
     
  2. Erel

    Erel Administrator Staff Member Licensed 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.
     
  3. Star-Dust

    Star-Dust Expert Licensed User

    I did tests with the same text file. You see it in the figure
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    You will need to provide more information. Maybe post a screencast.
     
  5. Star-Dust

    Star-Dust Expert Licensed 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.
     
  6. jimmyF

    jimmyF Active Member Licensed User

    Works for me in B4A.
    Win7 Pro
     
  7. Erel

    Erel Administrator Staff Member Licensed User

    What happens if you copy the file and paste it in the files tab?

    Try to restart your computer. The exact same code is responsible for dragging in all B4X platforms.
     
  8. Star-Dust

    Star-Dust Expert Licensed User

    But I should come to your house to use it. I would also like it to work for me:)
     
    Peter Simpson and jimmyF like this.
  9. Star-Dust

    Star-Dust Expert Licensed User

    Work fine

    Done several times
     
  10. Erel

    Erel Administrator Staff Member Licensed User

    It should look like this:

    test.gif

    Note how the mouse cursor should look. I guess that something on your computer interferes with the drag and drop task. Anyway as there is a very simple workaround I'm leaving it open for now.
     
  11. Star-Dust

    Star-Dust Expert Licensed User

    The cursor appears but is not visible in the video
     
  12. Star-Dust

    Star-Dust Expert Licensed 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: May 22, 2019
    Peter Simpson, Sandman, Erel and 2 others like this.
  13. jimmyF

    jimmyF Active Member Licensed User

    That's very interesting. It's good to know.
    Thank you
     
  14. Erel

    Erel Administrator Staff Member Licensed User

    Peter Simpson likes this.
  15. Star-Dust

    Star-Dust Expert Licensed User

    Does Bill Gates have a forum to report bugs?:D
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice