[Gambas-user] ProgressBar mistake

Gianluigi bagonergi at gmail.com
Thu Nov 22 13:18:57 CET 2018


Hi Fabien,
I do not know what to say, it could be caused by the fact that Debian is on
a virtual machine (see attached image).
However I did a test on Debian (desktop Gnome) and I also get them the same
malfunction.
Summary; running the attached project (ProgrssbarError), and leaving 100 by
default, both on Ubuntu Gnome and on Debian Gnome, about halfway through
the progressbar I get a warning window that closes at the end of the loop.
NOTE: If you act on the window (see attached image) you get the system lock
(Ctrl+Alt+F2 to restart :-().

Regards
Gianluigi

Il giorno gio 22 nov 2018 alle ore 11:55 Fabien Bodard <gambas.fr at gmail.com>
ha scritto:

> I think the spring class ???  is not related
>
> Le mer. 21 nov. 2018 à 23:25, Gianluigi <bagonergi at gmail.com> a écrit :
>
>> Hi Charlie and Lee,
>> I thank you again for the test and I apologize for forgetting
>> FProgress.Close at the end of the loop.
>> The app freeze was the fault of this, even if Gnome continues to display
>> the warning window but disappears at the end of the loop and the database
>> is created.
>> Same behavior also with Ubuntu 18.10.
>> With Xubuntu it works well with both the stable and the master
>> With Debian Stretch it does not start and tells me that it does not know
>> the Spring class in FRecords. .-(
>>
>> Regards and good night
>> Gianluigi
>>
>> Il giorno mer 21 nov 2018 alle ore 22:35 T Lee Davidson <
>> t.lee.davidson at gmail.com> ha scritto:
>>
>>> It works okay here as well. (Except, unrelated, the FProgress form
>>> doesn't get closed and so the application does not exit nicely.)
>>>
>>>
>>> ___
>>> Lee
>>>
>>>
>>> On 11/21/18 11:36 AM, Charlie Ogier wrote:
>>> > Hi Gianluigi,
>>> >
>>> > It seems OK to me. See HERE <
>>> http://www.cogier.com/video/ProcessBar.webm>.
>>> >
>>> > Charlie
>>> >
>>> > On 21/11/2018 14:44, Gianluigi wrote:
>>> >> Why do I get an error?
>>> >> I attach two tests, one simulates this simple necessity and works
>>> (ConceptualTest):
>>> >> Show the FMain, then ask to the user for a number.
>>> >> Pass the number to a module that processes it.
>>> >> View to the user the processing time using a ProgressBar in an
>>> independent window.
>>> >> The other puts it into practice and does not work (BadProcessbarTest).
>>> >> Note: If the ProgressBar is in the FMain, practice test also well
>>> working.
>>> >>
>>> >> What am I doing wrong?
>>> >>
>>> >> Regards
>>> >> Gianluigi
>>> >>
>>> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net
>>> ]----
>>> >
>>> >
>>> >
>>> > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net
>>> ]----
>>> >
>>>
>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>>>
>>
>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>>
>
>
> --
> Fabien Bodard
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20181122/9cc32133/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ProgressbarError-0.0.1.tar.gz
Type: application/gzip
Size: 12044 bytes
Desc: not available
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20181122/9cc32133/attachment-0001.gz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: progressbar.png
Type: image/png
Size: 19402 bytes
Desc: not available
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20181122/9cc32133/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: spring.png
Type: image/png
Size: 32761 bytes
Desc: not available
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20181122/9cc32133/attachment-0003.png>


More information about the User mailing list