Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Auto-comp list selection color

(1/4) > >>

Alpha:
Others have mentioned, and it has also bothered me, that the selection highlight for the auto completion list makes it nearly impossible to read under Ubuntu's default color scheme.  After some searching, I found:
sdk/wxscintilla/src/PlatWX.cpp line 948

--- Code: ---        // NOTE: We need to fool the wxListView into thinking that it has the
        // focus so it will use the normal selection colour and will look
        // "right" to the user.  But since the wxPopupWindow or its children
        // can't receive focus then we have to pull a fast one and temporarily
        // parent the listctrl on the STC window and then call SetFocus and
        // then reparent it back to the popup.
        lv->SetFocus();
        lv->Reparent(this);

--- End code ---
Apparently, wxGTK (I presume) has remained relatively "un-tricked" by this.  Any ideas on a solution?

Alpha:
Also, screenshot from bug 18779 to demonstrate problem.

Jenna:
We have the same issue for the listcontrols in the logger, which are also derived from wxListCtrl (like wxListview the base class of wxSCIListBox).

On my system (fedora 17) it works fine with all themes except the two ubuntu themes (radiance and ambiance).

It seems to be either a wxGTK-isssue or a theme-error.

MortenMacFly:

--- Quote from: jens on January 11, 2013, 07:20:32 am ---It seems to be either a wxGTK-isssue or a theme-error.

--- End quote ---
Can you try with wx29? This would maybe show that its a wxGTX 28 error... there has much work been done by the "wxTeam" to support GTK better in wx29 to my knowledge...

Jenna:

--- Quote from: MortenMacFly on January 11, 2013, 03:59:49 pm ---
--- Quote from: jens on January 11, 2013, 07:20:32 am ---It seems to be either a wxGTK-isssue or a theme-error.

--- End quote ---
Can you try with wx29? This would maybe show that its a wxGTX 28 error... there has much work been done by the "wxTeam" to support GTK better in wx29 to my knowledge...

--- End quote ---
I will test this evening (no real OS available at the moment  ;) ),  I have to work on moving all our XP stuff to win8.

Navigation

[0] Message Index

[#] Next page

Go to full version