Ads were blocked - no problem. But keep in mind that developing HeidiSQL, user support and hosting takes time and money. You may want to send a donation instead.

Colors für Query Tabs

poblox's profile image poblox posted 3 months ago in Feature discussion Permalink

I would like to recognize immediately in what connection I'm executing a query. I often have multiple connections with similar databases and sometimes execute my query to the wrong connection, because the wrong connection was active, shown only by the bold font on the left panel.

I want to see more clearly what connection is active. Is it possible to color the text "Host: ..." above the Query-Tabs in the same theme as the connection?

ansgar's profile image ansgar posted 3 months ago Permalink

Query tabs are not bound to a connection, apart from the fact that you may know they work only on one server. I have several servers where specific queries potentially run on all of them. This is intentional.

There were some ideas in issue #933 how to make query tabs bound to a session. But this is all broken in some way, as HeidiSQL supports multiple connections in one window.

poblox's profile image poblox posted 3 months ago Permalink

I don't want query tabs to be bound to a session.

When you choose a connection on the left panel, HeidiSQL already shows the name of the connection.

I want to have this in the same color theme as the connection. This helps to pay attention which connection is currently chosen.

1 attachment(s):
  • 2020-09-01-10_23_13-Window
ansgar's profile image ansgar posted 3 months ago Permalink

Ah you mean just all tabs should get the color of the selected session?

Understand - that's then a question how that looks like, and if it's possible at all. As far as I know there is no way to set a custom color on tabs of a page control. But I can do a test.

poblox's profile image poblox posted 3 months ago Permalink

I would be happy if at least the small panel with "Host: XYZ" had the same color as the connection. :)

For example, if I click on a connection named "Live" with red color theme, than this panel changes to "Host: Live" and also turns into the same red color theme.

ansgar's profile image ansgar posted 3 months ago Permalink

I think issue #785 describes exactly your issue, and already has some solutions.

Please login to leave a reply, or register at first.




Ads were blocked - no problem. But keep in mind that developing HeidiSQL, user support and hosting takes time and money. You may want to send a donation instead.