I have just opening the CB, click on an panel/window and I got unredrawn tabs ((
But if I do resizing the editor or move splitter - then it is redrawing.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What happens if you eselect the gtk2 version of wxGTK? Would the problem go away? (you'll have to rebuild Code::Blocks for the change to take effect).
The auidemo is available from samples/auidemo folder of the wxWidgets source code. I'm not sure if there is a way to compile and install wxWidgets samples with the wxGTK ebuild...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I no not know why, but I got crashed compiled with gtk-2 (I have chosen with eselect for gtk2), but there linked with gtk-3:
Program received signal SIGFPE, Arithmetic exception.
0x00007ffff6693f65 in wxCSConv::DoCreate() const () from /usr/lib64/libwx_baseu-3.0.so.0
(gdb) bt
$0 0x00007ffff6693f65 in wxCSConv::DoCreate() const () at /usr/lib64/libwx_baseu-3.0.so.0
$1 0x00007ffff6695f10 in wxCSConv::wxCSConv(wxFontEncoding) () at /usr/lib64/libwx_baseu-3.0.so.0
$2 0x00007ffff6695f89 in wxGet_wxConvLocalPtr() () at /usr/lib64/libwx_baseu-3.0.so.0
$3 0x00007ffff445a6db in () at /usr/lib64/libwx_baseu-3.0-gtk3.so.0
$4 0x00007ffff7fe432a in () at /lib64/ld-linux-x86-64.so.2
$5 0x00007ffff7fe4429 in () at /lib64/ld-linux-x86-64.so.2
$6 0x00007ffff7fd60ca in () at /lib64/ld-linux-x86-64.so.2
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
While I have compiled the CB with gtk2-unicode-3.0, I got error:
(Scintilla messages here ...): gdk/gdk.h no such file.
Sadly, I have no time for deep dig into CB for fix the unredrawing widgets ((
but by runaway watch sources of the CB I guess: there are many
skip events for prevent flickering, perhaps problem in that...
And there are not optimized redrawing when blinking cursor:
redrawing all editor widget instead of redrawnig only that area where
is cursor (I have seen flickering when many text on page)
Last edit: Dmitrij Volin 2020-02-10
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
From this it is clear that r3xx are the gtk3 releases.
C::B from master builds just fine with gtk2... I've not tried the gentoo provided ebuild though...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Build: Feb 7 2020, 07:25:25-wx3.0.4-gcc 9.2.0 (Linux, unicode) - 64 bit; SVN 11957
Last edit: Dmitrij Volin 2020-02-09
What are the steps to reproduce this? Is this happening in a reliable way?
Thanks for the your reply !
here is videos of it: https://www.youtube.com/watch?v=P_kDn6yB1L4
I have just opening the CB, click on an panel/window and I got unredrawn tabs ((
But if I do resizing the editor or move splitter - then it is redrawing.
What WM/DE are you using? What happens if you compile the wxwidget auidemo sample? Would it work correctly there?
Also what is the output of eselect wxwidgets list or wx-config --list ?
I have installed KDE-5.64.0
$ wx-config --list
Default config is gtk3-unicode-3.0-gtk3
Default config will be used for output
Alternate matches:
gtk2-unicode-3.0
How can I do it ?
What is auidemo sample? How can I install it ?
What happens if you eselect the gtk2 version of wxGTK? Would the problem go away? (you'll have to rebuild Code::Blocks for the change to take effect).
The auidemo is available from samples/auidemo folder of the wxWidgets source code. I'm not sure if there is a way to compile and install wxWidgets samples with the wxGTK ebuild...
I no not know why, but I got crashed compiled with gtk-2 (I have chosen with eselect for gtk2), but there linked with gtk-3:
Program received signal SIGFPE, Arithmetic exception.
0x00007ffff6693f65 in wxCSConv::DoCreate() const () from /usr/lib64/libwx_baseu-3.0.so.0
(gdb) bt
$0 0x00007ffff6693f65 in wxCSConv::DoCreate() const () at /usr/lib64/libwx_baseu-3.0.so.0
$1 0x00007ffff6695f10 in wxCSConv::wxCSConv(wxFontEncoding) () at /usr/lib64/libwx_baseu-3.0.so.0
$2 0x00007ffff6695f89 in wxGet_wxConvLocalPtr() () at /usr/lib64/libwx_baseu-3.0.so.0
$3 0x00007ffff445a6db in () at /usr/lib64/libwx_baseu-3.0-gtk3.so.0
$4 0x00007ffff7fe432a in () at /lib64/ld-linux-x86-64.so.2
$5 0x00007ffff7fe4429 in () at /lib64/ld-linux-x86-64.so.2
$6 0x00007ffff7fd60ca in () at /lib64/ld-linux-x86-64.so.2
I need to sleep now. Tomorow I will try compile again...
PS:
Teodor, please, guide me how to make new syntax highlight.
I want to make its for GNU Assembler, and send patch to here.
Here you can find some documentation http://wiki.codeblocks.org/index.php/Creating_a_custom_lexer_for_Code::Blocks_editor if you have more questions about this please ask on the forum or open another ticket.
Last edit: Teodor Petrov 2020-02-09
I guess the eselect does nothing the piece of code which selects the gtk3 variant is probably in the ebuild. You'll probably have to change it.
While I have compiled the CB with gtk2-unicode-3.0, I got error:
(Scintilla messages here ...): gdk/gdk.h no such file.
Sadly, I have no time for deep dig into CB for fix the unredrawing widgets ((
but by runaway watch sources of the CB I guess: there are many
skip events for prevent flickering, perhaps problem in that...
And there are not optimized redrawing when blinking cursor:
redrawing all editor widget instead of redrawnig only that area where
is cursor (I have seen flickering when many text on page)
Last edit: Dmitrij Volin 2020-02-10
And I have no in the portage wxGTK version of 2:
wxGTK 3.0 is available in two separate slots - gtk2 and gtk3
From this it is clear that r3xx are the gtk3 releases.
C::B from master builds just fine with gtk2... I've not tried the gentoo provided ebuild though...
Thanks for the explaning !
And thanks a lot for the your time spended on my issues !
I will try emerge the wx-gtk2 (wxGTK) from sources for recompile the CB, for now its packages from binary repo..
Last edit: Dmitrij Volin 2020-02-10
through the portage I did not get properly linked the CB
with gtk2:
((
OK, I have found the solution: after install livecd into virualbox, install then codeblocks and its worked fine ! I will reinstall system !
Sorry for noise ((
I have found switch from gtk3 to gtk2:
$ sudo eselect wxwidgets set 1 (before see output of: $ sudo eselect wxwidgets list )
and change var WX_GTK_VER in ebuild from equal "3.0-gtk3" to "3.0".
ebuild is attached.