Bug 75651 - EDITING: Horizontal cell alignment broken in cell with vertical stacked date
Summary: EDITING: Horizontal cell alignment broken in cell with vertical stacked date
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.2.1.1 release
Hardware: Other macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-01 21:43 UTC by icerabbit
Modified: 2015-04-01 14:52 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments
xls file (scrubbed of other month pages, data, etc) showing the problem in A1 (13.00 KB, application/vnd.ms-excel)
2014-03-01 21:43 UTC, icerabbit
Details
Screeen with alignment options. (113.72 KB, image/png)
2014-03-02 17:35 UTC, m.a.riosv
Details
Screenshot of OO 4.2 under OSX 10.9.2 of same file open (169.66 KB, image/jpeg)
2014-03-02 18:31 UTC, icerabbit
Details
Screenshot of new blank Calc file showing left of center centering L0 4.2 OSX 10.9.2 (198.53 KB, image/jpeg)
2014-03-02 22:54 UTC, icerabbit
Details
Another screenshot of the issue, after spacing 0 0 0 0 (144.93 KB, image/jpeg)
2014-03-03 00:14 UTC, icerabbit
Details
Screenshot showing expected alignment under MacOS1068+LOv4303. (36.76 KB, image/tiff)
2014-07-22 10:22 UTC, Owen Genat (retired)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description icerabbit 2014-03-01 21:43:44 UTC
Created attachment 94939 [details]
xls file (scrubbed of other month pages, data, etc) showing the problem in A1

Problem description: 

I have a daily/monthly/annual expense file I have been using for many years, originally in Excel for windows, then in OpenOffice mac.
It is in older xp-2003 compatible format. 
I just opened this file in LibreOffice and it loses its top row height formatting and cell orientation data. It all has gone to default.  
So I try to fix it. 
The top row (1) is 1" high, cell are .25" wide.
This row has the header text rotated 90 deg + centered horizontally.
Cell A1 is slightly different, in that in addition to that it has the date vertically stacked as this:

J
A
N
'
1
4

Except in A1 I cannot get the text centered horizontally.  

That first cell stays off to the left of centered, even if I pick right?  

When I create a new file in LibreOffice the problem is only slightly there, the text is somewhat centered, but visually off to the left. 

>>> I attached the XLS file scrubbed of all data, extra sheets, numbers, identifiable information, ... so it is basically a blank month page with cell A1 acting up. 


Steps to reproduce:
1. Set Document font to Arial 8
2. Set row 1 height to 1" and column width to .25"
3. In A1 type JAN 2014
4. Format Cell
5. Number formatting date:  MMM 'YY
6. Format cell
7. Center horizontally, Middle vertical alignment, Stacked.

Current behavior:
Centered text is off center to the left.

Expected behavior:
True centering. Regardless whether the file is an older XLS, as this file has been working fine cross platform in excel win and open office 3 and 4 for mac. 
              
Operating System: Mac OS X
Version: 4.2.1.1 release
Comment 1 m.a.riosv 2014-03-02 17:35:40 UTC
Created attachment 94973 [details]
Screeen with alignment options.

Hi icerabbit, thanks for reporting.

I can't reproduce with:
Win7x64Ultimate
Version: 4.2.1.1 Build ID: d7dbbd7842e6a58b0f521599204e827654e1fb8b
Comment 2 icerabbit 2014-03-02 18:31:45 UTC
Created attachment 94974 [details]
Screenshot of OO 4.2 under OSX 10.9.2 of same file open

Thank you for looking into it. 
I am attaching a screen grab of how it looks on my system.

Highlighted the top left cell that is not aligned properly.
Picked format cell to show what its settings are ... 

I have not looked into whether other versions or platforms experience the problem.
I know that OO 3.x and 4 did not / do not have a problem with it.
Comment 3 icerabbit 2014-03-02 22:54:13 UTC
Created attachment 94986 [details]
Screenshot of new blank Calc file showing left of center centering L0 4.2 OSX 10.9.2

I also noticed the issue to a small extent in a brand new calc file, make a larger cell, center the text and you'll see that the characters don't quite line up with the A from the cell indication; nor the center of the character typed underneath.

I used some pipe symbols to better show the difference.

It would seem like they're all centered slightly different from each other. 

Not sure in the case with a new file if that has something to do with the font?

But clearly in my submitted XLS file, under LO 4.2 MAC OS X 10.9.2 it is way off. Can't get A1 centered. Can't get A1 right aligned.
Comment 4 Jacques Guilleron 2014-03-02 23:13:05 UTC
Hello icerabbit,

Can you try in Format > Cells > Borders to set Spacing to contents to 0 pt and see if you get the correct alignment?

Thank you,

Jacques
Comment 5 icerabbit 2014-03-03 00:14:51 UTC
Created attachment 94988 [details]
Another screenshot of the issue, after spacing 0 0 0 0

Spacing 0 0 0 0  did not help.

I did a test on D1 and it behaves as expected. 

Did a format paintbrush from D1 to A1 and it brought it to the center???

So, at least I found a solution to my alignment issue with this particular file. 

( It is still off center slightly, like any centered cell in a new document I create )
Comment 6 Owen Genat (retired) 2014-07-22 10:22:57 UTC
Created attachment 103272 [details]
Screenshot showing expected alignment under MacOS1068+LOv4303.

I am unable to reproduce the issue under MacOS 10.6.8 using v4.3.0.3 Build ID: fcd3838c4097f7817b5b3984fd88a44e1edd8548 (x86). Main things to note:

- Font in the example is set to "Arial1" (which does not exist).
- Cell border spacing to content settings in the example are 2.0 pt all around.

Changing these to Arial and 0 pt all around, along with the settings suggested in comment 1 gives the result in the attached. icerabbit please try a newer release and report if the problem persists.
Comment 7 Owen Genat (retired) 2014-07-22 10:23:46 UTC
As per comment 6, status set to NEEDINFO. Please change the status back to UNCONFIRMED once the request information is provided. Thanks. Summary edited for clarity.
Comment 8 QA Administrators 2015-02-19 04:41:07 UTC
Dear Bug Submitter,

This bug has been in NEEDINFO status with no change for at least 6 months. Please provide the requested information as soon as possible and mark the bug as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in NEEDINFO status with no change in 30 days the QA team will close the bug as INVALID due to lack of needed information.

For more information about our NEEDINFO policy please read the wiki located here: 
https://wiki.documentfoundation.org/QA/FDO/NEEDINFO

If you have already provided the requested information, please mark the bug as UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed.


Thank you for helping us make LibreOffice even better for everyone!


Warm Regards,
QA Team

Message generated on: 2015-02-18
Comment 9 QA Administrators 2015-04-01 14:52:21 UTC
Dear Bug Submitter,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INVALID due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

-- The LibreOffice QA Team This NEEDINFO Message was generated on: 2015-04-01

Warm Regards,
QA Team