question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Android] search only finds results in the current folder (and its sub-folders)

See original GitHub issue

Which version of floccus are you using?

4.17.1

Sync method

Nextcloud Bookmarks

Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.

Brave 1.4.131 on Android 13

Which version of Nextcloud Bookmarks are you using? (if relevant)

No response

Which version of Nextcloud? (if relevant)

No response

What kind of WebDAV server are you using? (if relevant)

No response

Describe the Bug

The search only returns results from the currently selected bookmarks folder and its sub-folders.

Let’s say you have a bookmark for www.example.com in folder A and folder B, which are both sub-folders of the root folder. If you then navigate to folder B inside the floccus Android App and then search for example the search results will only include the bookmark from folder B.

If the currently selected folder does not contain any bookmarks that match the search term, floccus will not display any results even if there are bookmarks in other folders that match the search term.

If however you are in the root folder the search results will include both the bookmark from folder A and the bookmark from folder B.

Expected Behavior

The search should find results from all folders, not only the currently selected folder.

I would expect the search to return both bookmarks:

  • A/example.com
  • B/example.com

Regardless of where in the bookmarks folder structure I am at the moment.

To Reproduce

Steps to reproduce

  1. Organise bookmarks in different folders. For example, create folders A and B in the root folder, and add a bookmark for www.example.com to both folders A and B.
  2. In floccus Android, navigate to folder root/B.
  3. Tap into search field in the top bar, and search for example.

Debug log provided

  • I have provided a debug log file

Issue Analytics

  • State:open
  • Created 10 months ago
  • Comments:14 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
marcelklehrcommented, Nov 29, 2022

Nice, thanks for the explanation! How about we have multiple search results sections? First section is results inside the current folder, second second is results inside the current account, third section is results in all other accounts?

0reactions
heapifymancommented, Nov 29, 2022

👍🏽 That would work for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to search for media files in folders and subfolders?
Quaick search music in folders and subbfolders: ... EXTERNAL_CONTENT_URI; //Create query for searching media files in folder selection = MediaStore.Audio.
Read more >
Searching within a folder in the Outlook App
How do I search within a specific folder in the Outlook app? I want to show results only from one folder, not my...
Read more >
Office 365 - Find the folder location of a message when using ...
From the "Search" ribbon, you may choose to search the folder you are currently in, subfolders, all mail, or all items (includes calendar...
Read more >
App resources overview - Android Developers
This document shows you how to group your resources in your Android project and provide alternative resources for specific device configurations ...
Read more >
Search for files and folders | Google Drive
Use the files.list method to search for files and folders. Search for all files and folders on the current user's My Drive. Use...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found