[Gambas-user] something wrong with gambas

Steve G simonlebon54 at yahoo.com
Fri Feb 11 02:08:17 CET 2022


I am sorry my bleary-eyed brain messed up a little bit. The correct settings are saving in the config file however when they are red back and I verify that it is reading the right information back the window still does not go to where it's supposed to. It seems to drop to a default location on a different monitor. So the left is greater than 1600 for the setting even though it says 48.

⁣Sent from TypeApp ​

On Feb 10, 2022, 15:57, at 15:57, 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: Right-to-left support in GTK OR QT (Beno?t Minisini)
>   2. Re: IDE Crash ...a lot (Jussi Lahtinen)
>   3. Re: Right-to-left support in GTK OR QT (Beno?t Minisini)
>   4. Re: something wrong with gambas (Steve G)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Thu, 10 Feb 2022 23:41:37 +0100
>From: Beno?t Minisini <g4mba5 at gmail.com>
>To: user at lists.gambas-basic.org
>Subject: Re: [Gambas-user] Right-to-left support in GTK OR QT
>Message-ID: <4235bd42-7e7f-a64e-bec5-b14da2ce84fc at gmail.com>
>Content-Type: text/plain; charset=UTF-8; format=flowed
>
>Le 10/02/2022 ? 20:42, Mayost Sharon a ?crit?:
>> 
>> Hello
>> 
>> I installed the language pack now really no message missing language
>> 
>> And it did not solve the problem I present
>> 
>> If you can test this thing:
>> I am running GAMBAS IDE in en_US environment
>> Creates a new GTK project
>> Assumes the form:
>> ComboBox
>> CheckBox
>> 
>> If I change the direction of CheckBox from right to left
>> It works well
>> 
>> If I change the direction of ComboBox from right to left
>> It does not work he stays left to right
>> 
>> What is the difference between them
>> 
>> Many thanks
>> 
>
>Apparently GTK+3 combo-box does not care with rtl language. If you use 
>gb.gtk (GTK+2), the button is correctly put on the left. I don't know
>if 
>it's a bug in GTK+3, or something new that must be done and that wasn't
>
>necessary with GTK+2...
>
>I will try to do a NSA search, sorry a Google search, to see if I find 
>something related to that problem.
>
>Regards,
>
>-- 
>Beno?t Minisini
>
>
>------------------------------
>
>Message: 2
>Date: Fri, 11 Feb 2022 01:21:43 +0200
>From: Jussi Lahtinen <jussi.lahtinen at gmail.com>
>To: Gambas Mailing List <user at lists.gambas-basic.org>
>Subject: Re: [Gambas-user] IDE Crash ...a lot
>Message-ID:
>	<CAFJMe7Q6X0woaXCT7KaesVcNXMZSGJEEqNj=3GJxuG-Zc7_bUA at mail.gmail.com>
>Content-Type: text/plain; charset="utf-8"
>
>Is there some way to reproduce this problem?
>Please give us steps to reproduce it and/or a project which causes it.
>
>
>Jussi
>
>On Thu, Feb 10, 2022 at 11:57 PM 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/20220211/83e7a00a/attachment-0001.htm>
>
>------------------------------
>
>Message: 3
>Date: Fri, 11 Feb 2022 01:31:18 +0100
>From: Beno?t Minisini <g4mba5 at gmail.com>
>To: user at lists.gambas-basic.org
>Subject: Re: [Gambas-user] Right-to-left support in GTK OR QT
>Message-ID: <ce5f672f-f262-aa4a-a2b3-ef165e49e2cf at gmail.com>
>Content-Type: text/plain; charset=UTF-8; format=flowed
>
>Le 10/02/2022 ? 23:41, Beno?t Minisini a ?crit?:
>> 
>> Apparently GTK+3 combo-box does not care with rtl language. If you
>use 
>> gb.gtk (GTK+2), the button is correctly put on the left. I don't know
>if 
>> it's a bug in GTK+3, or something new that must be done and that
>wasn't 
>> necessary with GTK+2...
>> 
>> I will try to do a NSA search, sorry a Google search, to see if I
>find 
>> something related to that problem.
>> 
>> Regards,
>> 
>
>Hi,
>
>I found a workaround, and it should be fixed in the last commit.
>
>Regards,
>
>-- 
>Beno?t Minisini
>
>
>------------------------------
>
>Message: 4
>Date: Thu, 10 Feb 2022 15:54:04 -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 gambas
>Message-ID: <2c3251b5-5b73-4c3a-b36b-cdd65aef15c3 at yahoo.com>
>Content-Type: text/plain; charset="utf-8"
>
>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.htm>
>
>------------------------------
>
>Subject: Digest Footer
>
>----[ Gambas mailing-list is hosted by https://www.hostsharing.net
>]----
>
>
>------------------------------
>
>End of User Digest, Vol 53, Issue 31
>************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220210/3eeecd63/attachment.htm>


More information about the User mailing list