Bug 78035 - No clear distinction in grid settings, saved/loaded with document, and set in the options
Summary: No clear distinction in grid settings, saved/loaded with document, and set in...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 154201 (view as bug list)
Depends on:
Blocks: Draw-File-Handling
  Show dependency treegraph
 
Reported: 2014-04-28 14:03 UTC by Miroslav Fitz
Modified: 2024-05-17 07:07 UTC (History)
5 users (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 Miroslav Fitz 2014-04-28 14:03:46 UTC
Grid settings "grid step" and others are now global (common to all documents).
It makes me a problem when editing documents in which different grid settings were used.

I propose to save grid settings into document in similar way like the units and scale settings are written.
Comment 1 Buovjaga 2014-11-08 21:18:56 UTC
Sounds reasonable, I set this as an enhancement.
Comment 2 Heiko Tietze 2016-06-07 08:32:47 UTC
Drawings may be done for different purposes that make an individual grid necessary. Saving the grid settings also means to enter them - at the page properties dialog perhaps - and to have a default when a new document is created. So you would always start with 0.5cm, as long drawings do not have a page style.

Additionally to the grid settings it would be interesting to attach the scale values to the document (tdf#59068).
Comment 3 Heiko Tietze 2016-06-08 07:18:47 UTC
*** Bug 78034 has been marked as a duplicate of this bug. ***
Comment 4 Heiko Tietze 2019-02-25 12:22:56 UTC
Regina, you do create special grids instead of the inbuilt function. Does it make sense to add this option to the document? Meaning also to remove it from Tolls > Options > Draw > Grid into a new per-document dialog.
Comment 5 Regina Henschel 2019-02-25 13:38:28 UTC
The grid settings are view-settings. They are already stored in the file in the config-items 'GridCoarseWidth', 'GridCoarseHeight', 'GridFineWidth', and 'GridFineHeight'. An existing document is initially shown with the grid, that is stored in its config-items. But when you turn grid off and then on again, the settings from Tools > Options are used.

I support to handle the grid per document. It makes sense to have it per document, because the needed grid depends highly on the size of the document. The settings in Tools > Options should only be the default for new documents.
Comment 6 Cor Nouws 2019-02-25 15:44:02 UTC
(In reply to Regina Henschel from comment #5)
> The grid settings are view-settings. They are already stored in the file in
> the config-items 'GridCoarseWidth', 'GridCoarseHeight', 'GridFineWidth', and
> 'GridFineHeight'.
And also it the document had grid visible when saved.

> An existing document is initially shown with the grid,
> that is stored in its config-items.
Which may be no visible grid,

> that is stored in its config-items. But when you turn grid off and then on
> again, the settings from Tools > Options are used.
More complicated even.
Grid is set to invisible in Options. And the file you open does have grid visible. Now open options, tick Visible and the settings are applied immediately,

> I support to handle the grid per document. It makes sense to have it per
Me too.

> document, because the needed grid depends highly on the size of the
> document. The settings in Tools > Options should only be the default for new
> documents.
But Resolution and Subdivision are used to change the actual view of an document too.
So a good topic to think about a clear and usable solution.
Comment 7 Heiko Tietze 2019-02-28 13:51:36 UTC
(In reply to Regina Henschel from comment #5)
> The grid ... are already stored...

Looks rather like a bug. When the loading issue is solved we also need a place to review/modify the per-document option. I suggest the Page > Properties dialog, perhaps under Margins.
Comment 8 Heiko Tietze 2019-03-01 16:15:18 UTC
@Cor: The issue boils down to proper loading. That's why I changed the summary. The text "No clear distinction..." is misleading and would make me expect a suggestion when I was a developer.
Comment 9 Cor Nouws 2019-03-01 19:14:47 UTC
@heiko: and the settings is Tools > Options > Draw > Grid are for what?
New default? Then how to handle the open document.
For the open document? Then how to handle default?
In any case, from the info and what I saw, to me the distinction is like spaghetti - with tomato sauce would you prefer ;)
Comment 10 Heiko Tietze 2019-03-04 09:30:13 UTC
(In reply to Cor Nouws from comment #9)
> ...settings is Tools > Options > Draw > Grid are for ... New default? 
> ... open document...

(In reply to Heiko Tietze from comment #7)
> ... When the loading issue is solved we also need a
> place to review/modify the per-document option. I suggest the Page >
> Properties dialog, perhaps under Margins.

Use T>O>D>G for new documents and take the values into Format > Page where it can be managed per document.
Comment 11 QA Administrators 2021-10-17 03:54:49 UTC Comment hidden (obsolete)
Comment 12 Stéphane Guillou (stragu) 2023-04-27 00:01:13 UTC
*** Bug 154201 has been marked as a duplicate of this bug. ***
Comment 13 Stéphane Guillou (stragu) 2023-04-27 00:01:44 UTC
Still an issue in:

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 5cd9de202765e243e41416802f3e4486b8a96f16
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded