Will attach a spreadsheet There are some ranges with times (HH:MM:SS) 1 – Select from D6 to D2 (bottom to top) > notice that the sum restarts counting at 24 2 – Select from H5 to H2 (bottom to top) > notice that the sum continues to count above 24 Interesting :) = = = Note! I thought this could be related to the fact that counting columns of time cells with SUM() sometimes restarts at 24, and sometimes just totals.. I've seen this effect for over 10 year now, but never fiddled out what made the difference. Alas I see no way how the now reported bug, influences that.. = = =
Created attachment 160178 [details] test document with explanation
Created attachment 160179 [details] two screen shots
this is somehow related to bug 57840 However I think the situation is more specified and indeed represents unexpected behavior
Confirmed Version: 7.0.0.0.alpha0+ (x64) Build ID: 7459b9ecb54a298f02d19089620149718f8d8d48 CPU threads: 4; OS: Windows 10.0 Build 19608; UI render: Skia/Raster; VCL: win; Locale: es-ES (es_ES); UI-Language: en-US Calc: CL
Dear Cor Nouws, 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
still an issue in Version: 7.4.0.0.alpha0+ / LibreOffice Community Build ID: 69f412459257398a7d779541dad95aa7227a5e74 CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3 Locale: nl-NL (en_US.UTF-8); UI: nl-NL Calc: threaded @Eike - could be an interesting one :) ?
It depends on the format of the currently active cell, which is used to display the result. D2, D6 and F2 (and D8,F8) have HH:MM:SS format, others have [HH]:MM:SS format. For time we maybe could detect >=24 hours and then always use [HH]:MM:SS
(In reply to Eike Rathke from comment #7) > It depends on the format of the currently active cell, which is used to > display the result. D2, D6 and F2 (and D8,F8) have HH:MM:SS format, others > have [HH]:MM:SS format. So simple :) > For time we maybe could detect >=24 hours and then always use [HH]:MM:SS Sounds good. I'll dive into this, since I think to remember that counting times >=24 hours in a sheet is not always predictable too, while keeping the formatting of the cells in mind..
Eike Rathke committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/23689e492feb41a391738586cef04ab82cc21f80 Resolves: tdf#132582 Display duration for calculated time values selection It will be available in 7.4.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.
Pending review https://gerrit.libreoffice.org/c/core/+/134069 for 7-3
Eike Rathke committed a patch related to this issue. It has been pushed to "libreoffice-7-3": https://git.libreoffice.org/core/commit/8b6ce0459302580a616c657f6aff19e41660dcdf Resolves: tdf#132582 Display duration for calculated time values selection It will be available in 7.3.4. 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.
Verified in Version: 7.4.0.0.alpha1+ / LibreOffice Community Build ID: fc2716740bd513154ae4ab5404d9c575678172e0 CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3 Locale: nl-NL (en_US.UTF-8); UI: nl-NL Calc: threaded Status bar now shows sum in total hours thanks Eike! (In reply to Cor Nouws from comment #8) > I'll dive into this, since I think to remember that counting times >=24 > hours in a sheet is not always predictable too, while keeping the formatting > of the cells in mind.. Found an older example. With the SUM formula and a sum > 24 hours. With formatting code UU:MM that still restarts counting at every 24. With formatting code [UU]:MM it shows the number => 24. Is that expected?
(In reply to Cor Nouws from comment #12) > Found an older example. With the SUM formula and a sum > 24 hours. > With formatting code UU:MM that still restarts counting at every 24. > With formatting code [UU]:MM it shows the number => 24. > > Is that expected? (happy of course to open separate report)
(In reply to Cor Nouws from comment #12) > Found an older example. With the SUM formula and a sum > 24 hours. > With formatting code UU:MM that still restarts counting at every 24. > With formatting code [UU]:MM it shows the number => 24. If you are talking about using SUM() as cell function then that is expected, HH:MM displays wall clock time, wrapping to 0 at 24h. Though we should be able to detect that for simple cases like a newly entered SUM() in a so far unformatted cell and apply the [HH]:MM format automatically instead of HH:MM. We do that already for the + and - operators under some circumstances, for functions it may just be lacking propagation. Please create a new bug for this.