Author Topic: Build Options: Problem sorting link libraries  (Read 1413 times)

Offline cacb

  • Regular
  • ***
  • Posts: 481
Build Options: Problem sorting link libraries
« 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                 : [email protected]
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

Offline cacb

  • Regular
  • ***
  • Posts: 481
Re: Build Options: Problem sorting link libraries
« Reply #1 on: May 28, 2021, 10:59:34 am »
Here are 2 more screen shots to illustrate the problem

How to reproduce:
  • select settings_lib2
  • press "Up" button to place that lib on top

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.
« Last Edit: May 28, 2021, 11:08:55 am by cacb »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13409
    • Travis build status
Re: Build Options: Problem sorting link libraries
« Reply #2 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.
(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!]

Offline cacb

  • Regular
  • ***
  • Posts: 481
Re: Build Options: Problem sorting link libraries
« Reply #3 on: May 31, 2021, 08:07:08 am »