[Libreoffice] some hints needed for fdo 42286 in calc

2011-11-01 Thread Pierre-André Jacquod

hello,

I am trying to debug fdo 42286 in calc. It has to do with autofilter, 
where some empty lines (rows) are shown despite the filter criteria that 
is set. (and a strange filter behaviour).


As entry point, I found sc/.. tools/queryparam.cxx  dbdata.cxx but it 
seems that there all is Ok.


As I understand it, there the query is just prepared but I am not able 
to find the code where the actual calculation for displaying it is done. 
could someone hint me / give me a search criteria ?


Just an additional remark: disassembling the bug's attached file, I 
see that the content.xml ends with some strange empty row definitions... 
But this still does not justify to appear witin the filter in my 
opinion. Or does this indicates the file is ill formatted ? (sorry, I do 
not know the oasis spec)


table:table-row table:style-name=ro1 
table:number-rows-repeated=1048532

table:table-cell table:number-columns-repeated=1024/
/table:table-row

table:table-row table:style-name=ro1 
table:visibility=filtertable:table-cell 
table:number-columns-repeated=1024/

/table:table-row

table:table-row table:style-name=ro1
table:table-cell table:number-columns-repeated=1024/
/table:table-row

table:table-row table:style-name=ro1 
table:visibility=filtertable:table-cell 
table:number-columns-repeated=1024/

/table:table-row

table:table-row table:style-name=ro1
table:table-cell table:number-columns-repeated=1024/
/table:table-row

table:table-row table:style-name=ro1 table:visibility=filter 
table:number-rows-repeated=5

table:table-cell table:number-columns-repeated=1024/
/table:table-row

etc all of this kind

thanks for a hint
regards

Pierre-André
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] some hints needed for fdo 42286 in calc

2011-11-01 Thread Markus Mohrhard
Hello,

2011/11/1 Pierre-André Jacquod pjacq...@alumni.ethz.ch:
 hello,

 I am trying to debug fdo 42286 in calc. It has to do with autofilter, where
 some empty lines (rows) are shown despite the filter criteria that is set.
 (and a strange filter behaviour).

 As entry point, I found sc/.. tools/queryparam.cxx  dbdata.cxx but it seems
 that there all is Ok.

These are only the data structures holding the information for db data
and query information. The query is executed in ScDBDocFunc::Query and
related functions.

I hope that helps you a bit otherwise just ask again or ask in libreoffice-dev.

Regards,
Markus

P.S. Do you know if this is a regression against 3.3? Then it might be
much easier to search for the bug.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] some hints needed for fdo 42286 in calc

2011-11-01 Thread Pierre-André Jacquod

hello,


and query information. The query is executed in ScDBDocFunc::Query and
related functions.


thanks I will look there  come back if needed


P.S. Do you know if this is a regression against 3.3? Then it might be


No 3.3 available to test (and a bit short of place on HD).

But happens on

LibreOffice 3.4.2
OOO340m1 (Build:1206)
(OpenSuse 11.4 distribution)

and on master, build by myself (also OpenSuse 3.4.2)

regards
Pierre-André
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice