Wireshark-bugs: [Wireshark-bugs] [Bug 11131] Wrong color scheme for packet filter

Date: Tue, 28 Jul 2015 21:04:09 +0000

Comment # 8 on bug 11131 from
Can you try the Qt UI from Git master? I've tried to be careful about using
QPalette in the Qt port, e.g. palette().text().color() instead of Qt::black. I
ran some tests using the Windows "High Contrast" theme a while back but it
would be helpful if someone who uses a dark theme daily could take a look at
it.

The syntax line edit, which is used for the capture and display filter entries,
is a bit of a special case. The foreground is drawn using the palette text
color but the background is drawn using custom colors. Most platforms (and Qt
by extension) don't make moral judgements about text like we do so we have to
make up colors for "good", "bad", and "deprecated". The colors can be changed
via "Preferences→Font and Colors" in case they don't look right on your
particular platform.


Ideally we should do something similar in the GTK+ UI but that path appears to
lead down a deprecation rabbit hole:

https://developer.gnome.org/gtk3/stable/GtkSettings.html#GtkSettings--gtk-color-scheme


You are receiving this mail because:
  • You are watching all bug changes.