Bug 99946 - Calendar control shows misaligned day abbreviations (OSX)
Summary: Calendar control shows misaligned day abbreviations (OSX)
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: framework (show other bugs)
Version:
(earliest affected)
5.0.0.4 rc
Hardware: x86-64 (AMD64) macOS (All)
: high major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest, regression
Depends on:
Blocks:
 
Reported: 2016-05-19 08:19 UTC by Alex Thurgood
Modified: 2017-07-06 09:06 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot of date control (16.17 KB, image/png)
2016-05-19 08:19 UTC, Alex Thurgood
Details
Sample db (631.64 KB, application/vnd.oasis.opendocument.database)
2016-05-20 07:12 UTC, Alex Thurgood
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Thurgood 2016-05-19 08:19:06 UTC
Created attachment 125165 [details]
Screenshot of date control

Following on from bug 94645, the abbreviations for the days of the week are supposed to be aligned with the day number array.

In LO 5132 production release EN version, this is not the case. Not only does the date control display the abbreviations from my system locale (fr_FR) which is bug 94645, but additionally, these day abbreviations are no longer aligned with the day number matrix beneath it. See the enclosed screenshot.

Regression
Comment 1 Alex Thurgood 2016-05-19 14:17:31 UTC
Version: 4.4.5.2
Build ID: a22f674fd25a3b6f45bdebf25400ed2adff0ff99
Locale: fr.UTF-8

Displays the correct layout of days across the top of the day number matrix

==>> regression
Comment 2 Alex Thurgood 2016-05-19 14:19:46 UTC
Also correctly laid out in

Version: 5.0.0.2
Build ID: a26d58f11b99b6aeddf7f7884effea188cc6e512
Locale: fr-FR (fr.UTF-8)
Comment 3 Alex Thurgood 2016-05-19 14:21:25 UTC
LO 5005 seems to be the first version where the incorrect display occurs.
Comment 4 Alex Thurgood 2016-05-19 14:51:37 UTC
Bug also present in 

Version: 5.0.0.4
Build ID: cf112dc905650fb985306a7a03d2fe3fcc6c978f
Locale: fr-FR (fr.UTF-8)

setting version to earliest found
Comment 5 Alex Thurgood 2016-05-19 14:53:46 UTC
I've had a trawl through calendar.cxx and the only bits of code that seem to have changed are the OUString and some vcl:fonts stuff. Perhaps one or more of these changes has had a knock on effect ?
Comment 6 Julien Nabet 2016-05-19 20:23:03 UTC
Could you attach an example file?
I use Form controls on Writer, Date field and didn't see this.
Comment 7 Alex Thurgood 2016-05-20 07:08:46 UTC
@Julien : I used the sample db test file from bug 94645
Comment 8 Alex Thurgood 2016-05-20 07:09:35 UTC
The form I opened was called Faelle. It has several calendar controls.
Comment 9 Alex Thurgood 2016-05-20 07:10:08 UTC
Changed title to better reflect control type
Comment 10 Alex Thurgood 2016-05-20 07:12:17 UTC
Ooops, sorry, Julien, I gave you the wrong bug link. Am uploading a db file. Open the form Faelle, you will see it contains several calendar controls.
Comment 11 Alex Thurgood 2016-05-20 07:12:42 UTC
Created attachment 125185 [details]
Sample db
Comment 12 Julien Nabet 2016-05-20 17:37:15 UTC
On pc Debian x86-64 with master sources updated today, I could reproduce tdf#94645 but not this one.
Perhaps MacOs only bug?
Comment 13 Alex Thurgood 2016-05-21 09:08:38 UTC
Yep, still present in 

Version: 5.2.0.0.alpha1+
Build ID: b4c53a6eaeea4cb69244b294e68aa19d4324b0ec
Threads CPU : 2; Version de l'OS :Mac OS X 10.11.4; UI Render : par défaut; 
Locale : fr-FR (fr.UTF-8)
Comment 14 Xisco Faulí 2016-09-13 08:46:27 UTC
Adding keyword 'bibisectRequest'. Probably this can be bibisected with https://gerrit.libreoffice.org/#/admin/projects/bibisect-macosx-64-5.0
Comment 15 Alex Thurgood 2017-07-06 09:06:26 UTC
WFM in

Version: 5.3.4.2
Build ID: f82d347ccc0be322489bf7da61d7e4ad13fe2ff3
Threads CPU : 4; Version de l'OS :Mac OS X 10.12.5; UI Render : par défaut; Moteur de mise en page : nouveau; 
Locale : fr-FR (fr_FR.UTF-8); Calc: group