Skip to content

Freezing a column then sorting columns in the organize column results in wrong column frozen #1645

@dsmmcken

Description

@dsmmcken

Description

Freezing a column then sorting columns in the organize column results in wrong column frozen. After the user is also unable to unfreeze the wrongly frozen column.

Steps to reproduce

from deephaven import time_table

simple_ticking = time_table("PT00:00:01").update([
        "MyString=new String(`a`+i)",
        "MyInt=new Integer(i)",
        "MyLong=new Long(i)",
        "MyDouble=new Double(i+i/10)",
        "MyFloat=new Float(i+i/10)",
        "MyBoolean=new Boolean(i%2==0)",
        "MyChar= new Character((char) ((i%26)+97))",
        "MyShort=new Short(Integer.toString(i%32767))",
        "MyByte= new java.lang.Byte(Integer.toString(i%127))"])
  1. Right click the "MyFloat" column header, and select "Freeze column" from the context menu.
  2. Open the table overflow menu, and select organize columns, then press the sort ascending button
  3. (optional): attempt to unfreeze the frozen column (now MyBoolean)

Expected results
MyFloat remains frozen, and the other columns are sorted.

Actual results

MyBoolean becomes the frozen column, and no columns are shown as frozen as the organize columns list. Right clicking the "MyBoolean" column doesn't give an option to unfreeze it, only freeze which then freezes a completely different column.

Additional details and attachments

freeze_column

Versions

Engine Version: 0.31.0
Web UI Version: 0.54.0
Java Version: 21.0.1
Barrage Version: 0.6.0

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions