Bug 280711

Summary: Header rows painted wrong when table crosses page boundary
Product: [Applications] calligrawords Reporter: Sander Huijsen <sander.huijsen>
Component: tablesAssignee: Calligra Words Bugs <calligra-words-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: halla
Priority: NOR    
Version: Git   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: An ODT document containing some tables

Description Sander Huijsen 2011-08-24 13:54:38 UTC
Created attachment 63106 [details]
An ODT document containing some tables

Version:           svn
OS:                Linux

When a table crosses a page boundary, the header rows aren't shown correctly. There are two situations: 
1 - when the first data row crosses the page boundary, the header on the next page isn't shown correctly
2 - when the header crosses the page boundary, it shouldn't be shown at all (but it is).

Reproducible: Didn't try

Steps to Reproduce:
Load the attached document and press enter and delete to have the table cross the page boundary at your will. 

Actual Results:  
X

Expected Results:  
X

X
Comment 1 Halla Rempt 2011-08-24 14:00:28 UTC
Hm... We actually saved a broken document there...
Comment 2 Camilla Boemann 2011-08-25 09:11:53 UTC
Can you please update to newest master (few seconds ago) and save a new test document
Comment 3 Camilla Boemann 2011-08-25 12:49:06 UTC
Git commit b44899e8d36b54387088c475c69645b17efafe68 by Casper Boemann.
Committed on 25/08/2011 at 14:47.
Pushed by boemann into branch 'master'.

Followup from previous commit within the hitTest and selectionBoundingBox methods

BUG:280711

M  +8    -8    libs/textlayout/KoTextLayoutTableArea.cpp

http://commits.kde.org/calligra/b44899e8d36b54387088c475c69645b17efafe68
Comment 4 Camilla Boemann 2011-08-25 12:49:06 UTC
Git commit 46f2b7ebf7c107c1c3afea93eb73d68063000152 by Casper Boemann.
Committed on 25/08/2011 at 12:22.
Pushed by boemann into branch 'master'.

Make sure we don't show a table that can only show it's header rows

CCBUG:280711

M  +16   -0    libs/textlayout/KoTextLayoutTableArea.cpp

http://commits.kde.org/calligra/46f2b7ebf7c107c1c3afea93eb73d68063000152