uSticker icon indicating copy to clipboard operation
uSticker copied to clipboard

Sticker search not working

Open jversusk opened this issue 4 years ago • 16 comments

Some search terms don't seem to work for stickers loaded through uSticker, although they work for other sticker packs. I'm having problems with these:

  • promise
  • sniff
  • xoxo
  • shhh
  • ilu/ily

Those words are in the filename, but I'm only getting results from other sticker packs.

jversusk avatar Nov 04 '19 15:11 jversusk

Can you post the full filename for the ones that aren't working? Thanks.

apsun avatar Nov 04 '19 15:11 apsun

The filenames originally contained numbers along with the words, but I've tried using only the words and still have the same problem.

jversusk avatar Nov 04 '19 15:11 jversusk

It's happening only for specific words. If for instance I change "shhh" to "quiet", it works. Similarly, "hugs-kisses" in place of "xoxo" works - but it's longer, so I'm hoping there's a better solution.

jversusk avatar Nov 04 '19 15:11 jversusk

Actually, interesting, search doesn't work at all for me. Keywords are still generated correctly afaict, so I'm going to assume (and based on your description) that this is a bug in Gboard. Bleh. I'll investigate more when I get some time.

apsun avatar Nov 04 '19 16:11 apsun

That's weird, most search terms are (seemingly) working for me. Anyway, thanks for looking into it.

jversusk avatar Nov 04 '19 16:11 jversusk

2019-11-04 20:09:16.014 14130-14185/? I/Icing: Query from package: com.google.android.inputmethod.latin, component: null, restrict package: null, start: 0, num: 100 maxNumSlices: 2147483647
2019-11-04 20:09:16.019 2186-26362/? I/AppIndexingFetcher: Fetched 1 results with 0 parse fails and 0 filter fails
2019-11-04 20:09:17.209 1381-1429/? I/ActivityManager: Killing 12321:com.google.android.apps.tycho/u0a107 (adj 975): empty #17
2019-11-04 20:09:17.210 1381-1429/? I/ActivityManager: Killing 24502:com.google.android.projection.gearhead:shared/u0a108 (adj 985): empty #18
2019-11-04 20:09:17.218 14130-14185/? I/Icing: Query from package: com.google.android.inputmethod.latin, component: null, restrict package: null, start: 0, num: 100 maxNumSlices: 2147483647
2019-11-04 20:09:17.223 2186-26363/? I/AppIndexingFetcher: Fetched 1 results with 0 parse fails and 0 filter fails
2019-11-04 20:09:17.238 877-877/? I/Zygote: Process 12321 exited due to signal 9 (Killed)
2019-11-04 20:09:17.240 877-877/? I/Zygote: Process 24502 exited due to signal 9 (Killed)
2019-11-04 20:09:17.256 1381-1452/? I/libprocessgroup: Successfully killed process cgroup uid 10107 pid 12321 in 45ms
2019-11-04 20:09:17.257 1381-1452/? I/libprocessgroup: Successfully killed process cgroup uid 10108 pid 24502 in 0ms
2019-11-04 20:09:17.423 2186-2186/? I/AndroidIME: LatinIme.onDeactivate()
2019-11-04 20:09:17.424 2186-2186/? I/AndroidIME: LatinIme.onActivate() : EditorInfo = Package = org.thoughtcrime.securesms : Type = Text : Learning = Enable : Suggestion = Show : AutoCorrection = Enable : Microphone = Show : NoPersonalizedLearning = Enable
2019-11-04 20:09:17.424 2186-2186/? I/Delight5Facilitator: initializeForIme() : Locale = [en_US], layout = qwerty
2019-11-04 20:09:17.437 2186-2186/? I/Environment: com.bitstrips.imoji is not installed
2019-11-04 20:09:17.439 2186-2186/? W/EndAdapter: notifyHeaderViewSelectionChanged() : selectedElementPosition is same as newSelectedPosition
2019-11-04 20:09:17.447 14130-14185/? I/Icing: Query from package: com.google.android.inputmethod.latin, component: null, restrict package: null, start: 0, num: 100 maxNumSlices: 2147483647
2019-11-04 20:09:17.452 2186-26277/? I/AppIndexingFetcher: Fetched 7 results with 0 parse fails and 0 filter fails
2019-11-04 20:09:17.722 2186-2186/? I/ErrorCard: Error encountered: 1
2019-11-04 20:09:42.724 877-877/? D/Zygote: Forked child process 26367

These are the logs I get during search. Interestingly, search suggestions seem to work fine; I added a new sticker and it was listed in the suggestions. That indicates it clearly can see the files with keywords. Strongly suspecting a Gboard bug now. I'll see if I can test on an earlier version of Gboard. Do you mind posting your Gboard version as well?

apsun avatar Nov 05 '19 04:11 apsun

I have version 8.7.10.272217667

jversusk avatar Nov 05 '19 06:11 jversusk

Tested on some previous Gboard versions:

8.4.2: OK 8.5.7: OK 8.6.11: broken 8.7.10: broken 8.8.10: broken

Looks like it was probably broken for a few months now and nobody noticed. As for why some keywords work for you but not others, I'm going to guess it's a caching issue similar to the last bug they had.

apsun avatar Nov 05 '19 07:11 apsun

Ok, thanks. Hope they fix it, I wouldn't know how to report the issue because I don't really understand the background workings.

jversusk avatar Nov 05 '19 17:11 jversusk

It looks like literally none of the Gboard sticker apps in the Google Play store work with search (also while testing them I feel like I got myself a few viruses too, blegh). And given it's been broken for this long, I feel like nobody at Google cares. Oh well. Looks like we'll have to live without search.

apsun avatar Dec 18 '19 06:12 apsun

I just updated to Gboard 8.9.14.285858165 and checked again - all the words I mentioned in the beginning are working now. If it works for you too, then I suppose they've fixed it.

jversusk avatar Dec 19 '19 07:12 jversusk

Hmm they're still broken for me on that version 🙃

I'll keep this issue open for now so it's discoverable in case other people have the same problem.

apsun avatar Dec 19 '19 16:12 apsun

They do seem to take a little extra time/effort to load - I have to scroll forward to the end of the search results and make a slight reverse scrolling motion to make the uSticker results appear.

jversusk avatar Dec 19 '19 16:12 jversusk

@jversusk oh my god you're right, what a shitty experience. That confirms it's a bug on Google's side. I assume this means they're not loading the search results correctly in the initial list. Great find! Sadly this doesn't help if there aren't enough external results to scroll through :-(

apsun avatar Dec 19 '19 18:12 apsun

Sadly this doesn't help if there aren't enough external results to scroll through :-(

Hmm I can see how that could be a problem although it hasn't happened to me so far.

jversusk avatar Dec 21 '19 08:12 jversusk

The sticker search is not working for any filenames for imported stickers, but works fine for other sticker packs.

I have Gboard version 9.7 on Android 9

seffparker avatar Sep 03 '20 14:09 seffparker