Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the longstanding "Doodles persist" issue - is it browser-dependent? #48

Closed
dbuscombe-usgs opened this issue Nov 2, 2022 · 5 comments
Closed

Comments

@dbuscombe-usgs
Copy link
Member

Doodler uses a timer to periodically search through the assets and labeled folders, reconcile them, and update the image list. This is to ensure that you dont doodle the same image twice

The code that does that is https://github.com/Doodleverse/dash_doodler/blob/main/app.py#L482

(this is why you often have to select images a few times before they 'stick')

That is also supposed to clear the doodles from the main window. Often, it does not; doodles 'persist' from the previous image. The only known workaround is a browser refresh, which is annoying (-ly slow)

Changing interval=500 to a higher number, say interval=1000, or a lower number, say interval=100, did not help

Switching browsers, from Chrome to Firefox, helped a LOT. Hey The 4 MuskaDoodlers! @venuswku @ebgoldstein @2320sharon @CameronBodine - you seeing the same thing? Which browser do you use? have you noticed big differences between them?

@ebgoldstein
Copy link
Member

ebgoldstein commented Nov 2, 2022

I use firefox. file selection is rarely a problem. I typically wait ~2 seconds after selecting an image before i slip over to the doodling interface.

(is the same selection issue as #12 ?)

@2320sharon
Copy link
Collaborator

I typically use Google Chrome when I'm doodling. I recall having the persisting doodles error occur occasionally, but I have encountered it since the latest update to doodler. That being said I also haven't been doodling much.

@2320sharon
Copy link
Collaborator

doodler_file_selection_bug_chrome_gif
Also @dbuscombe-usgs not sure if you're aware of this quirk in doodler, but on Google Chrome when the user initially loads up doodler none of the files are shown. They have to switch back to the main page of doodler and then click the file tab again for the files to appear. This has happened every single time I have opened doodler with Google Chrome.

@dbuscombe-usgs
Copy link
Member Author

Thanks @2320sharon that's good input. I noticed only yesterday how bad Chrome was w/r/t the 'persistent doodle' problem. It almost went away switching to Firefox. It seems like everyone has a slightly different experience ... it would be nice to understand what exactly happens when those doodles persist. I don't know enough about browsers and caching to really make headway. But thanks for the info!!

@2320sharon
Copy link
Collaborator

Happy to help! For now, it might be a good idea to recommend that users use FireFox. Digging into browser-specific issues can be a pain and sometimes result from the package you're using to compile python code to javascript rather than your code.

@Doodleverse Doodleverse locked and limited conversation to collaborators Nov 3, 2022
@ebgoldstein ebgoldstein converted this issue into discussion #49 Nov 3, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants