Bug 106614 - "Snap to characters" in effect in square page mode
Summary: "Snap to characters" in effect in square page mode
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.3.0 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Text-Grid
  Show dependency treegraph
 
Reported: 2017-03-18 02:06 UTC by Mark Hung
Modified: 2022-10-15 15:19 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Test case that has text grid enabled ( use square page mode). (10.74 KB, application/vnd.oasis.opendocument.text)
2017-03-18 02:06 UTC, Mark Hung
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Hung 2017-03-18 02:06:10 UTC
Created attachment 131977 [details]
Test case that has text grid enabled ( use square page mode).

Steps to reproduce:
1. Open attached file, Characters are in the center of the grid cells.
2. Uncheck "Use square page mode for text grid" from Tools/Options/LibreOffice Writer/General. 

3. Edit page style, uncheck "Snap to characters" in "Text Grid" tab. Now characters are attached to the left border of the grid cells.

4. Check "Use square page mode for text grid" from Tools/Options/LibreOffice Writer/General. Characters are still attached to the left border of the grid cells.

5. Save and reload the document, Characters are in the center of the grid cells

Expectation:
Once we checked "Use square page mode for text grid" in step 4, "Snap to characters" checkbox is either hidden or disabled. The option should have been no longer in effect. The result of save and reload is inconsistent in step 5.
Comment 1 Mark Hung 2017-03-18 02:10:03 UTC
In both 

LibreOffice 3.3.0 (Portable version)
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4

and

版本:5.3.0.3
組建 ID:7074905676c47b82bbcfbea1aeefc84afe1c50e1
CPU 執行緒:8; OS 版本:Windows 6.2; UI 算繪:預設; 介面配置引擎:新式; 
語言地區:zh-TW (zh_TW); Calc: single

Maybe inherited from OO.
Comment 2 Xisco Faulí 2017-03-19 11:53:19 UTC
Confirmed in

Version: 5.4.0.0.alpha0+
Build ID: d3b5bd4a07a619db6bee1c39c32280ac3c620532
CPU threads: 4; OS: Linux 4.8; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group(In reply to Mark Hung from comment #0)

> 3. Edit page style, uncheck "Snap to characters" in "Text Grid" tab. Now
> characters are attached to the left border of the grid cells.

In the english version, the option is called 'Snap to text grid' in 'Alignment' tab.
Comment 3 Mark Hung 2017-03-19 11:56:58 UTC
(In reply to Xisco Faulí from comment #2)
> Confirmed in
> 
> Version: 5.4.0.0.alpha0+
> Build ID: d3b5bd4a07a619db6bee1c39c32280ac3c620532
> CPU threads: 4; OS: Linux 4.8; UI render: default; VCL: gtk3; 
> Locale: ca-ES (ca_ES.UTF-8); Calc: group(In reply to Mark Hung from comment
> #0)
> 
> > 3. Edit page style, uncheck "Snap to characters" in "Text Grid" tab. Now
> > characters are attached to the left border of the grid cells.
> 
> In the english version, the option is called 'Snap to text grid' in
> 'Alignment' tab.

It's a different one. The one I meant is
Tools / Options / LibreOffice Writer / General / Use square page mode

If 'Snap to text grid' in alignment tab is unchecked, the paragraph will ignore grid setting.
Comment 4 QA Administrators 2018-03-20 03:35:36 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2020-03-20 02:39:17 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2022-03-21 03:26:37 UTC Comment hidden (obsolete)
Comment 7 Kevin Suo 2022-10-15 15:19:21 UTC
This is still reproducible on 7.3 branch at least.