News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

wx30 repaint tabs

Started by Alpha, September 20, 2016, 02:08:12 AM

Previous topic - Next topic

Alpha

I am attempting to get C::B running under Ubuntu 16.04.  It is mostly functional, except that opening/closing several files causes tabs and toolbars to stop repainting.  Is this known wx30 behaviour, or is something wrong on my system?

oBFusCATed

My guess is something broken in ubuntu, because I'm using wx30 based build and don't see this behaviour.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

teto

I had the same problem with Ubuntu, not only tabs but even the panels would not get redrawn.

oBFusCATed

What is the version of wxgtk you're using? Is it gtk2 or gtk3 based?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Alpha

The system provided library, which (assuming I am reading this correctly) is gtk2 based.

Results of CTRL-ALT-middle click:

wxWidgets Library (wxGTK port)
Version 3.0.2 (Unicode: wchar_t, debug level: 1),
Runtime version of toolkit used is 2.24.
Compile-time GTK+ version is 2.24.30.

oBFusCATed

What theme are you using? Have you tried to use some other window manager?
Can you show screen shots?


ldd /usr/bin/codeblocks  | grep wx

Is one of the best ways to check what is the version of wx. But I guess it is wx3-gtk2. So the problem is somewhere else.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

oBFusCATed

For the record this is my info:

wxWidgets Library (wxGTK port)
Version 3.0.2 (Unicode: wchar_t, debug level: 1),
compiled at Jun 19 2016 19:25:19

Runtime version of toolkit used is 2.24.
Compile-time GTK+ version is 2.24.30.

Copyright (c) 1995-2013 wxWidgets team
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Alpha

Quote from: oBFusCATed on September 21, 2016, 07:38:58 PM

ldd /usr/bin/codeblocks  | grep wx

Is one of the best ways to check what is the version of wx. But I guess it is wx3-gtk2. So the problem is somewhere else.
Confirmed wx3-gtk2:

libwx_gtk2u_core-3.0.so.0 => /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0 (0x00007f6c7b42c000)


Quote from: oBFusCATed on September 21, 2016, 07:38:58 PM
What theme are you using? Have you tried to use some other window manager?
Can you show screen shots?
Ubuntu's default theme and window manager (Unity 7).  I have not tested another window manager on this machine.

Normal.


Open new file.  Note that hovering over the close button no longer highlights it, as the tabs are not drawing.


Click back to editormanager.cpp tab.  The file updates, and the window title bar updates, but the tabs do not.


After moving toolbars and resizing sections.

Alpha

Note that moving toolbars, switching tabs, and resizing all work fine before the bug is triggered by opening/closing a file.  (Also, opening/closing does not always trigger this, but it does trigger almost every time.)

oBFusCATed

I don't see this on my machine (gentoo linux+enlightenment) :(
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Alpha

Just tried enlightenment; same problem occurs... it seems to be a deeper problem than the window manager.

oBFusCATed

Does this same thing happen with the auidemo or any other gtk2 based program?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Alpha

#12
The sample auidemo works fine.

teto

In my case I had the same problems with the wxwidgets 3 demos so it seemed to be a wxwidget problem. (i3wm)

Jenna

Or a problem of the graphics driver.
Which one do you use ?