Issue 124204

Summary: Dialog 'Edit - AutoText': Name and Shortcut input line do not become blank when Category becomes selected
Product: Writer Reporter: hills
Component: uiAssignee: AOO issues mailing list <issues>
Status: CLOSED FIXED QA Contact:
Severity: Minor    
Priority: P3 CC: hanya.runo, issues, rainerbielefeld_ooo_qa
Version: 3.4.0   
Target Milestone: 4.2.0   
Hardware: All   
OS: All   
See Also: https://issues.apache.org/ooo/show_bug.cgi?id=123063
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Patch to make empty fields and disable insert button on autotext dialog none

Description hills 2014-02-07 16:57:08 UTC
Overview: 

   AOO 4.1 FVT Test Case Failed
   Test Case ID AOOTest-628 :: Version : 1
   AutoText - Select between Auto Text entry and Category item

   Name and shortcut do not blank when changing selection from an AutoText entry to a Category.

Steps to Reproduce: 

   1. Create a new Text Document
   2. Select menu Edit-> Auto Text
   3. Select an Auto Text entry.  Name and shortcut fields should change to match selection 
   4. Select a category.  Name and shortcut fields should become blank
   5. Switch between Category and Auto Text entry, check the Name and Shortcut text boxes

Actual Results:

   In steps 4-5, the Name and Shortcut text boxes do not blank when a category is selected.
   Fields still contain the Name and Shortcut of the previously selected AutoText entry.

Expected Results:

   In steps 4-5, the Name and Shortcut text boxes should blank when a category is selected.

Build Date & Platform:

   Build: AOO410m(Build:9750) - Rev. 1560773
          2014-01-23 19:19 - Linux x86_64 
   OS: RHEL 6.4

Regression info:
   The bug also exists in AOO 4.0.1
Comment 1 Rainer Bielefeld 2014-02-08 07:41:46 UTC
Reproducible with server installation of "AOO 4.1.0-Dev – English UI / German locale - [AOO410m1(Build:9750) - Rev. 1562493 - 2014-01-30]" on German WIN7 Home Premium (64bit)", own separate user profile: If selection changes from

Additional Info:
(a) Not a new issue, already reproducible with OOo 1.1.5
(b)  Already reproducible with  Pre-3.4.0 (OOo 1.1.5), but because of incomplete  
     Version selector (Bug 123063) no useful info can be contributed
Comment 2 hanya 2014-02-08 07:55:32 UTC
Created attachment 82543 [details]
Patch to make empty fields and disable insert button on autotext dialog

As described in the report, when top category is selected, the name and the short name 
fields should be empty and input button should be disabled.
Comment 3 SVN Robot 2014-05-18 14:51:46 UTC
"hanya" committed SVN revision 1595628 into trunk:
#i124204# make fields emtpy on the auto text dialog when parent node is selected
Comment 4 hanya 2014-05-19 13:03:07 UTC
Fixed on trunk.