Alvin wrote:

> Albrecht Schlosser wrote:
> 
>> ...
>> Your description looks as if the fix for STR #2470 was not complete.
>> Can you roll back to svn r7969 and try again? If this works, does
>> the error appear with r7970?
> 
> Ok, I will get r7969 and test it. I post back what happens with my test.
> 
> Cheers,
> 
> Alvin

I tried r7969 and I still get a segfault. Having tested using r7969, it 
looks like Xutf8TextPropertyToTextList (line 959) is not doing what it 
should be or for some reason, setting 'list_count' to 0 and 'text_list' to 
contain a NULL item.

Perhaps the fix should be:
 if list_count == 0, then 'text_list = &portion'

In both r7969 and r7979, the DnD payload (URLs) are in 'portion'.

In case this might help, 'text_prop' contains:

text_prop.value = "file:///home/alvin/Projects/DND/dndtest2/test8.png"
text_prop.encoding = 547
text_prop.format = 8
text_prop.nitems = 50

Could the issue be with ".encoding"? I have no experience with UTF8 so I'm 
not sure if this is a valid value.

Alvin

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to