Gambas 3.21.3

What's new?

This release includes important bug fixes made since the 3.21.2 release.

Compilation and installation

Read the instructions there.

If everything was fine, type "gambas3" to run the development environment.

Enjoy it !

Changelog

DEVELOPMENT ENVIRONMENT

Option dialog

  • Option dialog: Add an option to toggle GUI coloring according to the current branch.

Version control

  • Do not color the main branch too. Until these woke people find main offensive too and come with another default branch name...

COMPILER

  • Fix line number of function declarations.

PACKAGE CONFIG

  • Prevent duplicates in package list of files.

  • Disable gb.gnome.keyring in ArchLinux.

  • Disable gb.gtk.opengl in Ubuntu 25.10.

  • Add libcrypt-dev as a build dependency in Debian Testing.

GB.GUI.BASE

Picture

  • Picture[] correctly adapts images to dark themes.

  • Use the File.RealPath() method to handle the image path.

GB.DB2

Result

  • Move to an out of bounds index correctly clear the internal row buffers.

GB.FORM

TabPanel

  • Fix how arrows are drawn.

FileView

  • Don't trigger a refresh while the current refresh is not fully finished.

  • Correctly layout the "This folder is empty" message.

GB.FORM.EDITOR

TextEditor

  • Setting the View property with the same value does nothing now.

GB.GTK

Font

  • Fix a memory leak in font metrics management.

UserContainer

  • The Design property now behaves correctly as in Qt components.

Window

  • Close() has no effect now when there is some modal or popup windows opened after it.

Miscellaneous

  • Fix the detection of the target control of an event.

GB.GTK3

Font

  • Fix a memory leak in font metrics management.

UserContainer

  • The Design property now behaves correctly as in Qt components.

Window

  • Close() has no effect now when there is some modal or popup windows opened after it.

Miscellaneous

  • Fix a memory leak when internally dealing with GTK+ styles.

  • Recompute desktop colors only when really needed.

  • Fix the detection of the target control of an event.