[Gambas-user] writing Path has changed!?

Benoît Minisini g4mba5 at gmail.com
Tue Jan 14 14:21:39 CET 2020


Le 14/01/2020 à 14:07, Benoît Minisini a écrit :
> Le 14/01/2020 à 11:26, Benoît Minisini a écrit :
>> Le 13/01/2020 à 20:40, Karl Reinl a écrit :
>>> Salut,
>>>
>>> had problems after update two days ago.
>>> My program crashed.
>>> The reason was the way how I loaded pictures till now:
>>>     o.picture = Picture["./img/table.png"]
>>> Nowadays gambas3 don't like this anymore, you have to write.
>>>     o.picture = Picture["../img/table.png"]
>>>
>>> Somewhere happened between 16.Dec and 11. Jan, I think at
>>>
>>> 9512d2bf266907a44c8474a97071558d3152315d Class.Stat() now understands 
>>> the ".../" syntax to look for classes in the current project.
>>>
>>> Hope that helps you if you lost your pictures on buttons etc.
>>>
>>
>> Mmm, strange...
>>
>> Can you post a little project that shows the bug?
>>
> 
> OK, that stupid bug has been introduced Jan, 2th. Not a good idea to 
> push some code just after New Year's Eve.
> 

It should be fixed with commit 
https://gitlab.com/gambas/gambas/commit/2deeab741021e2750d587316487680dc7835ccdc.

Regards,

-- 
Benoît Minisini


More information about the User mailing list