Skip to content

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

Description

@kashikoibumi

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)

Activity

  1. kashikoibumi commented on May 18, 2024

    @kashikoibumi
    Author

    This issue may be related: #279 .

  2. added 2 commits that reference this issue on May 18, 2024
    f356875
    b59536b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions