"Critical" Error msg in working progam

Post

Posted
Rating:
#1 (In Topic #885)
Trainee
I have a fully functional program which, in development mode, constantly posts a "Critical" error msg  in the Console Window.

Gtk-CRITICAL **: 13:57:26.980: gtk_box-gadget_distribute: association 'size >= 0' failed in GtkRadioButton

I only have 2 Radio Buttons on one form and they function perfectly.

I made sure using "Hierarchy" that only 2 Radio Buttons were listed and there was not a phantom one that was too small to see on the form and there were only 2 as there should have been.

Any thought? Or should I just ignore?

Thanks
Online now: No Back to the top

Post

Posted
Rating:
#2
Avatar
Enthusiast
GrayGhost is in the usergroup ‘Enthusiast’
 Kinda like this one, which I get over and over when my program runs.

Gtk-WARNING **: 23:02:55.963: Negative content width -5 (allocation 13, extents 9x9) while allocating gadget (node entry, owner GtkEntry)

it seems to be a "BUG" in GTK
Online now: No Back to the top

Post

Posted
Rating:
#3
Guru
BruceSteers is in the usergroup ‘Guru’
 GTK used to put out loads of warnings.
Benoit has found workarounds for most errors.

It's usually nothing to worry about. you can sometimes get rid of the warning by adjusting the size/font of the gadget/container

Are you using the latest version of gambas?
Online now: No Back to the top

Post

Posted
Rating:
#4
Trainee
 Thanks for the replies. I am using 3.16.3 and given how many times I've been bitten by "updates", I generally fall way behind. Running Linux Mint ver 19.3 and have not updated it as the last time I lost all ability to copy/paste login/passwords into web pages and even all the "Fixes" failed.

If it is just an Error in Error messages, that's fine as the program sure works properly.
Online now: No Back to the top

Post

Posted
Rating:
#5
Guru
BruceSteers is in the usergroup ‘Guru’
It's often a fault in the gtk theme.
the gtk themes like Mint-X Mint-Y etc all work and report things differently, some are better than others.

If i run pluma (MATE text editor) in a terminal i get way more gtk error warnings than i do running a gambas application :)

You should consider upgrading though.

If the autotools compilation methods is too much there always PPA on ubuntu/mint

Should be as simple as running the following commands…

<HIGHLIGHT highlight="shell">
# Install latest gambas stable release
# First add the PPA to your sources.list. Open a terminal and do:

sudo add-apt-repository ppa:gambas-team/gambas3

# Next update the sources and install Gambas:

sudo apt-get update
sudo apt-get install gambas3
</HIGHLIGHT>
Online now: No Back to the top

Post

Posted
Rating:
#6
Trainee
 Thank you Bruce. I'll update after I finish this program {99% done} and if I can successfully compile it to an .exe {Have 8 programs which never compiled well and more than likely 100% my fault}. I just run them in development mode as they are only for myself.

In my former Corporate life, I had over 50 VB 6.0 programs running in 70 plants world wide, and hated VB.Net.  Love GAMBAS and promote it to anyone who will listen.
Online now: No Back to the top
1 guest and 0 members have just viewed this.