Bug 148599 - Frame style issues with direct formatting of frame area
Summary: Frame style issues with direct formatting of frame area
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.3.2.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Styles-Frame
  Show dependency treegraph
 
Reported: 2022-04-14 18:42 UTC by lahos
Modified: 2022-05-03 07:34 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
frame style issue example (17.11 KB, application/octet-stream)
2022-04-30 15:49 UTC, lahos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lahos 2022-04-14 18:42:17 UTC
Hi,

  Frame style doesn't seem to work at all.
  I try to change area color or relative width of a frame style
  and none of my frames with that style is updated in my document.
  Is it working differently compared to paragraph style ?

  Regards.
Comment 1 lahos 2022-04-14 18:44:36 UTC
In the frame style the values seems persistent but not applied to existing frames.
Comment 2 lahos 2022-04-15 16:52:45 UTC
Hi,
  It seems that when a frame property is changed on a frame instance, style are not influencing that property anymore.
  Is it the correct behavior ?
  Then, how do we reset the override ?

Regards
Comment 3 lahos 2022-04-30 15:49:59 UTC
Created attachment 179862 [details]
frame style issue example
Comment 4 Dieter 2022-05-03 07:34:41 UTC
I confirm the problem with

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 83d0f2eebae41d431d9a5bfd1a918523977752d0
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL


Steps to reproduce:
1. open a new document and insert a frame
2. create a frame style - based on frame style "Frame" with orange coloured area
3. Apply frame style "orange" to frame => O. K.

Problem 1:
4. Undo
5. Select Frame -> Frame properties -> Area -> Colour -> Select a colour (for example blue) -> OK
6. Undo
7. Apply frame style "orange" to frame
Actual result: Doesn't work
Expected result: should work

Problem 2:
4. Select Frame -> Frame properties -> Area -> Colour -> Select a colour (for example blue) -> OK (Direct Formatting overrides Frame Style)
5. Undo => Area changes to orange (expected)
6. Redo => DF formatting is back (expected)
7. Try to remove DF in another way than undo => not possible
Actual result: Can't remove DF of area color in a frame (strg+m doesn't work and no possibility to achieve it with change of frame properties)
Expected result: Since undo is not always possible, there should be a possibility to remove DF
5. Try to remove direct formatting (doesn't work: strg+m doesn't work