You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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))"])
Right click the "MyFloat" column header, and select "Freeze column" from the context menu.
Open the table overflow menu, and select organize columns, then press the sort ascending button
(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.
dsmmcken
changed the title
Freezing a column then sorting columns in the organize column results in wrong column frozen.
Freezing a column then sorting columns in the organize column results in wrong column frozen
Nov 15, 2023
- Fixes#1645
- Moves are now generated for frozen columns (like front/end for initial
moved columns) and only used when sorting
- The range being sorted is truncated to remove frozen/front/end columns
- Added tests to make sure the sort is correct
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
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
Versions
Engine Version: 0.31.0
Web UI Version: 0.54.0
Java Version: 21.0.1
Barrage Version: 0.6.0
The text was updated successfully, but these errors were encountered: