Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: cacb on May 28, 2021, 10:57:35 am

Title: Build Options: Problem sorting link libraries
Post by: cacb on May 28, 2021, 10:57:35 am
I am running Kubuntu 20.04 64bit

This problem relates to official Code::Blocks 20.03 as installed from Kubuntu repository. The problem is the same in svn-r12446 installed from
https://launchpad.net/~fuscated/+archive/ubuntu/codeblocks-nightly

Name                   : Code::Blocks
Version                : svn-r12446
SDK Version            : 2.8.0
Scintilla Version      : 3.7.5
Author                 : The Code::Blocks Team
E-mail                 : info@codeblocks.org
Website                : http://www.codeblocks.org
OS                     : Linux 5.8.0-53-generic x86_64
Desktop environment    : KDE
Scaling factor         : 1.000000
Detected scaling factor: 1.104167
Display PPI            : 108x106
Display count          : 1
Display 0              : XY=[0,0]; Size=[2560,1440]; Primary

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


The problem is that when you to change the link library sorting order using the up/down buttons, the list is messed up wrt sorting order. What is expected, and what always used to work, is that only the selected library is moved and the order of the other libraries remains unchanged.

I attach the initial screen shot + a simple project to demonstrate it. The next post will include 2 more screen shots
Title: Re: Build Options: Problem sorting link libraries
Post by: cacb on May 28, 2021, 10:59:34 am
Here are 2 more screen shots to illustrate the problem

How to reproduce:

Note the final sorting is wrong, and the selection is also wrong. The expectation is that "settings_lib2" remains selected after moving (so it can be moved again), and that no other library is moved.
Title: Re: Build Options: Problem sorting link libraries
Post by: oBFusCATed on May 28, 2021, 12:52:41 pm
Yes, this is another gtk3 issue or a bug in wxGTK/wxWidgets.
Can you please log it in https://sourceforge.net/p/codeblocks/tickets/ ?

Both these versions are affected:
Code
wxWidgets Library (wxGTK port)
Version 3.0.5 (Unicode: wchar_t, debug level: 1),
compiled at May 11 2021 13:25:09

Runtime version of toolkit used is 3.24.
Compile-time GTK+ version is 3.24.29.

Code
wxWidgets Library (wxGTK port)
Version 3.1.6 (Unicode: wchar_t, debug level: 1),
compiled at May 28 2021 13:32:32

Runtime version of toolkit used is 3.24.
Compile-time GTK+ version is 3.24.29.
Title: Re: Build Options: Problem sorting link libraries
Post by: cacb on May 31, 2021, 08:07:08 am
Yes, this is another gtk3 issue or a bug in wxGTK/wxWidgets.
Can you please log it in https://sourceforge.net/p/codeblocks/tickets/ ?

Done
https://sourceforge.net/p/codeblocks/tickets/1103/