[Gambas-user] No ctrl-c and ctrl-v (copy/ paste) since V3.16.0
Benoît Minisini
g4mba5 at gmail.com
Sun Sep 19 19:21:28 CEST 2021
Le 19/09/2021 à 19:20, Benoît Minisini a écrit :
> Le 19/09/2021 à 17:33, Claus Dietrich a écrit :
>>> I will look at that. I think your bug will win the price of the weirdest
>>> of all reported Gambas bugs.
>>
>> As You may have experienced I am a specialist for weird bugs :-)).
>>
>> I have a new and important finding, which doesn't fix the bug, but which
>> allows me to make the short-keys work again in any troubled project:
>>
>> I noted one important difference between the project-version where the
>> short-keys worked and the project-version where they didn't work.
>> This was found in the ".settings" file of the IDE and suddenly all
>> different reports to this bug became explainable:
>>
>> The number of files which are kept open in the code editor are
>> typically increasing the longer people work on the project.
>> In my case that were 18 files (I am just too lazy to close them).
>> All these 18 files are opened again when I start a new session.
>>
>> So I reduced the number of opened files/tabs step by step, reloaded
>> the project and suddenly the short-keys worked.
>>
>> When sending a project to someone, the number of opened files is just
>> 2 (virgin status). At this number the Gambas-IDE seems to have no
>> problem - even on the weakest PC.
>>
>> The problem occurs on all my PCs because I copy the whole
>> project directory over the network - including the ".settings" file -
>> which forces all my PCs to open 18 files/tabs with the same bad result.
>>
>> It also explains a user report were he had a well working IDE
>> and next day he had a problem with the short-keys. Probably
>> because he opened some more files during the last session.
>>
>> This tells me that since V3.16.0 the Gambas-IDE became critical
>> with regard to the amount of loading processes when a project is
>> opened. The general size of the project/ code may also play a
>> role during loading.
>>
>> With this it is also apparent that a quicker PC will be less
>> problematic and a quicker Gambas (if run with qt) too.
>>
>> Thanks for your offer to take care of this bug.
>>
>> Claus
>>
>>
>> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>> .
>>
>
> I still cannot reproduce the problem in my Mint VM, with at least 50
> opened files... And my PC is not the fastest (Core i5 3570K @ 3.4 GHz).
>
Maybe someone can make a video of the problem?
--
Benoît Minisini
More information about the User
mailing list