You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2014/02/25 11:17:34 UTC

[Bug 124312] New: Writer EDITING: Cannot type SMP chars in AltGr states

https://issues.apache.org/ooo/show_bug.cgi?id=124312

            Bug ID: 124312
        Issue Type: DEFECT
           Summary: Writer EDITING: Cannot type SMP chars in AltGr states
           Product: Writer
           Version: 4.1.0-dev
          Hardware: PC
                OS: Windows 7
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: editing
          Assignee: issues@openoffice.apache.org
          Reporter: nrsi.cheuk@gmail.com
                CC: issues@openoffice.apache.org

Created attachment 82692
  --> https://issues.apache.org/ooo/attachment.cgi?id=82692&action=edit
Miao Unicode keyboard + layout

When typing into Writer any *supplementary plane* char mapped to the AltGr or
shift-AltGr states, a square, a crossed box, or simply nothing is produced,
effectively blocking output of these SMP chars.  By contrast, AltGr-mapped
*BMP* chars are OK, as are *supplementary plane* chars mapped to normal or
shift states.  There is also no problem typing AltGr-mapped *supplementary
plane* chars into Calc & Impress.  These chars can also be readily produced
with (shift-)AltGr in other apps like Word & Excel.

This problem is attested in the following build & OS:
- AOO410m1(Build:9750) Rev. 1570848 on 64-bit English Windows 7 Ultimate SP1

It is expected that this problem will also manifest in later nightly builds.

A. Steps to reproduce bug with Miao (U+16F00..16F9F):
1. download & install Miao Unicode font at
https://github.com/phjamr/MiaoUnicode/blob/master/MiaoUnicode-Regular.ttf?raw=true
2. unzip Miao1v2_.zip attached & install Miao keyboard (run setup.exe)
3. run Writer & set all Basic Fonts (CTL) to Miao Unicode (in
Tools|Options|OpenOffice Writer)
4. select Miao Unicode font
5. on Windows language bar, select MR
6. refer to the 3 .jpg files in attached archive for keys mapped in each state
7. type any mapped keys in AltGr state: squares & crossed boxes appear --
BUG!!!
8. exit AOO

B. Steps to reproduce bug with Tengwar (re-encoded at U+1CC00..1CC7F for
testing):
1. unzip tengmod.zip attached
2. install Tengwar font (right-click tengmod.ttf & select Install)
3. install Tengwar keyboard (run setup.exe)
4. run Writer
5. select Tengwar Telcontar Mod font
6. on Windows language bar, select IS
7. refer to the 4 .jpg files in attached archive for keys mapped in each state
8. type any mapped keys in AltGr or shift-AltGr state: squares & nothing appear
-- BUG!!!

C. Control experiments with SMP chars mapped to normal or shift states:
1. repeat A.4-6
2. type any mapped keys in normal or shift state: Miao chars appear in document
-- expected
3. repeat B.5-7
4. type any mapped keys in normal or shift state: Tengwar chars appear in
document -- expected
5. exit AOO

D. Control experiment with BMP chars (Hebrew):
1. download & install SBL Hebrew font at
http://www.sbl-site.org/Fonts/SBL_Hbrw.ttf
2. download & install SBL Hebrew Tiro keyboard at
http://www.sbl-site.org/Fonts/BiblicalHebrewTiro.zip
3. download & refer to SBL Hebrew Tiro keyboard layout at
http://www.sbl-site.org/Fonts/BiblicalHebrewTiroManual.pdf
4. run Writer & select SBL Hebrew font
5. on Windows language bar, select HE
6. type any mapped keys in AltGr or shift-AltGr state: Hebrew chars (+ Latin
punctuation) appear as expected

E. Control experiments with other apps:
1. open Calc/Impress/Word/Excel/PowerPoint: blank document appears
2. repeat A.4-7: Miao chars (big letters with wart) appear in document --
expected
3. repeat B.5-8: Tengwar chars (+ Latin punctuation) appear in document --
expected

F. Observation: Writer may be cutting off the 2nd half of the surrogate pair
that represents a supplementary char, as suggested by the following tests:
1. in Writer, repeat A.4-6
2. repeat A.7 multiple times, keeping all chars (i.e., crossed boxes) on the
same line
3. copy the whole line & paste into Word: a line of squares appear
4. in Word, place cursor after any square
5. press Ctrl-X: the string D81B appears, which is the Unicode code point of
the 1st half of any surrogate pair representing chars in the Miao block => 2nd
half cut off
6. in Writer, repeat B.5-7
7. repeat B.8 multiple times, keeping all chars (i.e., square + nothing) on the
same line
8. repeat F.3-5: it shows the value D833 = USV of high surrogate of any char in
Tengwar block (per this test font) => low surrogate cut off

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Issue 124312] Writer EDITING: Cannot type SMP chars in AltGr states

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124312

Edwin Sharp <el...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|IRREPRODUCIBLE              |---
     Ever confirmed|0                           |1

--- Comment #3 from Edwin Sharp <el...@apache.org> ---
reopened

-- 
You are receiving this mail because:
You are on the CC list for the issue.
You are the assignee for the issue.
You are watching all issue changes.

[Issue 124312] Writer EDITING: Cannot type SMP chars in AltGr states

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124312

Edwin Sharp <el...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |elish@apache.org
         Resolution|---                         |IRREPRODUCIBLE

--- Comment #2 from Edwin Sharp <el...@apache.org> ---
Miao display correctly
AOO420m1(Build:9800)  -  Rev. 1586681
Rev.1586681
Win 7

-- 
You are receiving this mail because:
You are on the CC list for the issue.
You are the assignee for the issue.
You are watching all issue changes.

[Bug 124312] Writer EDITING: Cannot type SMP chars in AltGr states

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124312

alhawiti <am...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |am345166@gmail.com

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 124312] Writer EDITING: Cannot type SMP chars in AltGr states

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124312

yutgor <nr...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|nrsi.cheuk@gmail.com        |

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 124312] Writer EDITING: Cannot type SMP chars in AltGr states

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124312

yutgor <nr...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nrsi.cheuk@gmail.com

--- Comment #1 from yutgor <nr...@gmail.com> ---
Created attachment 82693
  --> https://issues.apache.org/ooo/attachment.cgi?id=82693&action=edit
Tengwar test font, keyboard, + layout

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 124312] Writer EDITING: Cannot type SMP chars in AltGr states

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124312

yutgor <nr...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |123501

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Issue 124312] Writer EDITING: Cannot type SMP chars in AltGr states

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124312

Edwin Sharp <el...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |CONFIRMED
             Latest|---                         |4.1-dev
    Confirmation on|                            |
           Severity|blocker                     |major

--- Comment #4 from Edwin Sharp <el...@apache.org> ---
Alt+Ctrl+key gives rectangles.
sorry...

-- 
You are receiving this mail because:
You are on the CC list for the issue.
You are the assignee for the issue.
You are watching all issue changes.

[Bug 124312] Writer EDITING: Cannot type SMP chars in AltGr states

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124312

hdu@apache.org <hd...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hdu@apache.org
             Blocks|                            |102943

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.