[Gambas-user] GTK3 not right after a "text/uri-list" file drop.

Benoît Minisini benoit.minisini at gambas-basic.org
Fri Nov 17 23:56:45 CET 2023


Le 17/11/2023 à 14:17, Bruce Steers a écrit :
> I had the following error that produced a sgfault so i tried the report 
> it option.
> This was the error...
> 
> In the form I have a TableView and a TextArea with Drop enabled.
> 
> it is set to find Drag.Formats.Exist("text/uri-list") and put the file 
> contents in the TextArea
> 
> after dropping a file from the desktop the following happens..
> 
> The TableView headers can no longer be resized.
> 
> If i drag some text from the TextArea on to another part of the textarea 
> I get this reported segfault.
> 
> It does not segfault and works as expected before the file drop. 
> problems only appear after file drop.
> 
> This is GTK3 , it does not give same errors with QT5
> 
> then when trying to send the report i the error as shown in the attached 
> picture
> 
> I also attach the test project.
> to produce bug run the program and then drag a text file from the 
> desktop onto the textarea.
> Then try either dragging some textarea text onto another part of the 
> textarea or try resizing the GridView headers
> 
> Both the above work as expected before the file drop.
> This bug could explain another issue i have with one of my programs that 
> also goes a bit wierd after a file drop.
> 
> Respects
> BruceS
> 

The bug should have been fixed by commit 
https://gitlab.com/gambas/gambas/-/commit/9fa3665da496f2334d0b200fa7d830c86015b534.

-- 
Benoît Minisini.



More information about the User mailing list