Bug 34064

Summary: Need better handle the Drop Down Form Field in .doc file.
Product: LibreOffice Reporter: Yifan Jiang <yfjiang>
Component: WriterAssignee: Cédric Bosdonnat <cedric.bosdonnat.ooo>
Status: RESOLVED FIXED    
Severity: normal    
Priority: medium    
Version: 3.3.0 release   
Hardware: Other   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: test data
libreoffice-3-3 branch patch
update patch
update patch

Description Yifan Jiang 2011-02-09 02:15:35 UTC
Created attachment 43155 [details]
test data

Platform: SLED 11 sp1 i586
build info: Novell LibreOffice 3.3 rc4

[Steps]

    1. Open the doc attached

    2. Click the field, a dropdown list with some items will come out
    
[Problem]

    There are several problems here:

    [UI]

    1. The 'Cancel' label(button?) on the bottom right corner is truncated in
    the panel UI

    2. The drop down list panel can not be canceled by either clicking
    'Cancel' label(button?) or otherwhere else.
    
    3. Choosing one of those items in the list, the field will be expanded as
    an empty gray area without text shown out.

    [load/save]

    4. The changing of value cannot be rememeber if you save the document and
    reopen it.

    5. When changing the field value, the document is not marked as dirty

    [localization]

    6. The 'Cancel' lable(button?) cannot be localized
Comment 2 Cédric Bosdonnat 2011-02-10 03:02:19 UTC
Created attachment 43195 [details]
libreoffice-3-3 branch patch

I originally worked on a 3.3 branch and needed to adapt to master. Here is the patch for inclusion in 3.3 branch.
Comment 3 Cédric Bosdonnat 2011-02-10 06:08:36 UTC
Created attachment 43199 [details]
update patch

Updated the patch according to comments on mailing-list
Comment 4 Cédric Bosdonnat 2011-02-10 06:12:40 UTC
Created attachment 43200 [details]
update patch