Issue 25486 - Writer's default tabs don't align with the ruler markings
Summary: Writer's default tabs don't align with the ruler markings
Status: CLOSED DUPLICATE of issue 21292
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 1.1
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: h.ilter
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-14 10:33 UTC by geofffarrell
Modified: 2004-02-17 17:32 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description geofffarrell 2004-02-14 10:33:17 UTC
Writer's default tabs don't align with the ruler markings.

To see this, set a default tab spacing of 1 cm (with Tools->Options->Text
Document->General->Tab stops).  Open a new blank document (File->New->Text
Document).  Observe the default tab stops in the ruler.  Those on the left of
the ruler align with the set value (ie, 1 cm, 2 cm) but as the tab stops progess
across the page, they fall short of their intended settings.  With A4 paper set
with 2.5 cm left margin and 1.3 cm right margin, the last default tab stop on
Portrait orientation should be at 17 cm.  The displayed one does not align with
the 17 cm mark, but occurs beforehand (at about 16.8 cm).  Changing to Landscape
orientation sees that the last tab stop should be at 25 cm, but it is displayed
at about 24.8 cm.  In both cases, clicking the <Increase Indent> toolbar button
shows that text in a paragraph lines up correctly with the tab stop settings
(ie, text indented to 16 cm aligns exactly with the ruler marking of 16 cm);
it's only the displayed position of the tab stop on the ruler that is incorrect
when the text starts from the left margin.

Changing the View->Zoom setting alters the effect.  Setting <Page Width> brings
the tab stop almost in alignment with the ruler markings.  Setting <Variable> at
135% aligns them exactly.  (This with a 17" LCD monitor at a resolution of
1280x1024).  Setting <200%> makes the tab stops overshoot the ruler markings;
ie, instead of 17cm, the tab stops appear at about 17.1 cm.

The algorithm for calculating the intervals on the ruler for the default tab
stops in Writer seems to have an accumulative counting error.  This is a minor
error with no apparent consequences for the document itself, but it makes Writer
look shoddy.

This error is evident in Draw and Impress as well, but the effect only becomes
noticeable at the higher magnified view settings.
Comment 1 jack.warchold 2004-02-17 17:32:00 UTC
set duplicate

*** This issue has been marked as a duplicate of 21292 ***
Comment 2 jack.warchold 2004-02-17 17:32:44 UTC
duplicate -> closed