Bug 159927 - Applied date/time language not detected in insert header/footer dialog
Summary: Applied date/time language not detected in insert header/footer dialog
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Justin L
URL:
Whiteboard: target:24.8.0 target:24.2.3 target:7.6.7
Keywords: implementationError, notBibisectable
Depends on:
Blocks:
 
Reported: 2024-02-27 14:24 UTC by Justin L
Modified: 2024-03-12 07:36 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
dateTime.odp: difficult to change date/time to your own language (26.18 KB, application/vnd.oasis.opendocument.presentation)
2024-02-27 14:24 UTC, Justin L
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin L 2024-02-27 14:24:11 UTC
Created attachment 192825 [details]
dateTime.odp: difficult to change date/time to your own language

When the first master does not contain a date/time object, then the insert header/footer dialog does not detect the language currently applied to the date/time. Instead, it shows the locale language.

So the user sees on the slide the date in some foreign language, but in the dialog sees the result will be in their own language. However, when they press "apply" nothing changes.

Steps to reproduce:
1.) open dateTime.odp. Notice the footer is in the Finnish language.
2.) Insert - Header and Footer. Notice the suggested date/time string in the dialog is in your own language.
3. OPTIONAL: change the format to MMM dd yyyy  (Feb 27 2024)
4.) press "Apply" and the Finnish language remains (even though step 3 is applied)

If you change the language to something else, then it will work.
Comment 1 Justin L 2024-02-27 15:39:11 UTC
proposed fix at https://gerrit.libreoffice.org/c/core/+/164045
Comment 2 Commit Notification 2024-02-27 23:23:17 UTC
Justin Luth committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/62323124f54885c6de4ac4fa38052d380309a5a1

tdf#159927 sd headerfooterdlg: detect existing date/time language

It will be available in 24.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 3 Commit Notification 2024-02-28 02:33:34 UTC
Justin Luth committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/0c643e8afdf8b0b929b603340979e771eeb9fc0b

tdf#159927 unit test for impress date/time language detection

It will be available in 24.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 4 Commit Notification 2024-03-11 12:16:14 UTC
Justin Luth committed a patch related to this issue.
It has been pushed to "libreoffice-24-2":

https://git.libreoffice.org/core/commit/703cc8d674d81573a1e6191a12cec4012cca22f7

tdf#159927 sd headerfooterdlg: detect existing date/time language

It will be available in 24.2.3.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 5 Commit Notification 2024-03-12 07:36:29 UTC
Justin Luth committed a patch related to this issue.
It has been pushed to "libreoffice-7-6":

https://git.libreoffice.org/core/commit/2dd2471290acf4d1229cca7b43719e57242cd59e

tdf#159927 sd headerfooterdlg: detect existing date/time language

It will be available in 7.6.7.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.