Skip to content

Reordering columns performance issue #7

@dawnmist

Description

@dawnmist

Firstly: Numbers is the first Mod I ever installed for Rimworld, and is so essential to gameplay that I cannot do without it. Thank you for updating the mod for 1.1!

When trying to reorder columns in the Numbers tabs, there is a significant delay between dragging the column with the mouse and the column actually getting moved. This delay increases drastically with more columns being defined in the table. By the time I have a colonist panel set up with skills, health info & operations, equipment, age, food/rest/mood, and a few stats, it can take up to 60 seconds for a dragged column to actually update in position, with the UI freezing/jerking during this time and the column-drag-position indicator not updating properly, resulting in the column sometimes ending up in the wrong position (or dropping the column back to the very end of the table instead of where it was intended to be dropped - possibly more common when the mouse isn't kept in the area where the drop was desired until the column is finally dropped even though the mouse button is no longer held down).

I managed to capture examples for both the "dropped at the end of the table" and the "dropped where requested" examples in this video: https://youtu.be/5hbK5Ptby14

The behaviour is as if the table columns are being re-sorted every few pixels that it gets dragged rather than just at the end of the drag movement or something similar, causing the game to lock up with excessive calculations during the drag. Once it finally "lets go" of the dragged column the game returns to fully responsive.

Note that this issue also existed in the 1.0 version of Numbers released by Mehni too (which was the first version I'd used, so it may have been there from before then too), so it's been one of long standing. Originally I'd thought it may be PC related, but after replacing my PC recently the performance is completely unchanged.

OS: Debian Linux 10 (Buster).
CPU: Ryzen 3950X.
GPU: NVidia 2070 RTX Super.
32 Gb Ram.
OS and game installed on a 1TB PCI-E 3 NVME M2 drive.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions