Summary: | When pasting text styled with character format to a new document that style isn't edit-able | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Ulrich Windl <u20230201> |
Component: | Writer | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | NEEDINFO --- | ||
Severity: | normal | CC: | ilmari.lauhakangas, miguelangelrv, robert, u20230201 |
Priority: | medium | ||
Version: | 7.5.9.2 release | ||
Hardware: | x86 (IA32) | ||
OS: | Windows (All) | ||
Whiteboard: | |||
Crash report or crash signature: | Regression By: | ||
Attachments: |
Partial screenshot showing context menu
Sample document showing the bug |
Description
Ulrich Windl
2024-04-03 19:00:04 UTC
Created attachment 193466 [details]
Partial screenshot showing context menu
Works for me with Version: 7.5.9.2 (X86_64) / LibreOffice Community Build ID: cdeefe45c17511d326101eed8008ac4092f278a9 CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: default; VCL: win Locale: es-ES (es_ES); UI: es-ES Calc: CL threaded Hello Ulrich Windl, With the newer versions, you can easily change the character styles of a pasted text. These are the steps I used: 1. Copy text with a character style (the text I copied was bolded, and it was from a website). 2. Paste text into an empty document. 3. Select the text and right-click. 4. Hover over "Character", and a dropdown appears to the right with a check next to the character style (for me, it was "Strong Emphasis"). 5. Select "No Character Style" from the dropdown. The character style should be removed from the text. These are the two builds I tested with: Stable Build Version: 24.2.2.2 (AARCH64) / LibreOffice Community Build ID: d56cc158d8a96260b836f100ef4b4ef25d6f1a01 CPU threads: 10; OS: macOS 14.1.2; UI render: Skia/Metal; VCL: osx Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded Master/Daily Build Version: 24.8.0.0.alpha0+ (AARCH64) / LibreOffice Community Build ID: c4023d3ec604abfff38be2053e2989c7ec2ba8c1 CPU threads: 10; OS: macOS 14.1.2; UI render: Skia/Metal; VCL: osx Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded Created attachment 193497 [details]
Sample document showing the bug
Maybe this is just an effect of other bugs related to copying text with character formats. I made an experiment:
If the text pasted contains more than the styled part, then the character format can be edited; however if it contains only the styled part, the character style cannot be edited. In this case I saved the document, closed it and re-opened it, and still: the character style cannot be edited.
If you try to edit the style "Taste", it does not offer the corresponding context menu.
(In reply to Haris from comment #3) I think you misunderstood, or I didn't explain well enough: I don't want to assign a different "named" character style, but instead I want to change the attributes of the currently assigned style ("Taste" in the screenshot, I thought it was obvious). My apologies, I read your post regarding character styles and misunderstood which character styles you were referring to. The "Edit Style" options shows up for me, and I'm able to successfully edit any character style. Hence, I'm unable to reproduce the bug in the following two builds: Stable Build Version: 24.2.2.2 (AARCH64) / LibreOffice Community Build ID: d56cc158d8a96260b836f100ef4b4ef25d6f1a01 CPU threads: 10; OS: macOS 14.1.2; UI render: Skia/Metal; VCL: osx Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded Master/Daily Build Version: 24.8.0.0.alpha0+ (AARCH64) / LibreOffice Community Build ID: c4023d3ec604abfff38be2053e2989c7ec2ba8c1 CPU threads: 10; OS: macOS 14.1.2; UI render: Skia/Metal; VCL: osx Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded Tested the attached file with Version: 24.2.2.2 (X86_64) / LibreOffice Community Build ID: d56cc158d8a96260b836f100ef4b4ef25d6f1a01 CPU threads: 6; OS: Linux 6.4; UI render: default; VCL: kf5 (cairo+xcb) Locale: de-DE (de_DE.UTF-8); UI: de-DE Calc: threaded "Taste" is editable here. Get the same with LO 7.6.4 and LO 7.5.5 on the same system: OpenSUSE 15.6 Beta 64bit rpm Linux Might be the behavior has something to do with user profile. So test it in safe mode or with a renamed user profile |