Bug 105828 - EDITING: content-hidden table cell cannot be selected or receive the cursor
Summary: EDITING: content-hidden table cell cannot be selected or receive the cursor
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: DOCX-Tables
  Show dependency treegraph
 
Reported: 2017-02-07 13:33 UTC by Uwe Dippel
Modified: 2022-06-24 17:39 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Documents does not allow to access empty cells. (14.81 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2017-02-07 13:33 UTC, Uwe Dippel
Details
The example file in Word and Writer (163.00 KB, image/png)
2021-07-21 10:18 UTC, NISZ LibreOffice Team
Details
ShowHiddenChars.oxt: configuration extension to default showing hidden content with "Toggle Formatting Marks" (7.03 KB, application/vnd.openofficeorg.extension)
2022-06-24 17:30 UTC, Justin L
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Uwe Dippel 2017-02-07 13:33:29 UTC
Created attachment 130983 [details]
Documents does not allow to access empty cells.

I have a table, that was initially created with LibreOffice, and then opened with WORD due to 97599 to have the styles re-added. 
When I open the file in LibreOffice, it is impossible select the cells without content. The cells behind B and H can be clicked, in order to change the style or insert something; an empty cell like the one behind E cannot be reached, for example to insert a number or to change the format.
It is of course possible in WORD.

I still hope to be able one day to do all my office work in LibreOffice, though this here is another 'impossible' blocker for me, since I have to identify correct solutions, and modify a style.

I have added a simple document as example. What needs to be done can be done in WORD, not in LibreOffice.
Comment 1 Xisco Faulí 2017-02-07 16:32:02 UTC
Confirmed in

Version: 5.4.0.0.alpha0+
Build ID: fc53cce64400430cdc21f79c959d75fb9a26d13d
CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; VCL: gtk2; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group

and 

LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Comment 2 Tomas 2017-12-15 14:12:45 UTC
I've been also affected by this bug. It is very stressful to have to deal with such a basic thing. Furthermore, the only way to fix it I found, was to use Microsoft Word, fill in the empty cells, save it, and then, and only then I was able to edit all fields in LibreOffice. Very far from desirable.

I love using LibreOffice, but until this bug is fixed, I cannot recommend it for production use to my colleagues.
Comment 3 QA Administrators 2018-12-16 03:50:21 UTC Comment hidden (obsolete, spam)
Comment 4 Justin L 2020-06-03 11:03:03 UTC
Still true in LO 7.1+
Comment 5 NISZ LibreOffice Team 2021-07-21 10:18:30 UTC
Created attachment 173727 [details]
The example file in Word and Writer

The content (default end-of-cell marker) of those cells has the Hidden character attribute enabled.
Now in Word by default the Hidden characters are shown, but even if hidden this end-of-cell marker is exempt from that, making it possible to click into the cell and edit it.

Writer does not have a special end-of-cell marker so empty cells are marked by paragraph markers. Hidden characters are also hidden by default, they can be enabled under Options - Writer - Formatting Aids - Hidden characters.

Paragraph markers are affected by having the Hidden character property - both in Word and Writer - so they are hidden when the file is opened.

My subjective observation is that Word really tries hard to discourage users from using these hidden characters:
By default, they are visible, then if you manually hide them in its Settings, it's enough to type into a hidden empty paragraph to enable the "Show all formatting marks" option in the Settings, which overrides the "Hidden text" option.
Comment 6 NISZ LibreOffice Team 2021-07-21 10:24:23 UTC
An actionable change could be to enable by default the Hidden characters option in Options - Writer - Formatting Aids.

Apart from solving this issue that would match our UX to Words, and serve to discourage users from applying the Hidden character attribute. It's not a very efficient way to hide information from others anyways.

But of course this would unavoidably break some peoples workflow, so needsUXEval.
Comment 7 Heiko Tietze 2021-07-21 10:33:27 UTC
(In reply to NISZ LibreOffice Team from comment #6)
> An actionable change could be to enable by default the Hidden characters
> option in Options - Writer - Formatting Aids.

Bad solution, but showing independently from the option at empty cells sounds good to me.
Comment 8 Uwe Dippel 2021-07-21 10:51:04 UTC
May I respectfully disagree?
A writer application must be simple, logical and straightforward. Meaning, any cell in a table must be accessible by default; not through any workaround. 
It would be a huge frustration to the average user (maybe not to me) to search a knowledge base to find out how to fill an empty cell in a table.
Comment 9 Heiko Tietze 2021-08-16 13:53:43 UTC
Looking again into this issue I believe it's not a bug. The non-clickable cells have set characters to be hidden - even when you enter text it will disappear when editing is done. I guess the original authors intended this as a safety feature. Point is that hidden text cannot be selected.
Comment 10 Uwe Dippel 2021-08-16 21:02:35 UTC
I an only shake my head in disbelieve. 
Yet another 'bug is no bug but a feature'. 
Firstly, the behaviour is different from MS PP. It used to be one of the aims to be comparable.
Second, the previous argument seems to imply, that I ought not be able to change a hidden text attribute at all. Not in a table. That is, I must not be able to go and modify a text attribute at all, and not be able to modify a cell content. 

It won't help much, I'm afraid, to reopen it. Despite of me being unable to see any common sense in said action.
Comment 11 Heiko Tietze 2021-08-17 14:59:20 UTC
To change hidden text you have to show it. Admittedly, there is no indicator like you get in normal text when field shading is on.
Comment 12 Justin L 2022-06-24 15:49:58 UTC
If you know what is wrong with the document, it is fairly easy to select a range of cells and turn the Format - Character - hidden property off.

If you don't know what is wrong the document, I imagine it would be hard to figure out no matter whether you can (easily) get the cursor into the cell or not.

Even in MS Word 2003 I had to select the entire cell in order to turn off the hidden format, so the method of "fixing" this document is already the same for both Word and LO - just that LO can't just select only the hidden cell (at least not "out of the box").

I am completely baffled why "nothing content" has been marked as hidden in this document. Lowering the importance since it is an odd-ball example dealing with character hiding - which by definition is not a "simple document". Also lowering it because anyone intentionally using hidden text in LO should know about Tools - Options - Writer - Formatting Aids - Display Formatting: Hidden characters. Things work "as expected" when that is turned on.
Comment 13 Justin L 2022-06-24 17:30:59 UTC
Created attachment 180950 [details]
ShowHiddenChars.oxt: configuration extension to default showing hidden content with "Toggle Formatting Marks"
Comment 14 Justin L 2022-06-24 17:39:29 UTC
(In reply to Heiko Tietze from comment #9)
> Looking again into this issue I believe it's not a bug.
I agree this is not a bug. The decision was made long ago not to show hidden content, and the option for a user to do it anyway has long been in place and should be easy to find with a google search.

(In reply to Heiko Tietze from comment #11)
> Admittedly, there is no indicator
> like you get in normal text when field shading is on.
Irrelevant - that is only for fields.
There is no indication if Format - Character - Hidden is enabled on normal paragraph text - which is what we are dealing with here in the cells.