Streamlit: Radio buttons that swap out large sections of content sometimes don't work

Created on 18 Jun 2020  路  3Comments  路  Source: streamlit/streamlit

This is again a bug that's hard to provide a minimum example for. I'm (mis?)using radio buttons as a "main menu" of sorts, like this:

image

These button trigger entirely different pages from there on.

Sometimes, after operating the app for a while, the radio buttons won't work. I know it's not a problem with some ongoing process for three reasons (1) helpful runner icon (2) I have plenty of logging to monitor the app from its CLI output and (3) it helps to try another button and try again the one you wanted.

Steps to reproduce

I've seen this bug happen consistently in v0.58. More recent versions break my app thoroughly (see below) and I haven't used it long enough.

One would have to figure a kind of minimum complexity example that still reaches a threshold of how much content is swapped by a radio button. I'm not a very good bug-reporter.

Is this a regression

I'm not sure if this is a regression. I have only seriously used 0.58 because more recent versions are awful with this other bug.

Other notes

This is a poor bug report, and I initially chose not to post it and just live with the behavior, but since I mentioned a "wider reliability story" in the other bug issue I thought I'd give another example.

bug

Most helpful comment

It is.

You're correct that this isn't a bug report, but a complaint instead. This isn't proper behavior in this kind of situation. I don't know what came over me.

I'll do the work of coming up with something that happens in a simple example in the most recent version of Streamlit in the coming days. Sorry for the annoyance.

All 3 comments

Based on your picture above of the radio box, is this the repo in question that has the issues, so that we can try and reproduce?

https://github.com/asemic-horizon/sursis

It is.

You're correct that this isn't a bug report, but a complaint instead. This isn't proper behavior in this kind of situation. I don't know what came over me.

I'll do the work of coming up with something that happens in a simple example in the most recent version of Streamlit in the coming days. Sorry for the annoyance.

No worries @asemic-horizon, happens to all of us. I edited down my message as well, because it was more aggressive than I really deserved to be.

Ultimately, we do want to help, so if you can tell us how to reproduce the issue, then we can try and figure out what the proper solution is.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tconkling picture tconkling  路  3Comments

aagnone3 picture aagnone3  路  3Comments

randyzwitch picture randyzwitch  路  3Comments

niviksha picture niviksha  路  3Comments

nadgirsanket picture nadgirsanket  路  3Comments