https://bugs.documentfoundation.org/show_bug.cgi?id=157108

            Bug ID: 157108
           Summary: "Anchor" corrupted by "New Style From Selection" for
                    Frames
           Product: LibreOffice
           Version: 24.2.0.0 alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
I]m wondering if I fundamentally don't understand something about selecting
frames and applying frame styles.

If the border of a frame is clicked and the resize handles appear, is the Frame
selected?  Format->Frame and Objects->Properties seems to display the correct
props for that frame, so it seems to be selected.

HOWEVER, If "New Style From Selection" is then performed in the Styles panel,
the resulting named style is not the same as what is shown in Properties of the
selected Frame.   Shouldn't it be?


Steps to Reproduce:
1. Open attached demo.odt
2. View->Styles
3. Select the frame containing "In original Frame"

   Format->Frame and Objects->Properties
     ==> Confirm that Anchor is set to "As character"
   Close the Properties dialog

5. In the Style panel: click the 3rd icon to select "Frame" styles
6. In the Styles menu (tiny triangle at upper right),
     do "New Style from Selection". Give it a name.

7. Select the new Frame style; rightclick->Edit Style
   Click the "Type" tab


Actual Results:
The new style has Anchor set to "To paragraph"

Expected Results:
Anchor "As character", as it is in the Frame the style was created from


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 78d9d0d8dccb6fd8952435b8a13d525c7606f467
CPU threads: 12; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to