KernelSU
KernelSU copied to clipboard
Case sensitive search bug
Please check before submitting an issue
- [X] I have searched the issues and haven't found anything relevant
- [X] I will upload bugreport file in KernelSU Manager - Settings - Report log
- [X] I know how to reproduce the issue which may not be specific to my device
Describe the bug
This is a bug report copied mostly from the same issue from APatch , which I assume is relevant if not exactly the same bug because it's known fact that APatch took much of its manager code from KernelSU. The bug has been fixed over there, I'm actually surprised no one reported it here yet.
When searching for installed apps to modify su permissions, the search is case insensitive when there are no spaces involved, on the other hand, if a space is inserted into the search bar, search becomes case sensitive.
To Reproduce
- Install any app with spaces in its name. (Or use an already installed app, "Kernel Flasher" in this example)
- Open KernelSU
- Go to Superuser tab
- Search for the app without matching the case(like "kernel" or "KERNEL" or whatever)
- Observe that the app disappears from the list as soon as a space is inserted (like "kernel ")
- Go back and correct the case to exactly match the app (like "Kernel ")
- Observe that the app returns to the list
Expected behavior
App stays in the list when searching without exact case matching.
Screenshots
Screenshots taken from the APatch issue, behaves exactly the same in KernelSU.
Logs
KernelSU_bugreport_2024-03-18_09_16.tar.gz
Device info
- Device: Xiaomi 12T
- OS Version: 14
- KernelSU Version: 11628
- Manager Version: v0.9.0-3-ga5e7655 (11631)
- Kernel Version: 5.10.168-android12-9-.....
Additional context
No response