Bug 65100

Summary: Dotted Lines Don't Appear on Vertical Borders
Product: [Applications] calligrasheets Reporter: Ben Lamb <kdebugs>
Component: generalAssignee: Laurent Montel <montel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: esigra
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: borders_example.ksp

Description Ben Lamb 2003-09-28 17:48:01 UTC
Version:           1.2.93 (using KDE 3.1.92 (alpha2, CVS >= 20030921), compiled sources)
Compiler:          gcc version 3.2.2
OS:          Linux (i686) release 2.4.21

Highlight some cells, put a think yellow dotted border around them.

The horizontal lines are displayed correctly but the vertical lines do not have the correct line style. They are always shown as a solid line, the colour and thickness are correct.
Comment 1 Ariya Hidayat 2003-10-08 20:58:46 UTC
Hi Ben, I can't reproduce this bug. It works fine here with CVS version (and gcc 
3.2.2, Mandrake 9.0, KDE 3.1). Any chance to try it again ? 
 
Thank you. Best regards, 
 
Ariya Hidayat 
http://ariya.pandu.org 
Comment 2 Ben Lamb 2003-10-09 23:07:49 UTC
Subject: Re:  Dotted Lines Don't Appear on Vertical Borders

Hi Ariya,

Hmm, I think I see what is happening.

I've attached a sample file that demonstrates the problem. The blue rectangle 
in the top left corner has the "bug." I think the dotted line is being drawn 
but being overlapped by other parts of the dotted line given the impression 
of a continuous line.

The black rectangle has a "dash dot" line on the horizontal sides but a 
different pattern on the vertical sides.

The purple rectangle below the blue one also has a problem, the pink one on 
the right looks okay.

So it's a drawing bug rather than a logic bug. When I first submitted this I 
thought it would be trivial to fix. I'd be tempted to mark the bug as 
"WONTFIX" or "LATER."

Thanks,

Ben.


Created an attachment (id=2721)
borders_example.ksp
Comment 3 Inge Wallin 2005-03-23 23:49:59 UTC
My guess is that the reason for this is that the cells and their borders are drawn individually.  Thus, every cell starts anew on the stipple.

This can be seen by taking any row and make it really high.  That way, the dotted lines get their correct appearance.  The problem is not in the lines, but in the fact that each cell draws its own little piece without calculating how long the first segment should be.
Comment 4 Sebastian Sauer 2006-08-19 18:43:17 UTC

*** This bug has been marked as a duplicate of 87371 ***