Bug 138012 - menu item Page (in Format) should be active even when there is an inserted read-only document in it in FOCUS
Summary: menu item Page (in Format) should be active even when there is an inserted re...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.0.3 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-UX
  Show dependency treegraph
 
Reported: 2020-11-05 12:22 UTC by peter josvai
Modified: 2023-05-10 15:02 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description peter josvai 2020-11-05 12:22:21 UTC
versions: 7.03 / 6.x

although it is logical that a read only document inserted into a document shouldn't be edited, it comes up as illogical when you want to set
the "mother document's" page... and you can't do it, cannot even access the menu item "Page" (in Format).... 

example:

you have inserted a section with a linked read-only document... say, it is 10 pages...
and it starts at the first line...

now, if you want to change the page format, you need to insert a line before the section with the linked document... need to insert a new first line, so to speak...

this is unnecessary pain... cause the PAGE is set by the "mother document" in every circumstance

suggestion: the Page menu item should be active.. even when a linked document is in focus...

------------------------------

NOTE:
actually it works if you go Styles -> pages styles...

and it should work the same when with the normal route: Format / page... or Format / Page styles (as in 7.03)


simply, it just shouldn't be greyed out in the Format menu...

suggestion:

this could be fixed in former versions, too...



-- thank you for developing Writer --
Comment 1 Mike Kaganski 2020-11-05 12:39:23 UTC
I agree that *unless defined in the read-only section*, current page style should be editable when you are inside a read-only section.

Repro with Version: 7.0.3.1 (x64)
Build ID: d7547858d014d4cf69878db179d326fc3483e082
CPU threads: 12; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL

By the way, you don't need the hassle that you describe (as a workaround): you may go to the line *after* the section (and it's guaranteed to exist) to edit the page style; or you may notice the page style in the status bar, and then edit the style in the styles panel (F11).
Comment 2 Mike Kaganski 2020-11-05 12:41:20 UTC
(In reply to peter josvai from comment #0)
> cause the PAGE is set by the "mother document" in every circumstance

This is incorrect: the current page style (both where it starts, and how it is formatted) may be defined both in main document, and in the linked document.
Comment 3 Mike Kaganski 2020-11-05 12:45:39 UTC
(In reply to Mike Kaganski from comment #1)
> I agree that *unless defined in the read-only section*, current page style
> should be editable when you are inside a read-only section.

... and even then, if the style is defined in the child document, it is always possible to re-define styles in the main document, (which is what master documents are about btw) so Format->Page Style should always be enabled.