farmerbb/Notepad

Feature request: search

sigg3 opened this issue ยท 7 comments

sigg3 commented

AFAICT there's no way to search through my notes. WHY? I have 200+ notes here :DD

๐Ÿ’ฏ% needed, a search function; thanks for this feature request!..:)

sigg3 commented

Was able to "solve" the problem using grep on exported files but to my great surprise I've heard that that's not for everyone.

opk12 commented

See also #49

lost2 commented

Notepad is great for its simplicity but search within a note (and if possible, search on all notes) is a must!

Search functionality would be really useful to have.

As a workaround, you can do the following:

First, export all your notes into a directory. If you're not sure how to do it, read here

Then you can use aGrep(F-Droid, GitHub) to search that directory.

It's not ideal, but it works.

opk12 commented

Note that exporting will make notes readable to other apps (e.g. malware or closed-source) in contrast to having them in the app-private data directory.

Note that exporting will make notes readable to other apps (e.g. malware or closed-source) in contrast to having them in the app-private data directory.

This depends on the OS and settings the user has. For example, with GrapheneOS's Storage Scopes there's no such issue:

Storage Scopes

GrapheneOS provides the Storage Scopes feature as a fully compatible alternative to the standard Android storage permissions. Storage Scopes can be enabled only if the app doesn't have any storage permission. Enabling Storage Scopes makes the app assume that is has all of storage permissions that were requested by it, despite not actually having any of them.

This means that the app can't see any of the files that were created by other apps. The app is still allowed to create files and directories, same as any other modern app that doesn't have any storage access permission.

So if you grant access to the same folder to these two apps, then only these two apps will be able to read those files.

But yes, having built-in search would be ideal. This is just a workaround for the moment.