[Gambas-user] Possible bug in IDE

Benoît Minisini gambas at ...1...
Thu Oct 9 01:42:20 CEST 2014


Le 08/10/2014 23:15, T Lee Davidson a écrit :
> Confirmed with v3.5.4. Except simply opening another project with
> File->Open_project does not clear the incorrect filters. I have to Quit
> and re-launch Gambas to clear them.
>
>
> On 10/08/2014 10:53 AM, Willy Raets wrote:
>> Try this at home and see what goes wrong.
>> Both 3.5.4 and 3.5.90 (rev#6521) show this behaviour.
>>
>> 1. Open a project in IDE
>> 2. In project browser
>>     - right click 'Sources'
>>     - select 'New'
>>     - select 'Module'
>>     - Click tab 'Existing'
>>     - 'Gambas modules (*.module) is the correct filter set
>> 3. Repeat step 2 for Class, Form and Report (if gb.report activated)
>> All should be good so far and correct filters should be shown.
>>
>> 4. In Project browser
>>     - right click 'Data'
>>     - select 'New'
>>     - select 'Image'
>>     - click tab 'Existing'
>>     - 'Gambas modules (*.module) is the WRONG filter set!!
>> 5. Repeat step 4 for HTML file, Stylesheet, Javascript file and Other
>> You see what goes wrong in the filter.
>> Somehow the filters of Sources are kept.
>>
>> No to make it even odder try this:
>> 1. Open ANOTHER project in IDE (important)
>> 2. In Project browser
>>     - right click 'Data'
>>     - select 'New'
>>     - select 'Image'
>>     - click tab 'Existing'
>>     - 'Images files (*.png,*jpg,..) is the correct filter set
>> 3. Repeat step 4 for HTML file, Stylesheet, Javascript file and Other
>> All should be good so far and correct filters should be shown.
>>
>> 4. In project browser
>>     - right click 'Sources'
>>     - select 'New'
>>     - select 'Module'
>>     - Click tab 'Existing'
>>     - 'Images files (*.png,*jpg,..) is the WRONG filter set!!
>> 5. Repeat step 2 for Class, Form and Report (if gb.report activated)
>> You see what goes wrong in the filter.
>> This time the filters of Data are kept.
>>
>> So, filters seem to depend on if you first right clicked 'Sources' or
>> 'Data' in the Project browser.
>>
>

I fixed the behaviour of that dialog in revision #6522. If you can tell 
me if it is ok for you...

-- 
Benoît Minisini




More information about the User mailing list