3

I am having difficulty getting the Content assist colors right. With auto-completion, the first suggestion is always light color on light color. Here is what it looked like originally (Dracula Theme):

DBeaver Screenshot

Changing the values of Content Assist Background/Foreground colors did not have any affect on the top suggestion. Here is a screenshot from after swapping the Content Assist Foreground and Background colors (Darkest Dark theme):

DBeaver Darkest Dark

I have tried swapping every other practical color setting in Window->Preferences->General->Appearance->Colors and Fonts with no luck. The color scheme in the first image above is the popular Dracula theme that I manually set up setting by setting. Thinking I screwed something up in there, I scrapped all that work and switched to the Eclipse DevStyle theme Darkest Dark. Here, I was met with the same issue. After this, I switched everything to default settings where the color scheme is black font on white background. Everything is readable. Switching back to the Darkest Dark, the issue remains.

I have found similar questions regarding this, but their solutions are mostly for Linux (GTK specifically). This machine I am using is on Windows 7. I also have a laptop that runs DBeaver on Arch Linux and does not suffer from this problem. It seems this issue may be system dependent. I found one answer that suggested changing the message box settings for Windows may fix this, but my message box settings are currently black text on white background. Any help is greatly appreciated!

Jason
  • 2,493
  • 2
  • 27
  • 27
  • 1
    Jason, do you know what editor you're using? If you right click and choose "open with" you'll see an editor currently selected. We tried both the default SQL editor and the DBeaver SQL editor but couldn't see this coloring issue. On the DevStyle page, have you tried using the "Force Colors" checkbox and ensuring the "allow oomph" checkbox is unchecked as you switch through a few themes? – Brian Fernandes Mar 16 '20 at 14:04
  • @BrianFernandes Thanks for the response. I did try the "Force Colors" option. I will need to look tomorrow for the "allow oomph" option. I can say that this issue started before I installed devstyle... I don't know if that is any help. Installing devstyle was my attempt at a remedy. – Jason Mar 17 '20 at 00:54
  • 1
    @BrianFernandes I am actually using the standalone DBeaver client `Version 7.0.0.202003021717`. So I think I only have 1 editor. I couldn't find that "allow oomph" option. – Jason Mar 17 '20 at 13:56
  • Jason, could you try with a brand new dummy workspace to see if the problem occurs there too? That would help figure out if workspace settings are affecting this, or they're coming from elsewhere. Oomph settings (which will affect even new worksapces) can be found in the .eclipse folder in your home directory (directories named *oomph*). You could temporarily move these directories elsewhere to prevent them from interfering as well. – Brian Fernandes Mar 18 '20 at 15:45
  • 2
    Hello! Can you let me know which Windows theme you have in your system? We know some system-level themes cause issues like this, for example, windows Classic. – Aaron Lara Mar 18 '20 at 16:06
  • 2
    @AaronIsaacLaraOtero Dude you nailed it. I am using Windows 7 with Windows Classic theme. I switched to Windows 7 Basic theme, and I could see the text. Kind of sucks that I have to ditch my Windows XP style theme, but it is worth it here. If you want to make that an answer, I'll accept it. – Jason Mar 18 '20 at 17:15
  • Awesome! Making it an answer then so others find it more easily. – Aaron Lara Mar 18 '20 at 17:35

2 Answers2

2

Most of the SWT widgets relay on the OS level theme. For example, it's known that using the Windows Classic theme at the OS level can cause oddities like this one. So just switching to a different theme can fix this issue.

Aaron Lara
  • 196
  • 6
0

maybe you have found the solution, just in case anyone is still searching... we can change the color of "content assist", you can find in "Colors and fonts".

click here to see the setting

yic
  • 1
  • 1
  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Dec 25 '22 at 12:04