MaterialFiles icon indicating copy to clipboard operation
MaterialFiles copied to clipboard

Search in Martial Files is buggy

Open theFireProject opened this issue 1 year ago • 4 comments

The No files image is cut off while the keyboard is open:


Also, it's impossible to minimize the keyboard on the search results page:

https://github.com/zhanghai/MaterialFiles/assets/61639215/184d456f-651c-41b4-83f6-91786bdd3446

If I minimize the keyboard, the app goes back to the previous folder and closes the search results.

There are two options to minimize the keyboard. I can press the button in the bottom right corner or use the back gesture. Both have the same effect.

If many files are found, you probably need to scroll down to look at all the files. In this case it's necessary to minimize the keyboard. It's very difficult to scroll down and look at the files if the keyboard is open because there's so little space on the screen.

theFireProject avatar Jul 02 '24 18:07 theFireProject

The first one is a UI bug. For the second one, I could use the close keyboard button to dismiss the keyboard without dismissing the search on my OnePlus 12 OxygenOS Android 14. What is your OS version?

zhanghai avatar Jul 02 '24 19:07 zhanghai

Android 13, Samsung Galaxy S20+ (SM-G986U1), Material Files version 1.7.4

theFireProject avatar Jul 02 '24 19:07 theFireProject

Having same issue while dismissing the keyboard it will also dismiss the search

Solovertical avatar Jul 16 '24 02:07 Solovertical

I noticed, the problem also occurs when editing a text file in Material File's text editor. Sometimes when I dismiss the keyboard, the app shows the unsaved changes dialog, as if I pressed the back button while the keyboard is closed in order to exit the text editor. I can't tell exactly in which situation it happens and why it only happens sometimes.

Screen recording

Testing what happens when I dismiss the keyboard:

https://github.com/user-attachments/assets/1ff89d49-2c59-46c0-8e17-99b800ec26d3

theFireProject avatar Mar 09 '25 21:03 theFireProject