Bug 92535 - FORMATTING: align text vertically in a table doesn't work if text grid of the page style is enabled
Summary: FORMATTING: align text vertically in a table doesn't work if text grid of the...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:5.1.0
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-04 02:17 UTC by Mark Hung
Modified: 2016-09-16 01:55 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Case illustration. (10.58 KB, application/vnd.oasis.opendocument.text)
2015-07-04 02:17 UTC, Mark Hung
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Hung 2015-07-04 02:17:35 UTC
Created attachment 117039 [details]
Case illustration.

Steps to reproduce:
1. Create a new document. 
2. Edit the page style. In text grid tab, set Grid to "Grid (Lines Only)".
3. Insert a table, put some text in the table.
4. Enlarge the row height so that it is easier to observe the alignment.
5. Select the cell and set it to align to center vertically.
6. Select the paragraph and turn off "snap to grid" doesn't work.

Expectation:
When text grid is enabled, the text should be placed to the closest grid line. In this case, it should be one of the grid line around the cell center in the table.
Comment 1 Buovjaga 2015-07-04 11:26:12 UTC
Confirmed.

Win 7 Pro 64-bit Version: 5.1.0.0.alpha1+ (x64)
Build ID: 8b788891796ff0571f779cdbe8ce809c35c42754
TinderBox: Win-x86_64@62-TDF, Branch:MASTER, Time: 2015-07-02_23:09:27
Locale: fi-FI (fi_FI)
Comment 2 Mark Hung 2015-07-09 23:48:23 UTC
Also related to tdf#88752.
Comment 3 Commit Notification 2015-08-16 17:08:17 UTC
Mark Hung committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=7e383cb50c6020b86ac7857ece8a6273b7eb1a5e

Fix tdf#87889 and tdf#92535, vertical align issue when docgrid enable.

It will be available in 5.1.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.
Comment 4 Xisco Faulí 2016-09-15 22:11:43 UTC
Hello,
Is this bug fixed?
If so, could you please close it as RESOLVED FIXED?