Issue 21659

Summary: rename ergonomic snafu ...
Product: ui Reporter: mmeeks <mmeeks>
Component: codeAssignee: michael.ruess
Status: CLOSED FIXED QA Contact: issues@ui <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: OOo 1.1 RC4   
Target Milestone: OOo 2.0   
Hardware: PC   
OS: Linux, all   
Issue Type: ENHANCEMENT Latest Confirmation in: ---
Developer Difficulty: ---

Description mmeeks 2003-10-24 13:05:29 UTC
The total lack of a sane code -> bugzilla mapping is really irritating me, I've
no idea where to find the component that corresponds to the 'graphics' toplevel.

Anyway - this substantially improves the rename ergonomics:

--- svx/source/dialog/dlgname.cxx       28 Feb 2002 16:47:13 -0000      1.2
+++ svx/source/dialog/dlgname.cxx       24 Oct 2003 11:54:38 -0000
@@ -97,6 +97,7 @@ SvxNameDialog::SvxNameDialog( Window* pW
 
        aFtDescription.SetText( rDesc );
        aEdtName.SetText( rName );
+       aEdtName.SetSelection( Selection( SELECTION_MIN, SELECTION_MAX ) );
     ModifyHdl(&aEdtName);
     aEdtName.SetModifyHdl(LINK(this, SvxNameDialog, ModifyHdl));
 }
Index: sc/source/ui/miscdlgs/strindlg.cxx
===================================================================
RCS file: /cvs/sc/sc/source/ui/miscdlgs/strindlg.cxx,v
retrieving revision 1.2
diff -u -p -u -r1.2 strindlg.cxx
--- sc/source/ui/miscdlgs/strindlg.cxx  5 Dec 2001 21:57:17 -0000       1.2
+++ sc/source/ui/miscdlgs/strindlg.cxx  24 Oct 2003 11:55:20 -0000
@@ -93,6 +93,7 @@ ScStringInputDlg::ScStringInputDlg( Wind
        SetText( rTitle );
        aFtEditTitle.SetText( rEditTitle );
        aEdInput.SetText( rDefault );
+       aEdInput.SetSelection( Selection( SELECTION_MIN, SELECTION_MAX ) );
 
        //      HelpId for Edit different for different uses
Comment 1 christof.pintaske 2003-10-24 13:50:04 UTC
cp->mmeeks: but that's so easy. everything that's not gsl is ui ;-)

cp->os: I'm not sure if you handle that yourself or pass it on to
product management. however it looks like being small enough to be
handled immediately ;-)
Comment 2 Oliver Specht 2003-10-24 14:30:09 UTC
.
Comment 3 Oliver Specht 2003-12-01 11:18:48 UTC
The same applies to sw/source/ui/utlui/unotools.cxx

Fixed in cws os24
Comment 4 Oliver Specht 2003-12-11 11:28:47 UTC
cws os24 can be found on so-cwsserv01, wntmsci8 and unxlngi5.pro

To see the results:
Rename a sheet in Calc.
Rename an object in Writer in the Navigator (table, graphic ...)
Name a group object in Draw and then rename it.

Comment 5 michael.ruess 2003-12-17 14:52:22 UTC
Checked fix with CWS os24.
Comment 6 michael.ruess 2003-12-17 14:53:07 UTC
Verified. Fix will be included in OO 2.0.
Comment 7 michael.ruess 2004-06-08 15:38:40 UTC
integrated in 680m38