Bug #93847 Selected text highlight color is black on black or white on white
Submitted: 7 Jan 2019 23:48 Modified: 7 Feb 2019 22:52
Reporter: Alex Cabal Email Updates:
Status: Closed Impact on me:
Category:MySQL Workbench Severity:S2 (Serious)
Version:8.0.13 OS:Ubuntu (18.04.1)
Assigned to: CPU Architecture:Any

[7 Jan 2019 23:48] Alex Cabal
After installing MySQL Workbench 8.0.13 on a fresh Ubuntu 18.04.1 installation, and logging in to a vanilla Gnome session under Xorg (i.e. using the GNOME default Adwaita theme), when selecting text in the SQL editor the text color becomes black on black (with the default Adwaita light theme) or white on white (with Adwaita-dark).

This is a serious problem because it makes the SQL editor unusable.

I've browsed around to see if it's possible to change the highlight color with a setting. However this discussion suggests that it is not possible: https://forums.mysql.com/read.php?152,665348,665348

How to repeat:
- Install Ubuntu 18.04.1
- Install regular GNOME session with `sudo apt install vanilla-gnome-desktop`
- Log in to a GNOME session under Xorg (use the cog on the login screen to select the session)
- Install latest MySQL Workbench (8.0.13) from the Workbench downloads page
- Open MySQL Workbench and type into the editor. Use the mouse to select text. Observe that the selected text becomes unreadable with black text on a black background.
[7 Jan 2019 23:49] Alex Cabal
See this gif for an illustration: https://imgur.com/a/nnQTOzT
[8 Jan 2019 12:17] MySQL Verification Team
Hello Alex,

Thank you for the report and feedback!

[11 Jan 2019 12:49] Sergey longman
confirm the same in Ubuntu 18.10
screenshot: https://drive.google.com/open?id=1JhQkvnh7IeS9dW6nsF_A67G43DW6yCla

please, fix it, because version 6 unable to work in latest Ubuntu. so we don't have ANY workaround
[7 Feb 2019 22:52] Christine Cole
Posted by developer:
Fixed as of the upcoming MySQL Workbench 8.0.16 release, and here's the changelog entry:

With the GNOME desktop theme set to Adwaita (default) or Adwaita-dark,
text selected within the SQL editor was invisible.

Thank you for the bug report.