Bug 90521 - Removing column format
Summary: Removing column format
Status: RESOLVED DUPLICATE of bug 166560
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Page-Layout-Columns
  Show dependency treegraph
 
Reported: 2015-04-08 18:35 UTC by Stefano
Modified: 2025-10-24 16:05 UTC (History)
3 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 Stefano 2015-04-08 18:35:59 UTC
There is a bug when formatting text to remove columns.
Selecting text and setting columns to one (Format->Columns and select 1) does not work, generating a "N-columns trap" [1]

Steps to reproduce it:
1. Create an empty document and fill it with text
2. Select the text and format it to two columns (Format->Columns, 2)
3. Select a portion of the text and format it to one column (Format->Columns, 1)

Expected result:
The selected text switches to one column.

Actual result:
Nothing happens.

As in the discussion at [1], somebody suggested the usage of sections, but I think this method only 'wraps' the problem and the bug here described.
I believe this is a major usability issue, because it makes very hard to properly format the text, and to move back and forth between different formats.

Although, I think it's also a bug, because when following the steps above, the expected behavior (i.e., selected text does not change formatting) does not happen.









[1] http://ask.libreoffice.org/en/question/21898/how-to-escape-two-columns-trap/
Comment 1 A (Andy) 2015-04-08 19:02:33 UTC
Reproducible with LO 4.4.1.2, Win 8.1

If I only change a part of the text to two columns it is not possible to make again only one column out of this.  Only if I select the whole text and change it to two columns and then select again all the text then I can change it back to only one column.
Comment 2 Matthew Francis 2015-04-09 02:52:35 UTC
This has always been the case back to LO 3.3.0

-> Version: Inherited from OOo
Comment 3 tommy27 2016-04-16 07:24:20 UTC Comment hidden (obsolete)
Comment 4 QA Administrators 2017-05-22 13:25:15 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2019-12-03 14:35:28 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2021-12-03 04:36:32 UTC Comment hidden (obsolete)
Comment 7 QA Administrators 2025-05-28 03:13:12 UTC Comment hidden (obsolete, spam)
Comment 8 Justin L 2025-10-24 15:12:21 UTC
I would say NOTABUG.

(In reply to Stefano from comment #0)
> 2. Select the text and format it to two columns (Format->Columns, 2)
This has created a section with two columns. It is a shortcut for "Insert section with 2 columns"

> 3. Select a portion of the text and format it to one column
> (Format->Columns, 1)
If you would have selected NOTHING, then the format command can identify that you want to format the current section - so the simple approach works fine.

Better yet is to simply right-click and "edit section".

By selecting only a part of the text in a section, you are indicating that you do NOT want to format the entire section, but just this range of text. Well, ranges of text do not have column information. So the result of format - columns just inserts another sub-section. Essentially, you are repeating step #2 - inserting a new section. This is very consistent behaviour.

If you really want to have a sub-section of your columns switch back to single-column mode, then the correct command would be "Insert - Section".

> Expected:
> The selected text switches to one column.
Allowing that would encourage a massive section pyramid. The current approach is very consistent, and strongly hints to the user that "something else is involved", namely sections. Your wrong expectation shows a wrong understanding of where columns are defined. They are not defined by paragraphs...

The current implementation does a better job of guiding the user to a proper understanding of how section/columns work than what you suggest.

> somebody suggested the usage of sections, but I
> think this method only 'wraps' the problem and the bug here described.
By definition, when you "format columns" of a selection you are using a section.
Comment 9 Justin L 2025-10-24 16:05:28 UTC

*** This bug has been marked as a duplicate of bug 166560 ***