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
Created attachment 189375 [details] demo.odt
I confirm it with Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: a4522ef5ce6a625054d83ec907aee07c156e94ed CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: en-US (de_DE); UI: en-US Calc: CL threaded Additional information Anchor "As Character" is direct formatting. But new style from selection should take that into account, becuase it works for example with direct formatting of frame area But it looks to me like a duplicate of bug 36535. Feel free to change it back to NEW with a short reasoning, if you disagree. *** This bug has been marked as a duplicate of bug 36535 ***