Issue 124173 - underlining if too long when a non secable minus is used in text
Summary: underlining if too long when a non secable minus is used in text
Status: UNCONFIRMED
Alias: None
Product: Calc
Classification: Application
Component: formatting (show other issues)
Version: 4.0.1
Hardware: PC Windows 7
: P3 Minor (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: needmoreinfo
Depends on:
Blocks:
 
Reported: 2014-02-03 11:52 UTC by snoff
Modified: 2014-02-17 12:12 UTC (History)
2 users (show)

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


Attachments
example document (44.55 KB, application/vnd.oasis.opendocument.spreadsheet)
2014-02-03 11:52 UTC, snoff
no flags Details
Screenshot - Everything seemsOK? (5.99 KB, image/png)
2014-02-03 17:01 UTC, Rainer Bielefeld
no flags Details
writer whit non breakable hyphens and minus underlned (8.88 KB, application/vnd.oasis.opendocument.text)
2014-02-17 11:59 UTC, snoff
no flags Details
presentation with non breakable hyphens and minus (12.01 KB, application/vnd.oasis.opendocument.presentation)
2014-02-17 12:00 UTC, snoff
no flags Details
calc with non breakable hyphen (579.31 KB, image/tiff)
2014-02-17 12:04 UTC, snoff
no flags Details
calc with a simple minus instead non breakable hyphen (563.31 KB, image/tiff)
2014-02-17 12:05 UTC, snoff
no flags Details
writer with non breakable hyphens and minus underlined (628.49 KB, image/tiff)
2014-02-17 12:05 UTC, snoff
no flags Details
presentation with non breakable hyphens and minus (542.55 KB, image/tiff)
2014-02-17 12:06 UTC, snoff
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description snoff 2014-02-03 11:52:20 UTC
Created attachment 82481 [details]
example document

Hello,

I need to use non secable minus in a document. But when i underline the text using this special character, i obtain a too long underlining (It should be as long a if i used a simple minus).

You can see it on the document joined (sheet 'lots', text 'au sous-sol :'). If you change the minus between 'sous' and 'sol', the underlining becomes ok.

I use non secables chars to avoid cuts in some texts.

Thanks
Comment 1 Edwin Sharp 2014-02-03 13:22:52 UTC
Confirmed with
AOO410m1(Build:9750)  -  Rev. 1562493
Rev.1562493
Win 7
Comment 2 Rainer Bielefeld 2014-02-03 16:48:24 UTC
Hm, Attached document does not contain Text "au sous-sol" in sheet "lots", the only hit for that string is in sheet "PC". May be that one is the interesting one?

I still have some additional questions:

(a) I can't see anything unexpected  with  in "au sous-sol" in sheet "PC"
    with "AOO 4.0.1 – German UI / German locale 
    [Rev. 1524958 2013-09-20 11:40:29]" on German WIN7 
    Home Premium (64bit)", “historic” 4.0 User Profile used for all
    predecessor versions (please see attached screenshot!). What
    does "too long" mean? Exceeding at beginning of wort? Exceeding at end?
    Or where else?
(b) I can't imagine what a "non secable minus" might be. Please explain!
(c) If the problem really starts with 4.0.1 this would be a regression, if 
    the problem is not related to a new feature. Is the problem related to a new
    feature or is it a regression?
(d) If problem already started more early, do we know with what version?
(e) Is the problem really limited to Calc or also reproducible with 
    other AOO applications?
(f) With all fonts or only Arial?
Comment 3 Rainer Bielefeld 2014-02-03 17:01:39 UTC
Created attachment 82483 [details]
Screenshot - Everything seemsOK?

b): Are we talking about Non-breaking hyphen ?
    <http://en.wikipedia.org/wiki/Non-breaking_hyphen#Unicode>

@reporter: 
Can you please create a sample document only containing a cell with "non secable minus" and a second cell with same string, only difference "simple minus" - and
a screenshot showing as it looks for you
Comment 4 snoff 2014-02-17 11:59:52 UTC
Created attachment 82602 [details]
writer whit non breakable hyphens and minus underlned
Comment 5 snoff 2014-02-17 12:00:22 UTC
Created attachment 82603 [details]
presentation with non breakable hyphens and minus
Comment 6 snoff 2014-02-17 12:04:00 UTC
Created attachment 82604 [details]
calc with non breakable hyphen
Comment 7 snoff 2014-02-17 12:05:05 UTC
Created attachment 82605 [details]
calc with a simple minus instead non breakable hyphen
Comment 8 snoff 2014-02-17 12:05:48 UTC
Created attachment 82606 [details]
writer with non breakable hyphens and minus underlined
Comment 9 snoff 2014-02-17 12:06:35 UTC
Created attachment 82607 [details]
presentation with non breakable hyphens and minus
Comment 10 snoff 2014-02-17 12:12:05 UTC
Hello,

I can't tell you when it appears because i just tried to use non breakable hyphens to solve a problem of unwanted cuts in some texts, so my macro replace minus by non breakable hyphens. The behaviour appears only when texts are underlined.

As i can see, it concerns calc and presentation but not writer.

I added some attachments.

The cells in sheet 'lots' at B18 should look like the cell in sheet 'pc' at C31.

I tried other fonts and the underlining is too long for all fonts. When replacing the non breakable hyphen by a minus, underlining seems ok.

I use a french version of AOO. So i can't tell if the problems occurs on other languages.

Thanks