Bug 140195 - Remove textbox present in context menu for Caption Frame after DOCX export (and not working properly either)
Summary: Remove textbox present in context menu for Caption Frame after DOCX export (a...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.7.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-05 18:37 UTC by Telesto
Modified: 2023-09-11 14:09 UTC (History)
4 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 Telesto 2021-02-05 18:37:47 UTC
Description:
Remove textbox present in context menu for Caption Frame after DOCX export (and not working properly either)

Steps to Reproduce:
1. Open attachment 169508 [details]
2. Pick a shape and insert a caption frame (Select image -> Insert caption)
3. Pick a title & press OK
4. Right click the frame & look at the context menu (bottom)
5. File - Save As -. DOCX
6. File reload
7. Step 4 -> Notice Remove Textbox & click it

Actual Results:
Remove textbox removes content. frame still present

Expected Results:
No clue what the direction is.. (Remove Textbox being present or not)


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 3ed9bba283a6a67864c0928186e277240be0d9ba
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 1 Telesto 2021-02-05 18:38:58 UTC
Also in
Versie: 4.4.7.2 
Build ID: f3153a8b245191196a4b6b9abd1d0da16eead600
Locale: nl_NL
Comment 2 Telesto 2021-02-05 18:41:57 UTC
Not in
Version: 4.3.0.4
Build ID: 62ad5818884a2fc2e5780dd45466868d41009ec0
Comment 3 NISZ LibreOffice Team 2021-02-08 09:25:59 UTC
The caption frame object like any other frame you insert from Insert - Frame is converted to a shape object on DOCX export. That has slightly different properties and behaviors compared to a frame object, the docx-textbox meta bug is about those.
Comment 4 Buovjaga 2022-01-27 12:36:56 UTC
So should this be kept open or not?
Comment 5 QA Administrators 2022-07-27 03:38:16 UTC Comment hidden (obsolete)
Comment 6 Telesto 2022-07-27 07:39:07 UTC
(In reply to Buovjaga from comment #4)
> So should this be kept open or not?

Option A: Remove TextBox should be hidden if this being a converted object in case of DOCX (if possible)
Option B: Remove Textbox should delete everything, selecting the frame and clicking 'Delete textbox' will delete the image inside the textbox
Option C: B + rename Remove Textbox to Remove frame (which would match the navigator label) but technically it's still a drawing object
Comment 7 Regina Henschel 2022-07-27 09:57:25 UTC
There are more problems:
1. The import should have created a frame, not a custom shape with textbox.
2. In generally, 'Remove textbox' should not kill its content, but give an option to move the content to the shape. Currently you first need to copy the content, remove the textbox and then insert the content again.
3. In case the shape is an unrotated custom shape 'rectangle' (as it is in this case) there should be an option 'convert to frame'.

From my point of view, the 'Textbox' feature in Writer is half-baked.
Comment 8 Justin L 2023-09-11 14:09:07 UTC
There are all kinds of bug reports showing that a draw-based solution to frame imports has problems. And there are all kinds of bug reports that have been fixed by doing it this way.

This report about "the menus are different after saving to DOCX format" is INVALID.