PATRIC3 / patric3_website

Legacy PATRIC Website (JBoss Portal Version)
MIT License
5 stars 2 forks source link

Interesting bug #2042

Open Tinyman392 opened 6 years ago

Tinyman392 commented 6 years ago

The bug shows up on Safari Version 11.1.2 (13605.3.8) and Firefox 60.0.1 (64-bit) but doesn't for Chrome Version 68.0.3440.75 (64-bit).

While in PATRIC (I was on a Phylogenetic Tree Tab for Buchnera in this case, but it works on anything really). Go into any service (I used Phylogenetic Tree Builder) and click open a dropdown menu. Either click the back button or swipe back while the dropdown is open. The previous page will load, then the dropdown menu will appear. You can select an item in the menu, the menu will disappear with the help information appearing. If you click outside the menu, it just simply disappears. Everything works normally after.

screen shot 2018-07-26 at 2 16 18 pm
dawenx commented 5 years ago

@Tinyman392 as you mentioned, this was not related to a specific service, so i will update the labels shortly. Do you still see this issue for the latest Firefox and Safari? I did not see it happen when I tested recently.

Tinyman392 commented 5 years ago

I'm still getting it in Safari 12.1.2 and Firefox 68.0.2. Though it doesn't happen if you go back to the home page for whatever reason. So say you go Organisms > Bacillus, then go to a service, click a dropdown, then go back (using the button or swiping), the menu should appear in the upper right hand corner still.

Still no issues in Chrome. I have a feeling that both Safari and Firefox kind of cache the previous page(s) you were on and then use that, but the menu interferes with it. When going back to the hope page, it looks like Safari (didn't test Firefox, sorry) refreshes the page which negates the entire bug. It looks like Chrome seems to refresh the page as well (which negates the bug).

dawenx commented 5 years ago

thanks for the detailed info, yeah, i'm seeing it in Safari now... like the way you jump from data viewing to service, then back to data viewing. :)

looks to me this is related to "back button" issue we experience from place to place. @dmachi do you have suggestion/insight on this?

dawenx commented 5 years ago

from my testing, it looks like this happens as long as we have "data viewing to service, then back to data viewing", no matter what tab in data viewing and what service we are using.