Bug 157902 - INCONSISTENT FORMATTING IN CALC
Summary: INCONSISTENT FORMATTING IN CALC
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
3.3.0 release
Hardware: Other macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 158153 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-10-23 17:55 UTC by nik
Modified: 2024-01-21 05:37 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Comparison (174.38 KB, image/png)
2023-10-25 16:56 UTC, ToanTran
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nik 2023-10-23 17:55:55 UTC
Description:
When formatting a Spreadsheet, ONLY the 'selected' cells get the NEW formatting.  All the cells in a spreadsheet should be the NEW Format.  If only a few cell should be re-formatted, then selecting them BEFORE the Re-Format should restrict the change to these cells ONLY.

Keep up the Good Work,

Ciao

Actual Results:
Entering data in an 'unused' Calc cell, defaults to 10 pt text height!

Expected Results:
Should be the SAME as the selected test height selected for the Currently Occupied Cells.


Reproducible: Always


User Profile Reset: No

Additional Info:
Maintain a CONSISTENT Text Formatting (except of previously SPECIALLY Formatted Cells).
Comment 1 Mike Kaganski 2023-10-23 19:08:46 UTC
Likely a dupe of bug 153527?

But the "ONLY the 'selected' cells get the NEW formatting" confuses me: so are you selecting some part of sheet, and expect other parts be formatted? Or is your issue that you select everything, but only non-empty (not "selected") cells get the formatting?
Comment 2 ToanTran 2023-10-25 16:56:51 UTC
Created attachment 190418 [details]
Comparison
Comment 3 ToanTran 2023-10-25 16:57:50 UTC
I believe I understand the statement "ONLY the 'selected' cells get the NEW formatting." Let's consider these steps:

1. Open a new Spreadsheet >> Observe that: The first cell - A1 is selected by default.
2. Select the menu Format >> Text >> Bold (or any other options).
3. Type anything in cell A1 >>> Observe that: The text is Bolded.
4. Type anything in other cells >> Observe that: The formatting selected in step #2 is not applied.

So, the expectation here might be that "The Bold format" should be applied to all other cells. If so, it will differ slightly from the bug [153527].

Furthermore, I compared this behavior with Microsoft Excel and noticed that we can make it work that way, while Google Sheets does not. Therefore, the decision to be made here is whether we should align with Microsoft Excel or Google Sheets.
Comment 4 Buovjaga 2023-11-01 18:05:25 UTC
NEEDINFO while we wait for the reporter to respond.
Comment 5 Buovjaga 2023-11-07 06:59:21 UTC
Nik: wouldn't it be better to go to Sidebar - Styles, right-click Default - Edit Styles and define your formatting there, so it applies throughout the spreadsheet?
Comment 6 Buovjaga 2023-11-07 07:19:04 UTC
I'll go ahead and close as wontfix.
Comment 7 V Stuart Foote 2023-11-10 01:55:43 UTC
*** Bug 158153 has been marked as a duplicate of this bug. ***
Comment 8 Mike Kaganski 2024-01-21 05:26:56 UTC
(In reply to ToanTran from comment #3)
> 1. Open a new Spreadsheet >> Observe that: The first cell - A1 is selected
> by default.
> 2. Select the menu Format >> Text >> Bold (or any other options).
> 3. Type anything in cell A1 >>> Observe that: The text is Bolded.
> 4. Type anything in other cells >> Observe that: The formatting selected in
> step #2 is not applied.
> 
> So, the expectation here might be that "The Bold format" should be applied
> to all other cells. If so, it will differ slightly from the bug [153527].
> 
> Furthermore, I compared this behavior with Microsoft Excel and noticed that
> we can make it work that way

1. How can we "make it work that way" in case of Excel? This is important to be able to repro, and to evaluate how useful the feature is (maybe it's some backward-compat option in Excel, that they themselves have deprecated?)

2. It is a possibility to introduce the existing "AutoUpdate style" feature [1], existing in Writer, to Calc's cell styles. Then a direct formatting to a cell could automatically translate into that cell's style update, with immediate effect on the whole file.

[1] https://help.libreoffice.org/latest/en-US/text/shared/01/05040100.html?DbPAR=WRITER
Comment 9 Mike Kaganski 2024-01-21 05:37:16 UTC
(In reply to Mike Kaganski from comment #8)

But of course, it all depends how correct ToanTran guessed the meaning of the unclear comment 0. And without clarifying that, the current resolution is the correct one.