Bug#591086: /usr/bin/boincmgr: Re: almost unusable with dark DE themes

Michal Suchanek michal.suchanek at ruk.cuni.cz
Fri Feb 25 16:31:22 UTC 2011


Package: boinc-manager
Version: 6.10.58+dfsg-3+clr
Severity: normal
File: /usr/bin/boincmgr


Attaching two variants of a ptch to fix thi issue.

Part of the issue should be also fixed by undefining STRIPED_LISTS or
whatever is the define to make them broken.

Did not test the red messages because I have no errors in the log
currently.

Thanks

Michal


-- System Information:
Debian Release: 6.0
  APT prefers stable
  APT policy: (900, 'stable'), (700, 'oldstable'), (510, 'unstable'), (200, 'experimental'), (111, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-3-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages boinc-manager depends on:
ii  libc6                      2.11.2-10     Embedded GNU C Library: Shared lib
ii  libgcc1                    1:4.4.5-8     GCC support library
ii  libsqlite3-0               3.7.3-1       SQLite 3 shared library
ii  libstdc++6                 4.4.5-8       The GNU Standard C++ Library v3
ii  libwxbase2.8-0             2.8.10.1-3+b1 wxBase library (runtime) - non-GUI
ii  libwxgtk2.8-0              2.8.10.1-3+b1 wxWidgets Cross-platform C++ GUI t

Versions of packages boinc-manager recommends:
ii  boinc-client              6.10.58+dfsg-3 core client for the BOINC distribu

Versions of packages boinc-manager suggests:
ii  libgl1-mesa-glx               7.10-4     A free implementation of the OpenG
ii  libxt6                        1:1.0.7-1  X11 toolkit intrinsics library

-- no debconf information
-------------- next part --------------
--- boinc-6.10.58+dfsg.orig/clientgui/BOINCBaseView.cpp	2010-03-19 16:56:58.000000000 +0100
+++ boinc-6.10.58+dfsg/clientgui/BOINCBaseView.cpp	2011-02-25 17:23:11.000000000 +0100
@@ -127,13 +127,13 @@
     
 #if BASEVIEW_STRIPES    
     m_pWhiteBackgroundAttr = new wxListItemAttr(
-        wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOWTEXT),
-        wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW),
+        wxSystemSettings::GetColour(wxSYS_COLOUR_CAPTIONTEXT),
+        wxSystemSettings::GetColour(wxSYS_COLOUR_ACTIVECAPTION),
         wxNullFont
     );
     m_pGrayBackgroundAttr = new wxListItemAttr(
-        wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOWTEXT),
-        wxColour(240, 240, 240),
+        wxSystemSettings::GetColour(wxSYS_COLOUR_INACTIVECAPTIONTEXT),
+        wxSystemSettings::GetColour(wxSYS_COLOUR_INACTIVECAPTION),
         wxNullFont
     );
 #endif
diff -ur boinc-6.10.58+dfsg.orig/clientgui/ViewMessages.cpp boinc-6.10.58+dfsg/clientgui/ViewMessages.cpp
--- boinc-6.10.58+dfsg.orig/clientgui/ViewMessages.cpp	2010-03-18 22:54:20.000000000 +0100
+++ boinc-6.10.58+dfsg/clientgui/ViewMessages.cpp	2011-02-25 15:38:22.000000000 +0100
@@ -125,8 +125,8 @@
         wxNullFont
     );
     m_pMessageErrorAttr = new wxListItemAttr(
+        *wxWHITE, 
         *wxRED, 
-        m_pWhiteBackgroundAttr->GetBackgroundColour(), 
         wxNullFont
     );
     m_pMessageInfoGrayAttr = new wxListItemAttr(
@@ -135,8 +135,8 @@
         wxNullFont
     );
     m_pMessageErrorGrayAttr = new wxListItemAttr(
+        *wxLIGHT_GREY, /*wxYELLOW, is not declared contrary to docs */
         *wxRED, 
-        m_pGrayBackgroundAttr->GetBackgroundColour(), 
         wxNullFont
     );
 #else
@@ -146,8 +146,8 @@
         wxNullFont
     );
     m_pMessageErrorAttr = new wxListItemAttr(
+        *wxWHITE,
         *wxRED, 
-        wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW),
         wxNullFont
     );
     m_pMessageInfoGrayAttr = new wxListItemAttr(*m_pMessageInfoAttr);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: boinc.color2.patch
Type: text/x-diff
Size: 1758 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-boinc-devel/attachments/20110225/c8ec5c1b/attachment.patch>


More information about the pkg-boinc-devel mailing list