wxToggleButton in wxGTK3: Focused and Toggled state are visually identical

56 views
Skip to first unread message

jpo-wx

unread,
Apr 19, 2021, 6:52:18 AM4/19/21
to wx-users
Hello all,
as the subject says: a wxToggleButton in wxGTK3 that just has the focus looks visually identical to a toggled one. And it seems there is no way to prevent a Control to get the focus...

Regards
  Joerg

Vadim Zeitlin

unread,
Apr 19, 2021, 7:22:18 AM4/19/21
to wx-u...@googlegroups.com
On Mon, 19 Apr 2021 03:52:18 -0700 (PDT) jpo-wx wrote:

jw> as the subject says: a wxToggleButton in wxGTK3 that just has the focus
jw> looks visually identical to a toggled one.

Is this also the case in native GTK applications on your system? I.e. are
we doing something wrong or is it just another unfortunate GTK decision?

Regards,
VZ

--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
Message has been deleted
Message has been deleted
Message has been deleted

jpo-wx

unread,
Apr 20, 2021, 5:43:02 AM4/20/21
to wx-users
Vadim,
this seems to be a generic GTK issue.

jpo-wx

unread,
Apr 20, 2021, 5:45:58 AM4/20/21
to wx-users
A Screenshot that shows the problem is here, if anybody cares: https://drive.google.com/file/d/188graOBq8_JNVeJwfboxtnlg4QBAl-Yj/view?usp=sharing

Vadim Zeitlin

unread,
Apr 20, 2021, 3:26:11 PM4/20/21
to wx-u...@googlegroups.com
On Tue, 20 Apr 2021 02:43:02 -0700 (PDT) jpo-wx wrote:

jw> Vadim,
jw> this seems to be a generic GTK issue.

Unfortunately the only thing I can say is the same as usually: you can
change your .gtkrc or add calls to add the styles on program startup if you
really have to (this is not recommended, but I understand that sometimes
this can be unavoidable and it's your decision to make). But the default
behaviour is to just use the current GTK theme with its current settings
and we really can't do much about it.

P.S. Another thing we can't do anything about is Google spam filtering,
which somehow caught your 3 previous attempts to post this, as I've
just learnt. I've rejected them because this message did get through
finally, but I have no idea what did it find wrong with the previous
ones. Again, sorry about this, but there is unfortunately nothing we
can do about it.
Reply all
Reply to author
Forward
0 new messages