Bug 136931 - Provide Unfloat Table in context menu
Summary: Provide Unfloat Table in context menu
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.1.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: DOCX-Tables Writer-Tables-Enhancements
  Show dependency treegraph
 
Reported: 2020-09-21 12:46 UTC by Dieter
Modified: 2025-11-24 17:24 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Attachments
Document with floating table (52.93 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-09-21 12:46 UTC, Dieter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dieter 2020-09-21 12:46:32 UTC
Created attachment 165734 [details]
Document with floating table

Open attachment with a floating table.

Process for unfloating table:
1. Select Navigator - Frames - Frame1
2. right click - Go To menu item.
3. In the top right corner of the table a blue "Un-float Table" label appears. 
4. Click it.

Also if you might be aware, that docment contains a floating table, the way of unfoating it is not intuitive. You have to know, that you should select the frame and that you should use "Go To" - opion

It would be much easier if you could select table directly within the document, so that "Unfloating Table" option appears. Or unfloating-option should be part of the table context menu in the navigator.
Comment 1 Heiko Tietze 2020-09-21 13:24:06 UTC
Missing a request in first place, guess it was a customer request implemented by Tamas. OTOH, I don't see this button as too difficult to use. And I cannot confirm the placement trouble due to the quite complex document.

Adding the Unfloat command to the context menu is a good idea, if it's a UNO command.

See also 113603 about table handling in general.
Comment 2 Dieter 2020-09-21 14:32:45 UTC
(In reply to Heiko Tietze from comment #1)
> I don't see this button as too difficult to use.

Please see your remarks in bug 112704 comment 16 :-)
Comment 3 Heiko Tietze 2020-09-22 07:07:37 UTC
(In reply to Dieter from comment #2)
> Please see your remarks in bug 112704 comment 16 :-)

Still valid. The button itself is not obtrusive (yet working) but most users will search the context menu. Let's do this.

The missing undo is a big issue too. Worth another ticket.
Comment 4 Mike Kaganski 2020-09-22 07:23:31 UTC
Please take into account bug 112704 comment 8, bug 112704 comment 10, bug 112704 comment 14. In essence:

The function is more that just "fix something broken". It is more like a generic function to put arbitrary content into frame / move frame content from frame to outside. It asks for a toggle (bidirectional) function; close in spirit to "Convert text to table/table to text". The "put to frame" functionality already exists when you select something and create a frame. So possibly this needs to be just shaped in general-purpose UNO function, with main menu entries (and of course, context menu).
Comment 5 Jim Raykowski 2025-11-24 17:24:08 UTC
There is an 'Unfloat Frame Content' menu item in the Frame context menu that may do the same as the 'Un-float Table' button. I don't know how to get the 'Un-float Table' button to show other than using the 'Document with floating table' in the attachments document.

Both methods result in a crash for me when I try with that document. To test, I used:

Version: 26.2.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: cbee4864f7237c4f052e5de33045eeb36b3fef3c
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: x11
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Testing the 'Unfloat Frame Content' method with a simple document that has a table in a frame I don't get a crash. I also don't see the 'Un-float Table' button.

I also noticed that undo after the frame is unfloated does not restore the table in the frame.