Skip to content

[Bug]: The FactorLevelList does not work within tabView.Β #3364

@matyasbukva

Description

@matyasbukva

JASP Version

0.19.3

Commit ID

No response

JASP Module

Unrelated

What analysis are you seeing the problem on?

Development

What OS are you seeing the problem on?

Windows 11

Bug Description

I'm currently developing the JASP plotBuilder module.
An important part of this is the tabView.
Another key component is the creation of repeated measures (RM) plots. For this, I wanted to use the well-established solution from the RM ANOVA analysis.

VariablesForm
{
    preferredHeight: 520 * preferencesModel.uiScale
    AvailableVariablesList         { name: "allVariablesList" }
    FactorLevelList                { name: "repeatedMeasuresFactors"; title: qsTr("Repeated Measures Factors"); height: 180 * preferencesModel.uiScale; factorName: qsTr("RM Factor") }
    AssignedRepeatedMeasuresCells  { name: "repeatedMeasuresCells"; title: qsTr("Repeated Measures Cells"); source: "repeatedMeasuresFactors" }
}
  • The problem is that this does not work inside the tabView. More precisely, AssignedRepeatedMeasuresCells does not work together with the FactorLevelList component.

  • Outside of the tabView, the exact same code works.

  • If the same code is present both inside and outside the tabView, it also works.

  • However, if the code is present both inside and outside the tabView but I change the script source inside, it stops working again inside.

From this, I suspect that within the tabView, either AssignedRepeatedMeasuresCells cannot handle the source properly, or FactorLevelList is unable to serve as a source.

Image

Image

Expected Behaviour

It should work the same way inside tabView as outside.

Steps to Reproduce

Only if one creates a tabView and places the components in question inside and outside it.

Log (if any)

No response

More Debug Information

No response

Final Checklist

  • I have included a screenshot showcasing the issue, if possible.
  • I have included a JASP file (zipped) or data file that causes the crash/bug, if applicable.
  • I have accurately described the bug, and steps to reproduce it.

Metadata

Metadata

Labels

Bug: HighBugs that are negatively affecting the area of the program, but don't need immediate fix.Developer

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions