Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qFlipper App File Operations keep resetting the selected file #209

Open
Sliicy opened this issue Jan 8, 2024 · 0 comments
Open

qFlipper App File Operations keep resetting the selected file #209

Sliicy opened this issue Jan 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Sliicy
Copy link

Sliicy commented Jan 8, 2024

Bug
Each time a File Operation is performed in the qFlipper app (such as renaming, uploading, downloading, or deleting), the app forgets the currently selected file and defaults to the first item of the currently viewed folder. This makes multiple file operations harder from a UI perspective.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'File manager'
  2. Navigate to any folder
  3. Perform any action on any file/folder
  4. After completion, the view forces the first file to always get selected.

Expected behavior
The view should remember the index of the selected file after performing a File Operation inside 'File manager', and keep its place there.

  1. If the action is uploading a file/folder, then the new index should be set to the newly added item.
  2. If the action is renaming a file/folder, then the index should stay the same.
  3. If the action is deleting a file/folder, then the succeeding file/folder should get selected. If no succeeding item exists, then the preceding item should get selected. If no preceding item exists, then nothing should be selected.

Actual behavior
The view forces the first file to always get selected after performing a File Operation inside 'File manager'.

Additional troubleshooting

  1. Does the issue persist if you try multiple times?
    Yes
  2. Does reconnecting/rebooting Flipper solve it?
    No

Logs
LOGS.txt

@Sliicy Sliicy added the bug Something isn't working label Jan 8, 2024
@Sliicy Sliicy changed the title BUG: qFlipper App File Operations keep resetting the selected file qFlipper App File Operations keep resetting the selected file Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant