[SOLVED] Tab component automatically makes 'Alarms' lowercase

I have a strange issue in Ignition Platform 8.0.7 and I’m wondering if anyone has seen this before. When using a Tab Strip component I can add any Display names I want and the preview appears correct. However, if I add “Alarms” the preview will be correct but when I launch the project “Alarms” will show as “alarms” (all lowercase). Is this a bug?

Anyone developers willing to chime in?

I’m not able to replicate this behavior. Is the Dataset for Tab Data hard-coded, or is it set via a binding? Either way, could you provide a screenshot of the relevant data in the Dataset?

sidebar_export.zip (4.2 KB)

I’ve attached the sidebar window from version 8.0.7. I run the following script when the visionWindowOpened is triggered.

row0 = ["MainTabs/Alarms", "Alarm", True, False, "F48E1C", "Builtin/icons/24/warning.png", 4, 3, "000000", "808080", "font(Dialog,bold,24)", "EEECE8", "EEECE8", "Builtin/icons/24/warning.png", 4, 3, "000000", "EEECE8", "font(Dialog,bold,24)", "EEECE8", "AAAAAA", True, True, "Alarm"]
row1 = ["MainTabs/Main", "Main", True, False, "F48E1C", "Builtin/icons/24/home.png", 4, 3, "000000", "808080", "font(Dialog,bold,24)", "EEECE8", "EEECE8", "Builtin/icons/24/home.png", 4, 3, "000000", "EEECE8", "font(Dialog,bold,24)", "EEECE8", "AAAAAA", True, True, "Main"]
row2 = ["MainTabs/Collectors", "Collectors", True, False, "F48E1C", "Builtin/icons/24/table_sql_view.png", 4, 3, "000000", "808080", "font(Dialog,bold,24)", "EEECE8", "EEECE8", "Builtin/icons/24/table_sql_view.png", 4, 3, "000000", "EEECE8", "font(Dialog,bold,24)", "EEECE8", "AAAAAA", True, True, "Collectors"]
row3 = ["MainTabs/VFDs", "VFDs", True, False, "F48E1C", "Builtin/icons/24/table_sql_view.png", 4, 3, "000000", "808080", "font(Dialog,bold,24)", "EEECE8", "EEECE8", "Builtin/icons/24/table_sql_view.png", 4, 3, "000000", "EEECE8", "font(Dialog,bold,24)", "EEECE8", "AAAAAA", True, True, "VFDs"]
row4 = ["MainTabs/Timers", "Timers", True, False, "F48E1C", "Builtin/icons/24/table_sql_view.png", 4, 3, "000000", "808080", "font(Dialog,bold,24)", "EEECE8", "EEECE8", "Builtin/icons/24/table_sql_view.png", 4, 3, "000000", "EEECE8", "font(Dialog,bold,24)", "EEECE8", "AAAAAA", True, True, "Timers"]
row5 = ["MainTabs/Roster", "Roster", True, False, "F48E1C", "Builtin/icons/24/table_sql_view.png", 4, 3, "000000", "808080", "font(Dialog,bold,24)", "EEECE8", "EEECE8", "Builtin/icons/24/table_sql_view.png", 4, 3, "000000", "EEECE8", "font(Dialog,bold,24)", "EEECE8", "AAAAAA", True, True, "Roster"]
row6 = ["MainTabs/Reports", "Reports", True, False, "F48E1C", "Builtin/icons/24/table_sql_view.png", 4, 3, "000000", "808080", "font(Dialog,bold,24)", "EEECE8", "EEECE8", "Builtin/icons/24/table_sql_view.png", 4, 3, "000000", "EEECE8", "font(Dialog,bold,24)", "EEECE8", "AAAAAA", True, True, "Reports"]

tab = system.gui.getParentWindow(event).getComponentForPath('Root Container.Tabs')
rowIndices = range(tab.tabData.getRowCount())
newTab = system.dataset.deleteRows(tab.tabData, rowIndices)

dsEdit = system.dataset.addRow(newTab, 0, row0)
dsEdit = system.dataset.addRow(dsEdit, 1, row1)
dsEdit = system.dataset.addRow(dsEdit, 2, row2)
dsEdit = system.dataset.addRow(dsEdit, 3, row3)
dsEdit = system.dataset.addRow(dsEdit, 4, row4)
dsEdit = system.dataset.addRow(dsEdit, 5, row5)
dsEdit = system.dataset.addRow(dsEdit, 6, row6)

tab.tabData = dsEdit

I’ve tried several different things but it keeps coming up lowercase… maybe something simple i am overlooking. In the script I type ‘Alarm’ which works fine but when you change it to ‘Alarms’ it will go lowercase.

Found a solution but not a cause of the problem.

I was working on a custom popup and was adding some label text “Name:” and “Status:” and the label text was cutting off the colon when I went to run the client.

All I can say is the behavior was very weird but then I tried adding HTML formatting to the label text. This immediately fixed the issue at hand so I went to apply it to my original problem in this thread and it worked.

row0 = ["MainTabs/Alarms", "Alarms", True, False, "F48E1C", "Builtin/icons/24/warning.png", 4, 3, "000000", "808080", "font(Dialog,bold,24)", "EEECE8", "EEECE8", "Builtin/icons/24/warning.png", 4, 3, "000000", "EEECE8", "font(Dialog,bold,24)", "EEECE8", "AAAAAA", True, True, "Alarms"]

becomes…

row0 = ["MainTabs/Alarms", "<html>Alarms</html>", True, False, "F48E1C", "Builtin/icons/24/warning.png", 4, 3, "000000", "808080", "font(Dialog,bold,24)", "EEECE8", "EEECE8", "Builtin/icons/24/warning.png", 4, 3, "000000", "EEECE8", "font(Dialog,bold,24)", "EEECE8", "AAAAAA", True, True, "<html>Alarms</html>"]