Menu

#5262 File Manager keeps jumping back to Page 1 after editing or downloading a file

1.910
closed-fixed
nobody
None
5
2019-05-15
2019-05-15
Ubuntu-ZA
No

This bug actually started in 1.900 but I never got around to reporting it.

In file manager / Filemin, I open a folder which is more than one page. I click to page 3, right click and edit a text file, once I save and close the file, file manager jumps back to Page 1. I then click back to page 3 to edit the next file and so on it goes.

The same happens when I click on a file to download it from say page 4, it downloads the file and immediately the file manager jumps back to page 1. A rather frustrating bug.

Distro: Ubuntu 16.04 > 18.04

Discussion

  • Ilia

    Ilia - 2019-05-15

    Yes, true. This is unexpected bug due to file size getting updated after closing an editor.

    It will be fixed upon theme 19.34 release.

    Thanks for reporting.

     
  • Ubuntu-ZA

    Ubuntu-ZA - 2019-05-15

    Excellent looking forward to the new theme.

     
  • Ilia

    Ilia - 2019-05-15

    It's fixed on the latest 19.34-beta4. Please install latest developement version to give it a try.

     
  • Ilia

    Ilia - 2019-05-15
    • status: open --> closed-fixed
     
  • Ilia

    Ilia - 2019-05-15

    Ups. When downloading a file wasn't fixed. Will fix...

     
  • Ilia

    Ilia - 2019-05-15

    Latest commit should also prevent this for file downloads. However, it's more like an external library bug. (dataTables).

    Please give it a try.

     
  • Ubuntu-ZA

    Ubuntu-ZA - 2019-05-15

    Great stuff seems all ok again, thanks for the quick response. Interesting observation with file downloads. If I navigate to any other page of a folder other than the first page and click a file to download, it downloads the file and jumps back to page 1. If I then go forward a page or two again and click download another file it does not jump back to 1. Seems to only be caused or affected by the very first download. I think it's a Chrome bug though as I just tested the same on Firefox and it does not do that.

     
  • Ilia

    Ilia - 2019-05-15

    Exactly, I noticed the same behaviour.

    Stack trace led me to dataTables though. Something triggeres dataTable.draw() function without request.

    Thanks again.

     

Log in to post a comment.

MongoDB Logo MongoDB