Bug 148133 - EDITING: Clear Direct Formatting doesn't work correctly for text box in Impress and Draw
Summary: EDITING: Clear Direct Formatting doesn't work correctly for text box in Impre...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Clear-Formatting
  Show dependency treegraph
 
Reported: 2022-03-22 08:42 UTC by Po-Yen Huang
Modified: 2025-08-15 03:12 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 Po-Yen Huang 2022-03-22 08:42:45 UTC
Description:
If I use "Clear Direct Formatting" in text box on Impress and Draw, it will become Blue background and black text, but it should be white background and black text.

Steps to Reproduce:
1. Insert a text box in Impress or Draw
2. Type some words in text box and using some text properties like bold, italic or something like this
3. Click "Format" > "Clear Direct Formatting"

Actual Results:
Text box will become blue (light blue I think) background and black text

Expected Results:
Text box become white background and black text


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
Version: 7.3.1.3 / LibreOffice Community
Build ID: 30(Build:3)
CPU threads: 8; OS: Linux 5.16; UI render: default; VCL: kf5 (cairo+xcb)
Locale: zh-TW (zh_TW.UTF-8); UI: zh-TW
7.3.1-1
Calc: CL
Comment 1 giger.jonathan 2022-04-09 09:38:45 UTC
I can confirm this happens on my build. It only happens when all the text in the text box is selected (for example, when Ctrl-A is used and then Clear Direct Formatting is used). I wonder if the bug is actually simply that a "Text Box" should be light blue by default, so that it is uniform with the "Rectangle" shape, then this would be the intended behavior.

Version: 7.2.6.2 (x64) / LibreOffice Community
Build ID: b0ec3a565991f7569a5a7f5d24fed7f52653d754
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 2 Po-Yen Huang 2022-07-20 03:52:45 UTC
(In reply to giger.jonathan from comment #1)
> I can confirm this happens on my build. It only happens when all the text in
> the text box is selected (for example, when Ctrl-A is used and then Clear
> Direct Formatting is used). I wonder if the bug is actually simply that a
> "Text Box" should be light blue by default, so that it is uniform with the
> "Rectangle" shape, then this would be the intended behavior.
> 
> Version: 7.2.6.2 (x64) / LibreOffice Community
> Build ID: b0ec3a565991f7569a5a7f5d24fed7f52653d754
> CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL:
> win
> Locale: en-US (en_US); UI: en-US
> Calc: threaded

I don't think "Text Box" default style uniformed with "Rectangle" shape is a good idea, they are different objects.
Comment 3 Dev 2023-08-15 02:15:56 UTC
Reproducible in 7.6.0.1:

Version: 7.6.0.1 (X86_64) / LibreOffice Community
Build ID: 776eaf34564cbf3f034a0ba1fd1d5c32ff9ccf1c
CPU threads: 4; OS: Linux 6.4; UI render: default; VCL: kf5 (cairo+xcb)
Locale: zh-TW (zh_TW.UTF-8); UI: zh-TW
Calc: threaded
Comment 4 Dev 2023-08-15 03:00:24 UTC
In Impress, for the default shape (text frame) given in a slide template (like "Title slide", "Title, content",... etc.) it won't have this problem.  Only for the text box I added (also show as "Shape (text frame)" in the Navigator)  will have this problem.
Comment 5 QA Administrators 2025-08-15 03:12:45 UTC
Dear Po-Yen Huang,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug