https://bugs.documentfoundation.org/show_bug.cgi?id=170667
Bug ID: 170667
Summary: Inconsistent naming of groups created anew vs. copied
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Keywords: difficultyBeginner, easyHack, skillCpp
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
In Writer document:
1. Draw two rectangles.
2. Select both of them, and group (Format->Group Shapes->Group)
3. Check that in Navigator, the name of the newly created group object is
"DrawObject1" (no space between the "DrawObject" and "1").
4. Copy the group to clipboard.
5. Paste.
=> In the navigator, the second object is named "DrawObject 1" (same number,
space between the "DrawObject" and "1").
It would be nice to have some consistency here.
"DrawObject 1" is created in SdrObject::MakeNameUnique (svxcore); "DrawObject"
is created in lcl_GetUniqueFlyName (sw). Since svxcore is lower-level, I
suggest to fix it in sw.
--
You are receiving this mail because:
You are the assignee for the bug.