Issue 13014 - closing quotes dropping on the next line after punctuation
Summary: closing quotes dropping on the next line after punctuation
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 1.1 Beta
Hardware: All Windows 2000
: P3 Trivial (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-03 22:59 UTC by vliscony
Modified: 2013-08-07 14:41 UTC (History)
2 users (show)

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


Attachments
text file with example (193.54 KB, text/plain)
2003-04-03 23:00 UTC, vliscony
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description vliscony 2003-04-03 22:59:25 UTC
the problem seems to happen mostly after punctuation.




Example is 


quote


...remembered not to laugh...


" (T-27.VIII.6:2; Text p. 586).


unquote




on page 46 of the text in the attached file.




There's another occurrence in the text as well




note that changing the last period in the ellipsis to a letter e.g. laugh..a, 
immediately causes the closing quote to pop back up, and form ... laugh..a" as 
the end of the line. This is why it seems the punctuation marks are the problem.
Comment 1 vliscony 2003-04-03 23:00:06 UTC
Created attachment 5449 [details]
text file with example
Comment 2 khendricks 2003-04-05 20:21:11 UTC
Hi, 
 
For some reason I thought this issue was hyphnation related.  It does not apear to be at 
all. 
 
I can recreate the problem and a space before the 3 periods (an ellipsis) seems to help 
but this really seems like a breakiterator issue of some sort. 
 
Since that is outside the lingucomponent project I am reassigning this to the sw project 
in the hopes that someone there can look at this. 
 
Thanks, 
 
Kevin 
 
Comment 3 khendricks 2003-04-05 20:23:28 UTC
Hi Thomas, 
 
Can you please take a look at how the code that terminates the line (see his example and 
then page 46 of the attached document) and notice that the closing smart quote in the 
line remembered not to laugh..."  somehow gets moved to start the next line unless a 
space is inserted between laugh and the .... 
 
is this a breakiterator issue? 
 
Thanks, 
 
Kevin 
 
Comment 4 vliscony 2003-04-06 03:27:18 UTC
note that also forms. produces problems a the end of a line... it is 
hyphenated as "form" and "-s"




I'm not sure if this belongs here, or is in a different category. 
Comment 5 khendricks 2003-04-06 14:30:20 UTC
Hi,  
  
So there is a hyphnation issue also?  I searched your document and I could not find one  
instance of "forms" improperly hyphenated.  
  
Would you please create a new Issue specific to hyphenation and assign it to me  
(khendricks@openoffice.org and the lingucomponent project) and include an attachment  
that shows the problem (please specify the page and line number if it is a large  
document).  
  
I will try to see why "forms" is being improperly hyphenated in that new issue and we can 
keep this issue related to where the smart double quote after multiple punction ends up 
with the "sw" project since that is their area.  
  
Thanks, 
 
Kevin  
  
Comment 6 vliscony 2003-04-06 14:47:11 UTC
additional example:




"Jung's mind" at end of sentence, hyphenated as:




quote


Jun-


g's mind.


unquote
Comment 7 vliscony 2003-04-07 14:24:58 UTC
i sense that this is on it's way to resolution, and may be the same as 
13095 after all.
Comment 8 vliscony 2003-04-08 14:55:50 UTC
for the record I'm now considering this as definitely a separate item 
from the hyphenation problem (13095), and noting that i'm having more 
and more instances of it, since i'm working with many files, in the 
editing of two books, and I have numerous instances of closing " 
dropping to the next line.




the example reported before probably gives the best clue of what is 
going on quote laugh..." unuqote
Comment 9 khendricks 2003-04-09 14:14:54 UTC
Hi, 
 
Adding Thomas Lange as CC to this one.  Perhaps he will know what is going on here 
and can tell us if this issue needs to be redirected in some way. 
 
Kevin 
 
 
 
Comment 10 khendricks 2003-04-09 14:18:03 UTC
Hi Thomas,  
  
Will you please take a look at the first problem of this issue for me and let me know which  
project or who I should redirect this to.  
  
It seems OOo writer will sometimes put an ending quote on a new line if it follows a string  
of punction (such as an ellipsis or 3 periods).  
  
The secondary problems with hyphenation have all been moved to another issue and I  
have fixes for them in my tree that I will commit once the new hyphnation dictionary for  
en_US is approved for committing.  
  
Thanks,  
  
Kevin  
 
Comment 11 h.ilter 2003-04-09 15:23:53 UTC
Reassigned to MRU.
Comment 12 mwdiers 2003-05-04 04:47:39 UTC
I have seen this problem repeatedly, and it has nothing to do with
unusual punctuation. It happens with ANY punctuation (period, comma,
etc.). If you end a sentence with:

period close-quote

the close quote will be dropped to the next line if it won't fit on
the current line. The alignment of the paragraph does not matter.

It appears that the line break iterator is not keeping end punctuation
together with the last word if there is more than one punctuation mark
after the word.
Comment 13 michael.ruess 2003-05-20 13:40:35 UTC
The problem with the close-quotes should be fixed in OO 1.1 Beta2.
There was another task describing this problem. I'll have a look for
the rference number if it.
Comment 14 michael.ruess 2003-05-20 13:48:40 UTC
The problem was fixed in issue #11748. So I close this one. 
OO 1.1 Beta2 should arrive soon.