Bug Hunting Session
Bug 107447 - Terms of 2 Formatting Marks are different to the Unicode Terms
Summary: Terms of 2 Formatting Marks are different to the Unicode Terms
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All Windows (All)
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: easyHack
Depends on:
Blocks: Formatting-Mark
  Show dependency treegraph
 
Reported: 2017-04-26 12:52 UTC by Harald Koester
Modified: 2018-09-14 02:44 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harald Koester 2017-04-26 12:52:56 UTC
In LibreOffice the terms 'No-width optional break' and 'No-width no break' are used as formatting marks. These are not the official Unicode terms. The Unicode terms are 'Zero-width non-joiner' (U+200C) and 'Zero-width joiner' (U+200D). 

Expectation: Use of Unicode terms.

The mentioned terms occur at the following places:
(a) Writer, Calc, Impress, Draw: Menu > Insert > Formatting Mark
(b) Help page 'Formatting Mark'
(c) Writer help page 'Preventing Hyphenation of Specific Words'

Hint: It may be wise to add the old terms in brackets to the new terms, hence AFAIK Microsoft uses the same old terms.

If necessary the new terms also have to be localised. According Wikipedia the terms in German are 'Bindehemmer' and 'Breitenloser Verbinder”.

Bugs exist already in verion 3.3.0. Hence inherited from OOo.
Comment 1 Adolfo Jayme 2017-04-27 17:08:49 UTC
Our terms are better; they are more familiar to DTP users. We don’t have to match any technical term just for the sake of it; and Unicode has given misnomers in the past.
Comment 2 Khaled Hosny 2017-04-27 18:43:33 UTC
I disagree. I find our terms confusing, and every time I have to look it up to find what Unicode character this is going to insert. I actually never seen these terms used outside of OOo/LibreOffice.
Comment 3 Khaled Hosny 2017-04-27 18:46:44 UTC
This very bug is even an evidence about this confusion since “No-width optional break” is actually “zero-width space” not “zero-width non-joiner”. Actually I’m not even sure, I need to check the source code…
Comment 4 Sophia Schroeder 2017-12-10 11:32:38 UTC
I see there is nothing I can do about in the moment, so reassigned to default and remarking to new.
Comment 5 Harald Koester 2018-09-06 11:58:12 UTC
This bug is a subset of bug 119723. Hence marked as duplicate.

*** This bug has been marked as a duplicate of bug 119723 ***
Comment 6 Khaled Hosny 2018-09-07 12:04:20 UTC
*** Bug 119723 has been marked as a duplicate of this bug. ***
Comment 7 Khaled Hosny 2018-09-07 12:16:24 UTC
Checking the code, 
No-width optional break, inserts U+200B ZERO WIDTH SPACE
No-width no ~break, inserts U+2060 WORD JOINER

So these are different characters from ZWJ and ZWNJ, but I still think the names need to be changed because they are still confusing. People should not need to check the code to find out what character is this. One suggestion is to keep the terminology (for familiarity of existing users), and add the actual character code point between parentheses, and the full name in the tooltip.


e.g.:

No-width optional break (U+200B) → tooltip: Inserts U+200B Zero Width Space
Comment 8 Xisco Faulí 2018-09-10 16:31:35 UTC
(In reply to Khaled Hosny from comment #7)
> Checking the code, 
> No-width optional break, inserts U+200B ZERO WIDTH SPACE
> No-width no ~break, inserts U+2060 WORD JOINER
> 
> So these are different characters from ZWJ and ZWNJ, but I still think the
> names need to be changed because they are still confusing. People should not
> need to check the code to find out what character is this. One suggestion is
> to keep the terminology (for familiarity of existing users), and add the
> actual character code point between parentheses, and the full name in the
> tooltip.
> 
> 
> e.g.:
> 
> No-width optional break (U+200B) → tooltip: Inserts U+200B Zero Width Space

Adding UX Team
Comment 9 Harald Koester 2018-09-10 21:08:10 UTC
(In reply to Khaled Hosny from comment #6)
> *** Bug 119723 has been marked as a duplicate of this bug. ***

In bug 119723 there are more cases of incorrect terms listed. So the cases in this report (107447) are a subset. Hence the correct state for this report should be "Dupe of 119723" in order to cover all cases.

*** This bug has been marked as a duplicate of bug 119723 ***
Comment 10 Khaled Hosny 2018-09-11 15:41:05 UTC
This is the older report, just add any additional information here, or make the other issue depend on this. This can’t be a duplicate of an issue that were reported after it especially when this had a useful discussion already.
Comment 11 Heiko Tietze 2018-09-13 09:22:28 UTC
We are talking about officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu

<node oor:name=".uno:InsertZWSP" oor:op="replace">
  <prop oor:name="Label" oor:type="xs:string">
      <value xml:lang="en-US">No-~width optional break</value>
   </prop>
</node>

It inserts U+200B which is labeled 'ZERO WIDTH SPACE' so why not go with "Insert U+200B Zero Width Space character" as Khaled suggests.

<node oor:name=".uno:InsertZWNBSP" oor:op="replace">
  <prop oor:name="Label" oor:type="xs:string">
     <value xml:lang="en-US">No-width no ~break</value>
   </prop>
</node>

That's U+2060, labeled 'WORD JOINER' and could be "Insert U+2060 Word Joiner character".


I wonder if the ID is required, I would prefer to not put such tech talk into tooltips.