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

Texts of the peers are almost invisible on Dark theme of GTK #2233

Open
kashikoibumi opened this issue May 18, 2024 · 1 comment · May be fixed by #2236
Open

Texts of the peers are almost invisible on Dark theme of GTK #2233

kashikoibumi opened this issue May 18, 2024 · 1 comment · May be fixed by #2236

Comments

@kashikoibumi
Copy link

This is not my own issue yet, I heard it on [chan] bitmessage.
You can see the result image on the chan.

OS: Debian GNU/Linux 12 (bookworm) x86_64
DE: Xfce 4.18
WM: Xfwm4
WM Theme: Windowck-dark
Theme: Adwaita-dark [GTK2/3]
Icons: Windows-Eleven [GTK2/3]

White text on yellow background is almost unreadable.
It seems text color for Qt4 in the AppImage honors host GTK theme, but 'Peer's background color doesn't.
It seems to be hardcoded..

in src/bitmessagqt/networkstatus.py:

        if outbound:
            brush = QtGui.QBrush(QtGui.QColor("yellow"), QtCore.Qt.SolidPattern)
        else:
            brush = QtGui.QBrush(QtGui.QColor("green"), QtCore.Qt.SolidPattern)
        for j in range(1):
            self.tableWidgetConnectionCount.item(0, j).setBackground(brush)
@kashikoibumi
Copy link
Author

This issue may be related: #279 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant