Ads were blocked by your webbrowser.

This is not a problem, but keep in mind that developing HeidiSQL, user support and hosting takes time and money.

You may want to send a donation instead.

Custom colours are gone

kalvaro's profile image kalvaro posted 2 months ago in Feature discussion

I've just discovered that the background colour selector was moved to Connection Manager some months ago. I can live with that but my saved colours are gone!

It doesn't seem to be just a migration issue because the feature no longer works. Whatever colours I add there just get lost.

The original use case still applies—I always use the same small subset of colours because I've assigned a specific meaning to them:

  • Red: production
  • Yellow: staging / testing
  • Green: development
  • Blue: administration
kalvaro's profile image kalvaro posted 2 months ago

I've just realised that my description can be ambiguous. I don't mean I've lost the colours of the connections (they are still there and they can be changed just fine). I'm referring to the favourite colours that you can save in the advanced colour picker to be used later.

ansgar's profile image ansgar posted 2 months ago

Yes, I was confused by your first post, but the second one is reproducible. I recall I was just lazy when I moved the color selector, but I will bring them back.

1 attachment(s):
  • colorpicker-missing-custom-colors


Ads were blocked by your webbrowser.

This is not a problem, but keep in mind that developing HeidiSQL, user support and hosting takes time and money.

You may want to send a donation instead.
ansgar's profile image ansgar posted 2 months ago

How about that? I could not access the color picker which pops up for "Individual color", but I managed to add colors directly to the dropdown, like so: https://stackoverflow.com/questions/8889263/how-i-can-add-a-custom-color-to-an-tcolorbox-using-the-ongetcolors-event It's in the latest build.

1 attachment(s):
  • colorbox-custom-colors
kalvaro's profile image kalvaro posted 2 months ago

Thank you. The idea is pretty neat but this is what I see (2 out of 4 custom colours, but several times each):

Screenshot

ansgar's profile image ansgar posted 2 months ago

Ok, different servers with the same colors. Looks superflous somehow. I should only add unique colors, and label them with the first session name I find. Or do you have some better idea for the labels?

kalvaro's profile image kalvaro posted 2 months ago

Hmmm... Naming is hard.

Perhaps something like?

  • Session "Foo"
  • Session "Bar" (and 3 more)
ansgar's profile image ansgar posted 2 months ago

I decided to name them "Custom color", with unique colors only. Instead of their session names, the hex code for these colors are now displayed, which is probably useful for us:

1 attachment(s):
  • colorbox-custom-colors-hexcode
kalvaro's profile image kalvaro posted 2 months ago

It's indeed a good idea. However, I think either something doesn't work correctly or I've misunderstood how it works because I only see two custom colours. I've verified so in two computers.

(My screen capture software has decided to stop working.)

kalvaro's profile image kalvaro posted 2 months ago

Screenshot: new connection



Ads were blocked by your webbrowser.

This is not a problem, but keep in mind that developing HeidiSQL, user support and hosting takes time and money.

You may want to send a donation instead.
ansgar's profile image ansgar posted 2 months ago

I suppose that red one is the same on all of your 5 "red" sessions, so it is only added once now, to have unique colors only.

By the way, images can now be directly pasted into the message field here in the forum.

kalvaro's profile image kalvaro posted 2 months ago

But I use 4 different custom colours (red, yellow, green and blue) and the dropdown only displays two (red and yellow).

Screenshot

kalvaro's profile image kalvaro posted 2 months ago

If you're unable to reproduce it feel free to ask for whatever you need can help. For instance, I could send you privately a redacted export of my saved connections. Or I can open a GitHub ticket if you can't address this right now.

ansgar's profile image ansgar posted 2 months ago

I was busy with the broken DPI stuff, which is now history, now that I removed support for it.

Regarding these missing custom colors, I thought these were not added if they are equal to one of the system colors, e.g. "Menu Highlight". But this proves that such colors are added a second time:

Description

Probably you can post one screen of one of the selected colors which are missing?

ansgar's profile image ansgar posted 2 months ago

I cannot even reproduce that with sessions in a folder.

Please send the export of your sessions, but don't forget to remove credentials. Email address is on the imprint page.

ansgar's profile image ansgar posted 2 months ago

Just imported your settings file, and got 4 custom colors, using the latest build:

Description

kalvaro's profile image kalvaro posted 2 months ago

I'm currently using latest build and now it works fine for me too :-!

Never mind, thank you very much for the feature and I hope I didn't make you waste too much time.

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