[Gambas-user] Overflow Errors with Gambas 3.18 and Master

Claus Dietrich claus.dietrich at freenet.de
Fri Jan 13 22:13:11 CET 2023


Friday the 13th :-) ....

This morning I received an email from a friend with a screenshot of an 
error message which occurred in his Gambas IDE after he upgraded to 3.18:

This application has raised an unexpected error and must abort

[7] Overflow

[gb.form.editor].CDocument.HighlightLine.935

He seems to run the IDE under QT5.

Today I further noted that my Gambas Desktop-Clock (also QT5) doesn't 
work any longer with the Master. The app throws the error message:

This application has raised an unexpected error and must abort

[7] Overflow

FMain.PaintClock.66

The crash occurs in this line, where the background color of the 
clockface is set :

Paint.Brush = Paint.Color(ClockFaceColor + 16777216 * ClockFaceOpacity).

At the point of crash ClockFaceColor=4210752 and ClockfaceOpacity is 
128. The resulting hex color is 80404040. Actually it should be usabel 
up to FF404040 for a maximum opacity which I normally use for my Desktop 
clock. A bug? Could the error message received by my friend have the 
same background?

Regards

Claus






More information about the User mailing list