Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autocomplete tooltip colors are unreadable on Linux #1704

Closed
smrg-lm opened this issue Oct 30, 2015 · 21 comments
Closed

Autocomplete tooltip colors are unreadable on Linux #1704

smrg-lm opened this issue Oct 30, 2015 · 21 comments
Labels
bug Issues that relate to unexpected/unwanted behavior. Don't use for PRs. env: SCIDE os: Linux
Milestone

Comments

@smrg-lm
Copy link
Contributor

smrg-lm commented Oct 30, 2015

The fonto color of the tooltip is white over yellow which makes it not readable.

white-yellow

Ubuntu 14.04 Qt from Digia and Ubuntu.

@theseanco
Copy link

Also having this issue, any way to resolve it?

@theseanco
Copy link

As pointed out by @danstowell this appears to be a bug with ubuntu and unity.

@gusano
Copy link
Member

gusano commented Jan 3, 2016

It would be nice to be able to configure those colours in the theme..

@timblechmann
Copy link
Contributor

@gusano, QPalette, not theme: https://doc.qt.io/qt-5/qpalette.html#ColorRole-enum

on some operating systems, it is populated by the desktop environment, on some it isn't.

@felixetienne
Copy link

Same problem for me on Ubuntu16.04 / Gnome3.

@vivid-synth
Copy link
Member

(can we add the "QT GUI" label to this?)

@nhthn nhthn added env: SCIDE bug Issues that relate to unexpected/unwanted behavior. Don't use for PRs. labels Jul 31, 2016
@nhthn
Copy link
Contributor

nhthn commented Jul 31, 2016

Still happening here. Ubuntu 16.04 with xfce

@nhthn nhthn added this to the 3.8 milestone Aug 17, 2016
@miguel-negrao
Copy link
Member

Happens in debian testing + gnome 3.20.2 too.

@grirgz
Copy link
Contributor

grirgz commented Aug 19, 2016

Ok, I have taken this like a challenge and searched for hours how to fix
this, and I found it ! (at least, on ubuntu 14.04)

install color chooser and launch it:

sudo apt-get install gnome-color-chooser
gnome-color-chooser

then go to "specific" tab, then check the checkbox in "tooltips"
section and choose good colors

now restart the SCIDE, and voila ! (hope this works for everybody)

Maybe there is also something to do in scide code, but at least it's a workaround

@felixetienne
Copy link

Wow! Works fine :D
Thanks!

@nhthn nhthn mentioned this issue Sep 21, 2016
@telephon
Copy link
Member

So is this a bad choice in SCIDE or in gnome?

@nhthn
Copy link
Contributor

nhthn commented Sep 24, 2016

@telephon It's not GNOME- or Unity-specific, I'm also seeing it in xfce. It happens when the default tooltip color in the window manager is white or whiteish, and it looks like scide just forgot to override it.

@telephon
Copy link
Member

ok, so we keep it as a bug.

@HardwareHaquer
Copy link

HardwareHaquer commented Oct 19, 2016

For those Raspberry Pi users out there or anyone else having issues try launching scide with:
scide -style=gtkrc
I haven't figured out which gtkrc file it is actually referencing, (my changes don't register) but it make the foreground black!

@smrg-lm
Copy link
Contributor Author

smrg-lm commented Oct 23, 2016

@grirgz It does indeed!

@nhthn
Copy link
Contributor

nhthn commented Oct 23, 2016

Can we just hardcode the colors or something?

@smrg-lm
Copy link
Contributor Author

smrg-lm commented Oct 23, 2016

@snappizz It is just not implemented, I think it was pointed out by timblechmann.
Edit: Ok, this comment makes no sense, hardcode it would be an implementation. I meant that we should not despair.

@scztt
Copy link
Contributor

scztt commented Nov 15, 2016

Note that this issue was already fixed for -- what looks like GTK-based platforms? -- by hardcoding colors: 6467e06

That conditional (or the #ifdef) are probably not true for the problem platforms - so we're not hitting the hardcoded values. That said, the hardcoded values are still going to look awful depending on your IDE color scheme. We should probably ditch the weird OS-specific logic and just always make the font color == the IDE's code font color, and the window background color == the IDE's code background color, offset lighter or darker by 10% or something.

Commit 1d7d692 also sets the font to be the code font, which improves match with the IDE as well - worth considering.

@zetteeh
Copy link

zetteeh commented Jan 14, 2017

still an issue in 3.9dev and ubuntu 16.04.
however the workaround via the

gnome-color-chooser

(suggested by grirgz - thanks!)
still works as well.

@nhthn nhthn modified the milestones: 3.8, 3.9 Jan 15, 2017
@nhthn nhthn changed the title Tooltip for code hint font color is not readable Autocomplete tooltip colors are unreadable on Linux Jan 19, 2017
@nhthn
Copy link
Contributor

nhthn commented Mar 2, 2017

#2762

@nhthn nhthn moved this from Highest priority for 3.9 to PR submitted in 3.9 Top Priority Issues Mar 2, 2017
@nhthn nhthn moved this from PR submitted to PR merged in 3.9 Top Priority Issues Mar 6, 2017
@nhthn
Copy link
Contributor

nhthn commented Mar 6, 2017

WE DID IT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues that relate to unexpected/unwanted behavior. Don't use for PRs. env: SCIDE os: Linux
Projects
No open projects
Development

No branches or pull requests