Bug introduced in 11.1.1 (or earlier) and persisting through 11.3


This dataset is active:

Dataset[<|"a" -> 1, "b" -> <|"b1" -> 1, "b2" -> 2|>|>]

active dataset

by active I mean that you can click on it to explore deeper levels. Notice how the cursor becomes a hand and the text becomes blue on mouse over. And if you click on it, you get:

enter image description here

For some reason the following commands result in datasets that are inactive:

             Dataset[<|"a" -> 1, "b" -> <|"b1" -> 1, "b2" -> 2|>|>],

and even simpler:

            Dataset[<|"a" -> 1, "b" -> <|"b1" -> 1, "b2" -> 2|>|>], 

This is how an inactive dataset looks like:

inactive datase

My questions are:

  1. Why is the interactivity of the dataset lost?
  2. Is there a way to preserve it for the cases shown?

I am using Mathematica 11.1.1 under Windows 7.

  • $\begingroup$ I hate that I can't explain it! :) $\endgroup$ – Kuba Jul 19 '17 at 20:55
  • $\begingroup$ @kuba then it must be a good question! I contacted support (CASE:3919858), they reproduced it and proposed a workarround using NotebookWrite, SelectionMove and SelectionEvaluate. Do you think this should be tagged as a bug? $\endgroup$ – Gustavo Delfino Jul 24 '17 at 17:46
  • $\begingroup$ I don't work with Datasets as I find the formatting unpredicatable anyway so it is hard to judge for me. What I find interesting is at what stage is this hyperlink added/dropped that it is affected by button, even "Queued" one. $\endgroup$ – Kuba Jul 25 '17 at 7:30
  • $\begingroup$ All examples (including the first) are inactive in MMA 10.4.1 for Microsoft Windows (64-bit). If I click on 2 levels, I get TypeSystemStruct[{"a", "b"}, {TypeSystemAtom[Integer], TypeSystemAssoc[TypeSystemAtom[TypeSystemEnumeration["b1", "b2"]], TypeSystemAtom[Integer], 2]}]. $\endgroup$ – AccidentalFourierTransform Jun 7 '18 at 3:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.