Skip to content

Default row sort broken #1603

Description

@JustJoostNL

What happened?

When setting the default row sort to Primary key, it does not sort on primary key. I believe this happened after updating to v0.49.0.

Besides that, I saw when it worked before it sorted the data only after it loaded, while better would be if it did it instantly (TablePlus does this)

Steps to reproduce

  1. Set default row sort to PK
  2. Open Postgres connection
  3. Open table and observe the issue

Expected behavior

It should sort correctly

Database type

PostgreSQL

TablePro version

0.49.0

macOS version & chip

macOS 26.5.1

Screenshots / Logs

No response

Activity

  1. added
    bug
    on Jun 6, 2026
  2. datlechin commented on Jun 6, 2026

    @datlechin
    Member

    Hello @JustJoostNL, could you please update to 0.49.1, it should be fixed now

  3. JustJoostNL commented on Jun 6, 2026

    @JustJoostNL
    Author

    Hi @datlechin, unfortunately this is still broken.

    When I open a table for the first time, it appears unsorted. If I then close it with CMD+W and reopen the same table, the sorting is applied correctly. After that, any tables I open also seem to be sorted correctly.

    Current behavior:

    • First table open (single click): not sorted
    • Open another table (single click) or reopen the same table: sorted

    So it looks like the sorting is only being applied after the first table view has been initialized once or something.

  4. datlechin commented on Jun 6, 2026

    @datlechin
    Member

    Thank you for the information, i'll to reproduce the issue on mine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions