Issue 23075

Summary: Tabs lost with negative first-line indent
Product: Writer Reporter: tcfelker <tcfelker>
Component: codeAssignee: AOO issues mailing list <issues>
Status: ACCEPTED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: guido.pinkernell, issues
Version: OOo 1.1Keywords: oooqa
Target Milestone: ---   
Hardware: PC   
OS: Linux, all   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Test case none

Description tcfelker 2003-12-02 03:15:25 UTC
I want a paragraph to be indented one inch and to start on the same line as a
one-word heading.  In the Indents and Spacing tab of the Paragraph box, I set
"Before Text" to 1.00in and "First Line" to -1.00.  I then add a tab stop at
1.00 inches in the Tabs tab.  Now I can type "Heading <tab> This is the long
paragraph..." and it does what I want.  If I don't want a heading, I just put a
tab before a paragraph, and the entire paragraph is indented 1 inch.

The problem is that when I save and reload this, the tab stop is lost, so the
paragraphs with no heading have a first line indent of only .5 inches. 
Interestingly, this does not occur if I set a 1.01 inch tab stop.
Comment 1 tcfelker 2003-12-02 03:30:05 UTC
Created attachment 11689 [details]
Test case
Comment 2 guido.pinkernell 2004-01-27 16:45:20 UTC
I can confirm this with OOo 1.1.0 on Win98:

The black mark indicating the tabstop actually vanishes when, when in the ruler,
it's placed exactly onto the grey mark that indicated the left border of the
second line in a paragraph.

I am not sure whether to treat this as a bug since this only appears to be a
problem when one doesn't make correct use of the styles, which is the case here.
For further details, tcfelker, please contact users@openoffice.org and refer to
this Issue for the people there to be able to access your attachment.

For a quick workaround, however, use hard return (Shift + Enter) to start a new
paragraph without negative indent.
Comment 3 guido.pinkernell 2004-01-28 16:02:06 UTC
Summary changed back to original (for some reason the summary got modified while
I was working on my last comment).
Comment 4 rblackeagle 2004-01-28 18:48:15 UTC
In a way, I disagree.  An innocent error by a naive user will cause intense
frustration.  It should be as nearly bullet-proof as we can make it so that a
new user can back out of a mistake.
Comment 5 guido.pinkernell 2004-01-28 21:10:49 UTC
I share your opinion, RBE. I just don't know whether this should be treated as a
bug since OOo behaves perfectly well in replacing the tabstop with the right
border when they conincide.

Maybe this should turn into a enhancement request. But I'd rather leave this as
a "new defect" for the developers to discuss.
Comment 6 h.ilter 2004-01-30 14:55:28 UTC
HI->FME: Different behavior between 1.00" and 1.01" is really suspect.
Comment 7 frank.meies 2004-02-23 08:19:12 UTC
.
Comment 8 wongcs231005 2006-01-25 23:39:59 UTC
Issue is comfirmed on Linux PC Open Office version 1.1.0
Steps:
1) open or create new text document
2) set heading to -1" first line
3) set handing body to 1"
4) set handing tab to 1"
5) type paragraph with 1" tab
6) save and close file
7) reopen file and tab changes to 0.5"

After closer examination the paragraph have been remove from the specified
heading style to another after opening the file again.
Comment 9 michael.ruess 2008-04-11 09:57:25 UTC
*** Issue 88158 has been marked as a duplicate of this issue. ***