[Gambas-user] something wrong with gambas

Steve G simonlebon54 at yahoo.com
Fri Feb 11 01:54:04 CET 2022


I am absolutely sure that it is writing the values into the config. I was able to see them and that's how come I knew that they were showing up in the original location and not on the one that was saved the one that is saved is the original location. And the only place that can be saved is if the window closes properly. I have manually edited the config file to put the window in the upper corner and it still comes out in a very wrong location. I will have to do some more looking because it's working on another app after I looked a little further. Yet there's no difference in fact it's the same exact modular code.

⁣Sent from TypeApp ​

On Feb 10, 2022, 13:43, at 13:43, user-request at lists.gambas-basic.org wrote:
>Send User mailing list submissions to
>	user at lists.gambas-basic.org
>
>To subscribe or unsubscribe via the World Wide Web, visit
>	http://lists.gambas-basic.org/listinfo/user
>or, via email, send a message with subject or body 'help' to
>	user-request at lists.gambas-basic.org
>
>You can reach the person managing the list at
>	user-owner at lists.gambas-basic.org
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of User digest..."
>
>
>Today's Topics:
>
>   1. Re: something wrong with new gambas (Steve G)
>   2. Re: IDE Crash ...a lot (Bruce Steers)
>   3. Re: something wrong with new gambas (Bruce Steers)
>   4. Re: something wrong with new gambas (Bruce Steers)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Thu, 10 Feb 2022 13:20:35 -0900
>From: Steve G <simonlebon54 at yahoo.com>
>To: Gambas Mailing List <user at lists.gambas-basic.org>
>Subject: Re: [Gambas-user] something wrong with new gambas
>Message-ID: <e5964d95-543d-4e85-ab89-368572ddc442 at yahoo.com>
>Content-Type: text/plain; charset="utf-8"
>
>I tried the variation with the settings that was suggested made
>absolutely no difference.
>
>?Sent from TypeApp ?
>
>On Feb 10, 2022, 12:59, at 12:59, user-request at lists.gambas-basic.org
>wrote:
>>Send User mailing list submissions to
>>	user at lists.gambas-basic.org
>>
>>To subscribe or unsubscribe via the World Wide Web, visit
>>	http://lists.gambas-basic.org/listinfo/user
>>or, via email, send a message with subject or body 'help' to
>>	user-request at lists.gambas-basic.org
>>
>>You can reach the person managing the list at
>>	user-owner at lists.gambas-basic.org
>>
>>When replying, please edit your Subject line so it is more specific
>>than "Re: Contents of User digest..."
>>
>>
>>Today's Topics:
>>
>>   1. Re: something wrong with new gambas version (Bruce Steers)
>>   2. IDE Crash ...a lot (Pino Zollo)
>>
>>
>>----------------------------------------------------------------------
>>
>>Message: 1
>>Date: Thu, 10 Feb 2022 21:47:47 +0000
>>From: Bruce Steers <bsteers4 at gmail.com>
>>To: Gambas Mailing List <user at lists.gambas-basic.org>
>>Subject: Re: [Gambas-user] something wrong with new gambas version
>>Message-ID:
>>	<CABuQYCAUDOP5uo-gNMBTKDsMLYXxjskcptDvXwp2cXt1qpWHNA at mail.gmail.com>
>>Content-Type: text/plain; charset="utf-8"
>>
>>Did you try using the Window.Settings method to save all co-ords at
>>once?...
>>
>>ie...
>>
>>Public Sub Form_Open()
>>  Settings.Read(FMain)
>>End
>>
>>Public Sub Form_Close()
>>  Settings.Write(FMain)
>>End
>>
>>
>>If your window dimensions  is 100,100,400,100 then your setting will
>>save
>>as...
>>[FMain]
>>Geometry=[100,100,400,100,0]
>>
>>(not sure what the 0 at the end is for? i thought it was the screen
>but
>>i
>>guess not.)
>>
>>BruceS
>>
>>On Thu, 10 Feb 2022 at 19:44, Steve G via User
>><user at lists.gambas-basic.org>
>>wrote:
>>
>>> It looks like I am using gtk + 2. My previous gambas version was
>>version
>>> 3.15. I do not have a window manager installed until after this to
>>correct
>>> the problem. It is being run on gnome 41.
>>> I use very simple stuff.
>>> Fmain.top=settings["fmaintop"]
>>> That is done on the form open in the Form close I have
>>> Settings["fmaintop"]=fmain.top
>>>
>>> And yes I do save the setting. What I have noticed is that even
>after
>>> moving the window and then closing it the setting has the wrong
>>coordinate
>>> it seems to have the original coordinate not the new one.
>>>
>>-------------- next part --------------
>>An HTML attachment was scrubbed...
>>URL:
>><http://lists.gambas-basic.org/pipermail/user/attachments/20220210/031d45af/attachment-0001.htm>
>>
>>------------------------------
>>
>>Message: 2
>>Date: Thu, 10 Feb 2022 18:56:41 -0300
>>From: Pino Zollo <pinozollo at gmail.com>
>>To: user at lists.gambas-basic.org
>>Subject: [Gambas-user] IDE Crash ...a lot
>>Message-ID: <f3f8a720-fbd8-f7b0-3ae2-075e727a3975 at gmail.com>
>>Content-Type: text/plain; charset="utf-8"; Format="flowed"
>>
>>:-(
>>
>>Pino
>>-------------- next part --------------
>>A non-text attachment was scrubbed...
>>Name: CrashIDE.png
>>Type: image/png
>>Size: 14232 bytes
>>Desc: not available
>>URL:
>><http://lists.gambas-basic.org/pipermail/user/attachments/20220210/5b86cd9f/attachment.png>
>>
>>------------------------------
>>
>>Subject: Digest Footer
>>
>>----[ Gambas mailing-list is hosted by https://www.hostsharing.net
>>]----
>>
>>
>>------------------------------
>>
>>End of User Digest, Vol 53, Issue 29
>>************************************
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL:
><http://lists.gambas-basic.org/pipermail/user/attachments/20220210/2ae29c21/attachment-0001.htm>
>
>------------------------------
>
>Message: 2
>Date: Thu, 10 Feb 2022 22:27:31 +0000
>From: Bruce Steers <bsteers4 at gmail.com>
>To: Gambas Mailing List <user at lists.gambas-basic.org>
>Subject: Re: [Gambas-user] IDE Crash ...a lot
>Message-ID:
>	<CABuQYCC06cpqq7aa5g+UdHYsng9nGoOaE3DcuqorPjxTtKottQ at mail.gmail.com>
>Content-Type: text/plain; charset="utf-8"
>
>You MUST provide more info when reporting problems.
>None of us are getting the error so we need to figure out why you are.
>
>What version of linux / gambas / etc
>
>In Gambas IDE to to menu ? /System Information. then click copy
>info,paste
>the results with your bugs.
>
>or in a terminal type gambas3 --system-information
>>$HOME/gambas-info.txt
>and attach the $HOME/gambas-info.txt file
>
>BruceS
>
>
>On Thu, 10 Feb 2022 at 21:57, Pino Zollo <pinozollo at gmail.com> wrote:
>
>> :-(
>>
>> Pino
>>
>> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>>
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL:
><http://lists.gambas-basic.org/pipermail/user/attachments/20220210/033d2865/attachment-0001.htm>
>
>------------------------------
>
>Message: 3
>Date: Thu, 10 Feb 2022 22:33:36 +0000
>From: Bruce Steers <bsteers4 at gmail.com>
>To: Gambas Mailing List <user at lists.gambas-basic.org>
>Subject: Re: [Gambas-user] something wrong with new gambas
>Message-ID:
>	<CABuQYCD+2r-5+SweGHogFY8X_bBnT=2o-CxNpKgRjfh9efbWxA at mail.gmail.com>
>Content-Type: text/plain; charset="utf-8"
>
>On Thu, 10 Feb 2022 at 22:21, Steve G via User
><user at lists.gambas-basic.org>
>wrote:
>
>> I tried the variation with the settings that was suggested made
>absolutely
>> no difference.
>>
>
>Okay are you sure your program is exiting properly so saving the
>settings
>on exit?
>not using Quit or anything (or pressing stop in the IDE)
>
>If using Quit or suspecting app may not be exiting properly try using
>the
>Settings.Save function to write the settings file before exiting and
>see if
>that does the job?
>
>If settings are saving using the Settings.Save command before exiting
>then
>your app must be terminating badly.
>
>BruceS
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL:
><http://lists.gambas-basic.org/pipermail/user/attachments/20220210/cd74e8b5/attachment-0001.htm>
>
>------------------------------
>
>Message: 4
>Date: Thu, 10 Feb 2022 22:39:54 +0000
>From: Bruce Steers <bsteers4 at gmail.com>
>To: Gambas Mailing List <user at lists.gambas-basic.org>
>Subject: Re: [Gambas-user] something wrong with new gambas
>Message-ID:
>	<CABuQYCCXQGP34MbddsTt+Wwvmv3xnB-r+8rBV7rfX7a7Xgg5Uw at mail.gmail.com>
>Content-Type: text/plain; charset="utf-8"
>
>On Thu, 10 Feb 2022 at 22:33, Bruce Steers <bsteers4 at gmail.com> wrote:
>
>>
>>
>> On Thu, 10 Feb 2022 at 22:21, Steve G via User <
>> user at lists.gambas-basic.org> wrote:
>>
>>> I tried the variation with the settings that was suggested made
>>> absolutely no difference.
>>>
>>
>> Okay are you sure your program is exiting properly so saving the
>settings
>> on exit?
>> not using Quit or anything (or pressing stop in the IDE)
>>
>> If using Quit or suspecting app may not be exiting properly try using
>the
>> Settings.Save function to write the settings file before exiting and
>see if
>> that does the job?
>>
>> If settings are saving using the Settings.Save command before exiting
>then
>> your app must be terminating badly.
>>
>
>Note, I have just tested this using Settings.Read / Write with gambas
>3.16.90 gtk2, gtk3 and qt5 and it works as expected for me.
>
>Most likely you will find a problem like i mentioned above with app not
>exiting properly.
>
>BruceS
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL:
><http://lists.gambas-basic.org/pipermail/user/attachments/20220210/a8c693a6/attachment.htm>
>
>------------------------------
>
>Subject: Digest Footer
>
>----[ Gambas mailing-list is hosted by https://www.hostsharing.net
>]----
>
>
>------------------------------
>
>End of User Digest, Vol 53, Issue 30
>************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220210/0ee5e769/attachment-0001.htm>


More information about the User mailing list