Skip to content

Currently open tabs close when switching between schemas #3250

Closed

Description

@droully

Please answer the questions below, it helps us to keep track of the issue. Please do not ignore it or your issue will be closed.

  1. Which driver are you using and version of it (Ex: PostgreSQL 10.0):

PostgreSQL 13.4

  1. Which TablePlus build number are you using (the number on the welcome screen, Ex: build 81):

Buld 260

  1. The steps to reproduce this issue:

Open multiple data table tabs within a single schema in TablePlus.
Switch to a different schema within the same database.
Observe that previously opened tabs are now closed.

  1. Expected behavior:

Open tabs should be kept between schema switching.

I haven't updated nor changed any settings that could've caused this change in behavior. A troublesome workaround I found is to edit a table and then, when switching schema, it's tab remains open.

Please help, this has a really negative affect on my workflow.

Activity

  1. ekuzovlev commented on Mar 26, 2024

    @ekuzovlev

    Also encountered such behavior. Very inconvenient.

  2. coltonbrugger commented on Mar 27, 2024

    @coltonbrugger

    I'm noticing this in TablePlus Version 5.9.2 (542) on Mac as well when using SQL Server.

    Additionally, I see that opening two windows for the same DB connection (something I never thought to do before) doesn't even help me to be able to maintain visibility on objects from multiple DB schemas.

    TablePlus has been my go-to tool for years now. This has upended my workflow.

    I'm eager to see a fix for this. I am willing to provide a tip if it helps complete it in short order.

  3. huyphams commented on Mar 28, 2024

    @huyphams
    Contributor
  4. droully commented on Mar 28, 2024

    @droully
    Author

    is there any chance for a fix for windows?

  5. huyphams commented on Mar 29, 2024

    @huyphams
    Contributor

    The TablePlus Windows will be fixed in the next update.

  6. coltonbrugger commented on Apr 16, 2024

    @coltonbrugger

    @huyphams

    This is still occurring for me.

    I am using TablePlus Version 5.9.6 (546) on macOS Sonoma 14.4.1.

    Steps to reproduce:

    • open new connection to MSSQL database
    • open a table ("TableA") on the default schema (in my case, "dbo" schema) by double-clicking the object's name in left sidebar
      • the table opens in a new tab (tab 1) as expected
    • switch to another schema (in my case, "web" schema)
    • open a stored procedure from "web" schema by double-clicking the object's name in left sidebar
      • the object definition opens in a new tab (tab 2) as expected
    • switch back to original schema ("dbo")
      • unexpected side effect/bug: the tab 2 (with definition of web.StoredProcedureExample) closes unexpectly and only Tab 1 remains open

    Thanks for your consideration of this issue!

  7. huyphams commented on Apr 17, 2024

    @huyphams
    Contributor

    Oh I see @coltonbrugger there is a bug with function tab. Let me fix it.

  8. huyphams commented on Apr 17, 2024

    @huyphams
    Contributor
  9. coltonbrugger commented on Apr 17, 2024

    @coltonbrugger

    Thanks @huyphams. This patch works well with Tables, Stored Procedures, and Functions now, not closing tabs when switching between schemas while any of those objects are open.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions