Bug 128225 - FORMATTING: Custom cell formatting ignored when email address entered
Summary: FORMATTING: Custom cell formatting ignored when email address entered
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.3.2.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-18 09:19 UTC by Daniel Kendall
Modified: 2019-11-22 09:29 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Test file showing the bug (16.84 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2019-10-18 09:22 UTC, Daniel Kendall
Details
Test file v2 (11.18 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2019-10-18 15:30 UTC, Daniel Kendall
Details
Following given instructions but the address is now whited out. This this a bug? (64.28 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2019-11-22 09:29 UTC, Daniel Kendall
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Kendall 2019-10-18 09:19:47 UTC
Description:
A document to avoid people peeking over shoulder and seeing confidential information uses the custom number format ;;;** .

In excel this successfully means that ALL cells with that formatting are obscured shown as *****************

In libreoffice most cells exhibit the correct behavior as long as it doesn't contain an email address. These fields are shown as a normal email hyperlink.

Steps to Reproduce:
1. Custom number format ;;;**
2. Set on a group of cells normal text and email

Actual Results:
Normal text obscured, emails not

Expected Results:
All obscured


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Likely present in earlier version, only tested in current 6.3.x release.

Version: 6.3.1.2 (x86)
Build ID: b79626edf0065ac373bd1df5c28bd630b4424273
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
Locale: en-GB (en_GB); UI-Language: en-GB
Calc: threaded
Comment 1 Daniel Kendall 2019-10-18 09:22:12 UTC
Created attachment 155110 [details]
Test file showing the bug
Comment 2 m_a_riosv 2019-10-18 14:58:10 UTC
Seems the cell is defined as hyperlink.
<hyperlinks><hyperlink ref="B2" r:id="rId1" display="aaa@bbb.cc"/></hyperlinks>
using [Ctrl-M] to clear it as hyperlink, allows give the proper format to the cell.
Maybe in excel takes preference the cell's format.

https://help.libreoffice.org/6.3/en-US/text/scalc/guide/cell_protect.html?&DbPAR=CALC&System=WIN
Comment 3 Daniel Kendall 2019-10-18 15:29:08 UTC
Strange behaviour when trying to remove direct formatting and copying.

The blank cell is not what is wanted and clearing formatting does not mean the other format is picked up.

https://ttprivatenew.s3.amazonaws.com/pulse/d-manicx100/attachments/11721027/TinyTake18-10-2019-04-27-59.mp4
Comment 4 Daniel Kendall 2019-10-18 15:30:01 UTC
Created attachment 155125 [details]
Test file v2

Second test file used
Comment 5 m_a_riosv 2019-10-18 15:49:28 UTC
Instead a direct format for every cell, creating a new 'Hidden' style with that format, apply the style to those cell, and when [Ctl-M] is done in the cell with the link, the is showed as you like.

I'm not an opinion about if the preference in that cell must be the link or the cell format.
Comment 6 Xisco Faulí 2019-11-21 13:13:04 UTC
(In reply to m.a.riosv from comment #5)
> Instead a direct format for every cell, creating a new 'Hidden' style with
> that format, apply the style to those cell, and when [Ctl-M] is done in the
> cell with the link, the is showed as you like.
> 
> I'm not an opinion about if the preference in that cell must be the link or
> the cell format.

Solution here.
Closing as RESOLVED NOTABUG
Comment 7 Daniel Kendall 2019-11-22 09:29:32 UTC
Created attachment 156028 [details]
Following given instructions but the address is now whited out. This this a bug?

Following given instructions but the address is now whited out. This this a bug?