Bug 164730 - Wrong month in AutoFill's tooltip
Summary: Wrong month in AutoFill's tooltip
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
24.2.7.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: AutoFill
  Show dependency treegraph
 
Reported: 2025-01-16 15:13 UTC by fcoj.mado
Modified: 2025-02-04 12:56 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot illustrating the problem, i.e. the preview label is generated using an un-reversed order. (476.47 KB, image/png)
2025-01-16 18:43 UTC, Charles Williams
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fcoj.mado 2025-01-16 15:13:17 UTC
Description:
When I start a descending series of months, AutoFill shows the wrong one even if it fills with the correct one.

Steps to Reproduce:
1. insert in cell A1 the value December
2. insert in cell A2 the value November
3. select both cells
4. drag the fill handle in the bottom right corner of the cell across the cells that you want to fill

Actual Results:
The yellow preview cell that appear with the name of the month, reports the wrong one (September instead of January). The preview value is based on an ascending pattern instead of on a descending one.

Expected Results:
If you drag the fill handle down to A12 cell, it should report January instead of September like in the preview. When you release mouse button, the names auto-filled are correct.


Reproducible: Always


User Profile Reset: No

Additional Info:
I have two picture that show clearly and easily the problem, but there is no way to upload them.
Comment 1 Xisco Faulí 2025-01-16 15:35:31 UTC
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. 
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
(Please note that the attachment will be public, remove any sensitive information before attaching it. 
See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.)
Comment 2 Charles Williams 2025-01-16 18:43:58 UTC
Created attachment 198589 [details]
Screenshot illustrating the problem, i.e. the preview label is generated using an un-reversed order.
Comment 3 Charles Williams 2025-01-16 18:45:40 UTC
Confirmed on macOS using

Version: 24.8.4.2 (AARCH64) / LibreOffice Community
Build ID: bb3cfa12c7b1bf994ecc5649a80400d06cd71002
CPU threads: 8; OS: macOS 15.2; UI render: default; VCL: osx
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded

@Xisco - the 'Sample document' is a blank spreadsheet.
Comment 4 Xisco Faulí 2025-01-16 19:13:11 UTC
Oh, I see the problem is in the tooltip shown while dragging down

Reproduced in

Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: db6a6efdc49df054826e9019ebe955282de929a7
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: en-US (es_ES.UTF-8); UI: en-US
Calc: threaded
Comment 5 Xisco Faulí 2025-01-16 19:13:35 UTC
@Eike, I thought you might be interested in this issue
Comment 6 LeroyG 2025-01-16 19:22:11 UTC
Reproducible with:

Version: 24.2.7.2 (X86_64) / LibreOffice Community
Build ID: ee3885777aa7032db5a9b65deec9457448a91162
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: es-MX (es_ES); UI: en-US
Calc: CL threaded
Comment 7 LeroyG 2025-02-04 12:56:23 UTC
With version 6.4.7.2 there is no inverse order fill for months or days.