Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Minor file-manager bug

    Support
    filemanager
    3
    5
    144
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mehdi
      mehdi App Dev last edited by girish

      Just a small file manager bug I encountered a few times, but I just understood how to reproduce it reliably:

      • Have a folder with another folder in it, stuff inside it. Let's say folder A contains folder B, which contains file C.
      • Be on the page showing the contents of folder A. Reload the page to be sure the state is clean.
      • Double click on B to enter it.
      • Now you are seeing the content of folder B : select file C and click on the menu item to delete it.
      • The prompt will ask if you are sure you want to delete B and C (it should only list C, not B). If you accept, it will correctly delete only C, but it will also show an error notification.
      d19dotca 1 Reply Last reply Reply Quote 1
      • d19dotca
        d19dotca @mehdi last edited by

        @mehdi Ah yes, I've been meaning to report this bug too. Good catch, it's quite annoying.

        --
        Dustin Dauncey
        www.d19.ca

        1 Reply Last reply Reply Quote 0
        • nebulon
          nebulon Staff last edited by

          Thanks for the detailed steps to reproduce this and reporting, took me a bit to realize this only happens if the menu is triggered from the button not on right-click the first time.

          Looking for a fix now.

          1 Reply Last reply Reply Quote 0
          • nebulon
            nebulon Staff last edited by

            Ok found the bug and pushed a fix now. Should be part of the next release then.

            mehdi 1 Reply Last reply Reply Quote 2
            • mehdi
              mehdi App Dev @nebulon last edited by

              @nebulon Oh yeah, I had not thought to try the right-click, good catch. Right-clicking on a webpage never feels intuitive to me, except when I want the browser's context menu 🤷

              1 Reply Last reply Reply Quote 1
              • First post
                Last post
              Powered by NodeBB