Bug 163942 - "Update selected style" does not regard style selection
Summary: "Update selected style" does not regard style selection
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.8.2.1 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Styles-Paragraph
  Show dependency treegraph
 
Reported: 2024-11-17 18:55 UTC by Florian
Modified: 2024-11-19 06:03 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian 2024-11-17 18:55:35 UTC
Description:
I want to update an existing paragraph style with the style of selected text (paragraph), which does not work as stated in the documentation.
(https://help.libreoffice.org/latest/en-US/text/swriter/guide/stylist_fillformat.html)


Steps to Reproduce:
0. Open style sidepane
1. select text/paragraph, currently style X, with changed properties
2. select the target style Y, which should be updated, in sidepane
3. Style Actions -> Update selected style

Actual Results:
Now style X is wrongfully updated, instead of the selected style Y.


Expected Results:
Update selected style Y with properties from selected text.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 24.8.2.1 (X86_64) / LibreOffice Community
Build ID: 480(Build:1)
CPU threads: 16; OS: Linux 6.10; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Debian package version: 4:24.8.2-1~bpo12+1
Calc: threaded
Comment 1 m_a_riosv 2024-11-17 21:55:55 UTC
Looks to me that the description is not good.
Update IMO only can be done on the style of the selected and modified paragraph.
Comment 2 Florian 2024-11-18 09:38:31 UTC
I would argue, that there should be 2 options:

0. update the currently assigned style == current behavior, would need a new menu option, with "update [original] style [from selection]"
1. update any _selected_ style, with the current text "Update selected style" but the Expected behavior described in the bug report.

# Rationale:
Imagine you change some text, you like the look and quickly want to update an _existing_ style, a different one from what style this text has been before.

I run into that issue all the time, 2 options is also how M$ office does it, btw.