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

Open
opened 2024-05-18 09:27:39 +02:00 by kashikoibumi · 1 comment
kashikoibumi commented 2024-05-18 09:27:39 +02:00 (Migrated from github.com)

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)
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 commented 2024-05-18 10:03:04 +02:00 (Migrated from github.com)

This issue may be related: #279 .

This issue may be related: #279 .
This repo is archived. You cannot comment on issues.
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Bitmessage/PyBitmessage-2024-12-25#2233
No description provided.