Bug 131029 - When the time is autofilled, the integer part is incremented
Summary: When the time is autofilled, the integer part is incremented
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: AutoFill
  Show dependency treegraph
 
Reported: 2020-02-29 13:38 UTC by Jun Nogata
Modified: 2024-09-29 03:16 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Reproduction steps (90.47 KB, image/gif)
2020-02-29 13:40 UTC, Jun Nogata
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jun Nogata 2020-02-29 13:38:51 UTC
Description:
When autofilling a cell with a time entered, the integer part is incremented to the wrong value.

Steps to Reproduce:
1. Enter "1:" in cell A1.
2. Drag the autofill handle.(The time display does not change. but, the integer part has been incremented.)
3. Change the number format in the sidebar from time to general.


Actual Results:
The integer part has increased as in the following example.

0.041666666666667
1.04166666666667
2.04166666666667
3.04166666666667
4.04166666666667

or If the number format is time.

01:00:00 AM
02:00:00 AM
03:00:00 AM
04:00:00 AM
05:00:00 AM


Expected Results:
The decimal part increases and the integer part does not change as follows.

0.041666666666667
0.083333333333333
0.125
0.166666666666667
0.208333333333333



Reproducible: Always


User Profile Reset: No



Additional Info:
The time display does not change. So I do not notice.

Version: 6.4.1.2
Build ID: 4d224e95b98b138af42a64d84056446d09082932
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3; 
Locale: en-US (C); UI-Language: en-US
Calc: threaded
Comment 1 Jun Nogata 2020-02-29 13:40:25 UTC
Created attachment 158275 [details]
Reproduction steps
Comment 2 Jun Nogata 2020-02-29 13:44:19 UTC
(In reply to nogajun from comment #0)
> or If the number format is time.
> 
> 01:00:00 AM
> 02:00:00 AM
> 03:00:00 AM
> 04:00:00 AM
> 05:00:00 AM

Sorry, misstake. it part is Expected Results.
Comment 3 Oliver Brinzing 2020-03-01 13:09:12 UTC
reproducible, LO adds 24 hours, while excel adds 1 hour:

LO            Excel
[HH]:MM:SS    HH:MM:SS
01:00:00      01:00:00
25:00:00      02:00:00
49:00:00      03:00:00
Comment 4 QA Administrators 2022-09-29 03:54:34 UTC Comment hidden (obsolete)
Comment 5 Eike Rathke 2022-09-29 15:17:37 UTC
What does Excel do if
a) the format is not HH:MM:SS but MM:SS (but still with the initial 01:00:00 value so the display is 00:00)
b) the format is MM:SS with an initial value of 01:00
c) the value is >=1 which still displays only a time but includes a serial day value
d) the initial value is 01:02:03
Comment 6 Eike Rathke 2022-09-29 15:20:09 UTC
Fwiw, the desired one hour increment can be achieved by entering two cells
01:00:00
02:00:00
then selecting/marking both and pulling down.
Comment 7 QA Administrators 2024-09-29 03:16:40 UTC
Dear Jun Nogata,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

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

Warm Regards,
QA Team

MassPing-UntouchedBug