Bug 154067 - Cell styles cannot have other than Default as top level parent
Summary: Cell styles cannot have other than Default as top level parent
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.5.1.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsUXEval
Depends on:
Blocks: Calc-Styles
  Show dependency treegraph
 
Reported: 2023-03-08 12:08 UTC by Roman
Modified: 2023-03-27 14:47 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Calc_style_text (125.29 KB, image/png)
2023-03-08 12:08 UTC, Roman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman 2023-03-08 12:08:10 UTC
Description:
It is impossible to separate your style from the base

Steps to Reproduce:
1. run Calc
2. show Calc_style_text

Actual Results:
Any text style is bound to Base

Expected Results:
-not- as in Writer styles


Reproducible: Always


User Profile Reset: No

Additional Info:
-
Comment 1 Roman 2023-03-08 12:08:25 UTC
Created attachment 185841 [details]
Calc_style_text
Comment 2 Roman Kuznetsov 2023-03-20 20:26:09 UTC
Roman, all cell styles in Calc have a default style as root, yes

Do you want to have an opportunity to create your own default (for example Default-2) style in Calc as it can be done in Writer? But why? You can create your own style hierarchy as you want using current default style...
Comment 3 Roman 2023-03-20 22:05:26 UTC
(In reply to Roman Kuznetsov from comment #2)
> Roman, all cell styles in Calc have a default style as root, yes
> 
> Do you want to have an opportunity to create your own default (for example
> Default-2) style in Calc as it can be done in Writer? But why? You can
> create your own style hierarchy as you want using current default style...

Yes, I can not create my own unique style - because any of my styles are tied to the base style.
That is, if I make changes to the base style, then all changes will be reflected immediately in the entire table.
Да я не могу создать свой уникальный стиль - потому что любой мой стиль привязан к базовому стилю.
То есть если я внесу изменения в базовый стиль, то все изменения отражаться сразу же во всей таблице.
Comment 4 Heiko Tietze 2023-03-21 16:08:54 UTC
I don't get the use case. As Roman K commented it is possible to create a hierarchy underneath Default; compared to Writer it is just one level deeper. Guess it would be a huge effort to change this for very little benefit.

Eike, what is the reason for this?
Comment 5 Eike Rathke 2023-03-27 12:29:21 UTC
Because it's the correct thing to do.

Even if you'd have a cell style not inheriting from Default in any way, for the properties not defined in that style you'd need to get the definition from somewhere, and where would you get that? Right, from the Default style.

I also don't get the use case. If an own unique style is applied to cells and you don't want that modifying the Default style propagates, then either just don't modify the Default style, or override that definition in the derived unique style, or create another style to be applied for such modifications.
Comment 6 Heiko Tietze 2023-03-27 14:26:36 UTC
(In reply to Eike Rathke from comment #5)
> ... where would you get that? Right, from the Default style.

Or tools > options > calc > <foo> as done in Writer. 

> I also don't get the use case.

So we are at least two who see no benefit in such an enhancement. That has a lot of consequences and requires a huge effort to realize. => WF/NAB
Comment 7 Roman 2023-03-27 14:47:10 UTC
Hello.
The user is an inexperienced person and cannot immediately realize what some window manager is responsible for, which edits something - font size, and so on.
But also the user knows more in terms of functionality.
I really want to set my own styles - there are a lot of them and know that any change will not affect them.
Привет.
Пользователь человек неопытный и не может осознать сразу за что отвечает какой-то оконный менеджер который что-то редактирует - размер шрифта и тд.
Но также пользователь по функциональности знает больше.
Мне очень хочется задать свои стили - их много и знать что какое-нибудь изменение их не затронет.