Gambas Documentation
Documents
Books

Gambas 3.20.3

What's new?

This release includes some bug fixes made since the 3.20.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

Search panel

  • Fix callers list refresh.

  • Always hide the panel when searching for callers.

  • The title of the callers list is now a button that moves back to the called function when clicked.

  • Fix search in current function when nothing is found.

Software Farm

  • Don't crash when uninstalling a project installed with the software farm from the welcome dialog or the project open dialog.

Welcome dialog

  • Draw a disable image for disabled buttons.

INTERPRETER

  • Rework breakpoint management so that breakpoints inside _init static initializer function work as expected.

INFORMER

  • Describe the -f option in the help and in the man page.

GB.DB2

Connection

  • The Subst(), Exec(), Find()... methods now substitute the same way as in gb.db.

Result

  • Field names are correctly quoted now when calling the Update() method.

  • Fix a spurious comma in Update() request.

Miscellaneous

  • A null value is always translated into a SQL NULL. It's never passed to the driver formatting routine.

GB.DB2.MYSQL

  • Don't prefix fields defined with AS with a dot in query results.

GB.DEBUG

  • Rework breakpoint management so that breakpoints inside _init static initializer function work as expected.

GB.FORM

ColorChooser

  • Do not raise the Activate event when picking a color on the desktop.

DirView

  • Keep the current item at the same position when the contents changes, to avoid problems during mouse events.

IconView

  • Keep the current item at the same position as much as possible when the contents changes, to avoid problems during mouse events.

MenuButton

  • Don't crash when restoring the focus if the previous focused control is now invalid.

GB.FORM.DIALOG

  • Better layout of ask password dialog.

GB.GTK

  • The MouseUp event that can be raised by Window.ShowModal() has valid mouse event data now.

  • Paint.Opacity is correctly saved by Paint.Save() and restored by Paint.Restore().

  • Fix a possible automatic increase of window size of 1 pixel horizontally and vertically.

  • Window.Opacity property fixes.

GB.GTK3

  • The MouseUp event that can be raised by Window.ShowModal() has valid mouse event data now.

  • Paint.Opacity is correctly saved by Paint.Save() and restored by Paint.Restore().

  • Fix the look of non-resizable windows on Gnome window-manager.

  • Fix a possible automatic increase of window size of 1 pixel horizontally and vertically.

  • Fix non-resizable windows whose minimum size was always forced to the size of all inner widgets.

  • Key[] now returns the expected values.

  • Containers are now correctly refreshed when setting their background.

  • Window.Opacity property fixes.

GB.GTK3.WEBVIEW

  • Always accept navigation requests on inner frames, without raising events.

GB.LOGGING

  • Logger.class: Stopped using autom.FileHandler when sOutput is empty.

  • FileHandler.class: Throw an error on non valid path.

  • Formatter.module: Added more non showable backtrace steps.

  • Formatter.module: Replaced CStr() by Str$() on date printing.

GB.NET.CURL

HttpClient

  • Don't crash if the sending callback is called whereas the client has been stopped.

GB.QT4

  • The MouseUp event that can be raised by Window.ShowModal() has valid mouse event data now.

  • Paint.DrawImage() takes Paint.Opacity into account correctly now.

  • Fix global mouse coordinates after a mouse grab.

  • Window.Opacity property fixes.

GB.QT5

  • The MouseUp event that can be raised by Window.ShowModal() has valid mouse event data now.

  • Paint.DrawImage() takes Paint.Opacity into account correctly now.

  • Fix global mouse coordinates after a mouse grab.

  • Workaround popup positioning bug of QT5. Not perfect.

  • Window.Opacity property fixes.

GB.QT5.WEBVIEW

  • Always accept navigation requests on inner frames, without raising events.

  • The Link property is now accurate for Start events (but not for NewView events).

  • Always raise the Finish event after the Error event.

GB.QT6

  • Workaround a QT6 bug that quits the application when a standard file dialog is closed.

  • The MouseUp event that can be raised by Window.ShowModal() has valid mouse event data now.

  • Paint.DrawImage() takes Paint.Opacity into account correctly now.

  • Calls the event loop just after setting Application.Font, so that the effect is immediate like with Qt5.

  • Fix global mouse coordinates after a mouse grab.

  • QT 6.9 does not have a global thread pool GUI-specific anymore.

  • Remove the wayland workaround in ScreenX and ScreenY properties, it seems not to be useful anymore.

  • Window.Opacity property fixes.

GB.QT6.EXT

  • Load the correct component interface and do not crash anymore.

GB.QT6.WEBVIEW

  • Workaround Qt6 bug so that the request can be cancelled by stopping the Start event.

  • The Link property is now accurate for Start and NewView events.

  • Always raise the Finish event after the Error event.