bhofmei / jbplugin-hierarchicalcheckbox

this plugin adds a checkbox under each track category
Other
3 stars 0 forks source link

Selecting groups doesn't work correctly with subcategories #4

Open scottcain opened 6 years ago

scottcain commented 6 years ago

On WormBase's JBrowse(https://wormbase.org/tools/genome/jbrowse-simple/?data=data%2Fc_elegans_PRJNA13758, version 1.12.1), there are several categories that have subcategories. If I select "all from category" in Genes for example, where there are three subcategories, all of the tracks are selected. That's good so far. Now if I deselect the same check box, all of the tracks are removed (good) but the checkboxes beside the individual track names stay checked. Now it is in a broken state: I can select and deselect tracks, but the data never gets loaded. Additionally, try to use the "select all from category" doesn't work to even place empty tracks; it will only toggle one label on and off. Any idea what's going on here?

This bug was first brought to my attention as a wormbase bug: https://github.com/WormBase/website/issues/6444

scottcain commented 6 years ago

Oh, I should mention: this might be an old version of this plugin--I should make sure I'm up to date with master and report back.

bhofmei commented 6 years ago

Based on the video, I observe the problem. When I tried it myself using the link you sent, I don’t have that problem with the genes category.

Playing around with it on my own (which is the most most up-to-date version), I did notice occasional issues when there’s more than 2 levels of subcategory that I’m going to look into. I tried to test this in WormBase but was running into unrelated issues with the modENCODE tracks that made it difficult to do any debugging.

On Jun 6, 2018, at 2:01 PM, Scott Cain notifications@github.com wrote:

Oh, I should mention: this might be an old version of this plugin--I should make sure I'm up to date with master and report back.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bhofmei/jbplugin-hierarchicalcheckbox/issues/4#issuecomment-395160081, or mute the thread https://github.com/notifications/unsubscribe-auth/APWCOg8Rckuj0NYlE1-3hz3AoikoPXbqks5t6BjggaJpZM4UdGr_.