[Gambas-user] Gambas application freeze on file/image selection (Out of Bounds #21)

Ian Roper westozscribe at gmail.com
Mon Aug 7 05:03:17 CEST 2023


As per the attached image.

What I did was change the location for an existing applications icons - 
manually.


Original : {Project Folder}/Icons16X16

New: {Project Folder}/Images/Icons16X16

Original : {Project Folder}/Icons32X32

New: {Project Folder}/Images/Icons32X32


On editing the application through the GUI, as expected, the icons no 
longer displayed and the Picture parameter in the form was blank.
However, when I try to select a new Picture for my control the 
application freezes and on trying to  close it, I get a "Force Quit / 
Wait" dialogue.

I tried this on three small projects ( changing the location of the 
icons ) and it crashed in the same way with the same error message so

pretty safe to assume that this is not project specific.

On checking the .form file for the applicable form, I noticed that the 
Picture reference for the controls still pointed to the the old path - 
which is sort of expected.


The error also occurs when you try to change the Icon for the Project in 
Project Preferences.


Cheers,

Ian.







-------------- next part --------------
A non-text attachment was scrubbed...
Name: Selection_001.png
Type: image/png
Size: 13017 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230807/1151a528/attachment.png>


More information about the User mailing list