Words missing for a while in new browser


#1

Hi

When I start using a new browser with language forge it appears that some
words are missing from my dictionary. It sometimes takes about a day for
this to be resolved.

For example in the past few minutes I’ve logged on using opera mini (with a
second account that only has browse permissions). When I search for the
gloss “mouth” the drop down box comes up with a single item:
“blow with mouth”

However in chrome the result is 4 items:
“mouth”
“blow with mouth”
“to open mouth”
“long-mouthed mouse”

This issue seems to happen whichever account I use and whichever browser I
use. But the more consistent pattern is that it seems to happen whenever I
start using a new browser.

Tim


#2

Hi Tim,

In Opera Mini, if you wait a few minutes does the word appear? Is the
dictionary still loading in the mobile browser (showing a progress bar at
the bottom of the screen?).

Right now we haven’t had the resources to do much cross-browser testing,
either desktop or mobile, so I’m not surprised to hear that Opera Mini
isn’t working quite right. Our development target is Chrome. Firefox
should work well too.

Warm regards,

Christopher Hirt
Team Manager - Thailand
SIL Language Software Development
chris_hirt@sil.org


#3

Hi Chris

Thanks for getting back to me.

Whenever I’ve tested this I’ve always waited for the progress bar to finish
first. After about 30 minutes the extra words had still not appeared. I had
a look just now (about 20 hours later) and they had finally appeared. I
remember getting exactly the same problem with Firefox and Chrome. For
example I imagine that if I go ahead and create a new language forge
account and then use Chrome to load my dictionary it will take a few hours
before all the words can appear in the search drop down box. I can try this
but let me know if there’s a better way of testing this.

Tim


#4

Hi Tim,

I assume you are seeing this specifically in the mobile browsers and not on
desktop browsers? Admittedly we’ve done very little testing on mobile
browsers.

Warm regards,

Christopher Hirt
Team Manager - Thailand
SIL Language Software Development
chris_hirt@sil.org


#5

Hi Chris

I’m using both mobile and desktop - for me this is happening for desktop
browsers as well.

Tim


#6

Hi Chris

Also just to add, even with the same account if I use a new computer and
log in to chrome it has the same problem. I think I’ve discovered a
workaround though: if I log out and log in again then the words are all
shown.

I’m attaching a photo to this email showing the chrome browser on my
android phone showing correctly 4 words when searching for the gloss
“mouth” and a chrome browser on the desktop (using the same account)
incorrectly only showing one entry when searching for the gloss “mouth”.

With the workaround I guess this isn’t a major problem but it might put off
new users initially.

Thanks,

Tim

Hi Chris

I’m using both mobile and desktop - for me this is happening for desktop
browsers as well.

Tim


#7

Hi Tim,

I’ve looked into this problem briefly and I think I have figured out what’s causing it. Fixing the cause might take us a little while, but I think there’s a way you can work around the issue in the meantime until we fix the root cause. The underlying cause of the issue, I think, is how our sidebar on the main dictionary-edit view works: because some people have projects with many thousands of words, we’ve written the sidebar to only load words “on demand”, so that if you have a large project, you don’t have to wait for tens of thousands of words to load before you can start working. But the search feature in the sidebar can only search through the words that have already loaded into your browser: it doesn’t (yet) know about the words that are sitting there on the server, but whose data has not yet been loaded into your browser. And so that’s why it only searches through a subset of the words in your project.

If I’m right about the cause of the issue, though, there’s a pretty easy way for you to work around the problem while we work on fixing the underlying cause: you can force all the words in your project to load by dragging the scroll bar all the way to the bottom. (On a mobile phone, I think you’d swipe the list instead of dragging the scrollbar). That will cause all the words in the project to be loaded into your browser, and then the search feature will be searching through all the words. Obviously this is just a workaround, and the real answer is for us to rework the search feature so that it’s not limited to just the words that have been loaded so far in your browser. But that should at least let you keep working while we work on fixing the problem.

And if that suggested workaround doesn’t work for you, please let us know, as that would mean that I’m wrong about the underlying cause and we’d have to find a different way to fix the issue.

Robin Munn


#8

Hi Robin

Thanks for looking into this. I scrolled the sidebar down all the way to
the bottom but it didn’t seem to resolve the problem. (I had to scroll down
to the bottom quite a few times while it was updating to truly get to the
bottom). When I actually looked for the missing words in the sidebar they
weren’t there anyway.

The only workaround that currently works for me is to log out and log back
in again. That’s not a big problem though I can just tell any new users for
our prototype dictionary to log in and out the first time they try using
the dictionary.

Tim


#9

Hi Tim,

After further investigation I discovered that my initial theory about the cause of this bug was wrong, and I’m confident I’ve found the actual cause of your problem this time. We’ve written a fix for this bug, and we’re testing it now. Once we’ve tested it, we’ll deploy the bugfix to the live site, which should happen by the end of this week. In the meantime, I’ve found another workaround that may be faster than logging out and logging back in. In the left sidebar, beside the search bar, there’s an Options button that you can click to get some filtering options. Choose to filter your word list by any field (it doesn’t matter whether you choose to filter for words that have that field, or don’t have that field), and then click the Reset button right below the filters to reset the filters and show you the whole word list. That will also have the effect of reloading the word list in the sidebar, and then the search feature should search the entire word list.

Robin Munn


#10

Hi Robin

I’ve been looking for a new browser I could test this on. I’ve just tested
it with Safari on the iPhone, and it looks like the final fix has worked.

Many thanks

Tim