Created attachment 115301 [details] Jpg snipped screen Using CALC, by applying a conditioned format the result is the opposite of what is required (see the attachment: the condition is "red background" if cell value is greater than 12, the cell F65 contains the value -15, but the background is red). To get what wished I have to use the condition "less than."
Hello , 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.) I can not confirm with LO 4.4.2, win7.
gmarco: also, could you give a try to last LO version? Indeed, even if there's a bug in 4.3.7, since 4.3 branch is EOL (there won't be official 4.3.8), there won't be any fix on this branch.
Created attachment 115323 [details] snipped before saving the file The sample.xls (go to http://1drv.ms/1GWdqVq) shows what I am getting. (NOTE: I used the link as here I cannot attach the xls file) But there is something really unusual: before saving the file, I see only one style ("sfondo rosso"), that is applied to the cells; after saving, re-opening the file, there arebefore saving the file, I see only one style ("red background"), that is applied to the cells; after saving, re-opening the file, there are other 6 styles applied to each conditioned cell. Here I attach the first snipped jpg (before_saving). After this I'll attach the second jpg (after_reopening).
Created attachment 115324 [details] snipped after reopening the file
Errata corrige: But there is something really unusual: before saving the file, I see only one style ("sfondo rosso"), that is applied to the cells; after saving, re-opening the file, there are other 6 styles applied to each conditioned cell.
gmarco: thank you for your feedback. For the test, could you give a try to LO 4.4.2? (please rename your LO directory profile, see https://wiki.documentfoundation.org/UserProfile#Windows, before testing). Obviously, the goal is to know if it can be reproduce with last LO version and a clean LO profile.
Hi Julien, I have not yet tried LO 4.4.2 as I recently (may 02) updated to 4.3.7_Win_x86 alike I was requested opening LO, but if this is really important I'll do: let me know. I resetted instead my LO user profile renaming the previous (Windows8_OS\Users\GM\AppData\Roaming\LibreOffice\4\user renamed userold, then, opening SAMPLE.xls nothing has changed. I confirm all that I said on previous append and also please note that after reopening, cells B8, B14, C20 has a different "character style" (look at "after_reopening" attachment). I tried too: saving the original xls as ods, reopening the ods nothing has changed, styles also (from formato-stili e formattazione) are the same without any new added (remember my previous append "after saving, re-opening the file, there are other 6 styles applied to each conditioned cell" as you can see in "after reopening" image).
Created attachment 115400 [details] test file xlsx
I downloaded your file (it's xlsx). With LO 4.4.2 I see all styles. After save as xlsx and reopen, the file look the same as before. Please try with LO 4.4 and let us know if you still observe the problem.
Created attachment 115430 [details] new test 1
Created attachment 115431 [details] new test 2a
Created attachment 115432 [details] new test 2b (see comments) Hi Julien and Raal I'll try to update 442 asap but actually look at this. Let we try to fly over the initial case that occurs on a spreadsheet migrated from MS Excel, it still is so, it is difficult to reproduce, but I cannot find a way to correct it. Trying and trying again i believe I have identified some states of apparent anomaly, easily reproducible (I can reproduce them at infinity), on which you should be able to investigate. Explaining fully in english (which is not my native language) is for me a little complicated but I'll try to. 1) Create a new sheet and enter the values and formulas (A1 =230, A2 =225, A3 =A1-A2), copy col.A into col.B, creates a style and apply the conditional formatting ("Format-Conditional Formatting") on A3 (if = 5), do the same thing with B3; now you can try and try to change the conditions in B3 and A3 and the result will be always correct. 1a) creates a new sheet as above, applies the conditional formatting on A3 and then copy it on B3 using "Copy - Paste special-formats" as exemplified in the help '"https://help.libreoffice.org/Calc/Applying_Conditional_Formatting" Step 5: Copy Cell Style'; now try to change the condition in B3 (if = 0), you will notice that the result is not changed (see attached case1a.jpg) and, continuing to change the condition of B3, the result will be always remain until you change the condition of A3 (it is sufficient to open the window of "Conditional Formatting" and, even without changing anything, clicking OK). 2) Create a new sheet and enter the values and formulas (A1 =230, A2 =225, A3 =A1-A2), copy A1/A3 to A5/A7 and A9/A11 then copy col.A into col.B and col.C, creates a style and apply the conditional formatting ("Format-Conditional Formatting") on A3 (if = 5) and copy it ("Copy - Paste special-formats") on B3 D3 A7 B7 D7 A11 B11 D11; go to "Conditional Formatting-Manage Conditional Formatting" and the window shows only A3 A7 A11 B3 (see attached case2a.jpg). Now, trying to change the condition of C3, a warning window will appear (see attached case2b.jpg) that does not appear if you change the condition of B3 (these are only examples, you can prove this even with other cells); however the result in B3 does not change (as already seen at point 1a). I show that in help "https://help.libreoffice.org/Calc/Conditional_Formatting" there is an incomprehensible statement "Conditional Formatting - Choose Conditional Formatting to define format styles depending on certain conditions. If a style was already assigned to a cell, it remains unchanged. .... ": I can't understand what it means, it would seem a false statement (see my test point 1) but it could hide some limitation mal implied that would otherwise better clarified. I hope that you will be able to reproduce the above and find the explanation, it could be the cause of other faults: if it is a bug it should be fixed, if it is intentional it should be highlighted more thoroughly and completely. Let me ask you also a curiosity: I frequently used in MS Excel the conditional formatting, there it is much less cumbersome and I never had any problems, is there a reason? Finally, at the margin, I show an error translation in the help (both internet and online): https://help.libreoffice.org/calc/applying_conditional_formatting" Step 5: Copy Cell Style "To apply the conditional formatting to other cells later: 1.Click one of the cells that has been assigned conditional formatting. ...... " was incorrectly translated "1.Fate clic su una delle celle a cui deve essere applicata la formattazione condizionata." the correct translation is "1.Fate clic su una delle celle a cui รจ stata applicata la formattazione condizionata."
I just updated to 4.4.3.2 but nothing has changed, for that I confirm all what I have exposed since my first append. The initial sheet migrated from MS Excel still shows the wished format if I apply the opposite condition <to Raal with regard of SAMPLE.xls: the file in my harddisk is surely xls, loadin it to OneDrive has been changed as xlsx (???)>. Last tests (my previous append) show too the same anomalies exposed. Thanks for your support, awaiting for news.
Referring to my comment 12 >> 1a) creates a new sheet as above, applies the conditional formatting on A3 and then copy it on B3 using "Copy - Paste special-formats" ....<< and attached case1a.jpg I further notice that, saving the file (as xls) in the wrong state and reopening it, the cell B3 too displays now correctly.
(In reply to raal from comment #9) > I downloaded your file (it's xlsx). With LO 4.4.2 I see all styles. After > save as xlsx and reopen, the file look the same as before. Please try with > LO 4.4 and let us know if you still observe the problem. Hello to anyone who can explain the anomaly. Look at http://1drv.ms/1ItiIbk : there you find two files (they are identical, the .bin is the same of the other original .xls which I renamed the extension, if you download it and rename the extension to .xls you'll get exactly what I have on my harddisk). Opening it in LOcalc you'll see cells F53-54-66-67 having a conditioned format resulting the opposite of what should be. I don't know and cannot understand how it was happened at the beginning, but so it is now! All the cells above are conditioned "if not between -12/+12" but for example, cell F54 (containing the value -7) is "red" while it should not be; changing the condition the problem remains: set the condition "if = -7" and check the result, if you want that cell "red" highlighted, you have to set "if not=". Well, by saving and reopening the file the anomaly remains unchanged. The only way to resolve the issue is to reset all conditions and set ex-novo style and formatted conditions. Thanks to anyone who has an answer.
Created attachment 115508 [details] same bin on 1drive (see previous comment) The .bin here attached is the same you can find on 1drive. Renaming it as .xls you get the original sheet like that I have on my harddisk.
** Please read this message in its entirety before responding ** 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 on a currently supported version of LibreOffice (5.1.5 or 5.2.1 https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System 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) http://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: http://webchat.freenode.net/?channels=libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug-20160920
LO 5.2.1.2 Win10 nothing has changed. Following on my comment 12: A - items 1) and 2) are the same already in Bug 91229 and 91312 (nothing has changed, see there) B - << I show that in help "https://help.libreoffice.org/Calc/Conditional_Formatting" there is an incomprehensible statement "Conditional Formatting - Choose Conditional Formatting to define format styles depending on certain conditions. If a style was already assigned to a cell, it remains unchanged. .... ": I can't understand what it means, it would seem a false statement (see my test point 1) but it could hide some limitation mal implied that would otherwise better clarified. >> nothing has changed (see new attachment "Bug91070-help_cond_form.JPG") Following on my comment 15: nothing has changed the link to OneDrive is no more available, but you can download the attachment 115508 [details], then renaming its extension from .bin to .xls you get the original sheet like that I have on my harddisk.
Created attachment 127529 [details] screenshot of the help
Why this bug is assigned to myself?
(In reply to gmarco from comment #20) > Why this bug is assigned to myself? Because you did it at 2015-05-07 17:56:58 UTC (see https://bugs.documentfoundation.org/show_activity.cgi?id=91070) Of course you can just unassign yourself if you want to
(In reply to Julien Nabet from comment #21) > (In reply to gmarco from comment #20) > > Why this bug is assigned to myself? > > Because you did it at 2015-05-07 17:56:58 UTC (see > https://bugs.documentfoundation.org/show_activity.cgi?id=91070) > Of course you can just unassign yourself if you want to OK, thanks, but I do not know how and why this happened. I can not fix the bug, so I think corrected unassign myself.
(In reply to gmarco from comment #22) > (In reply to Julien Nabet from comment #21) > > Because you did it at 2015-05-07 17:56:58 UTC (see > > https://bugs.documentfoundation.org/show_activity.cgi?id=91070) > > Of course you can just unassign yourself if you want to > > OK, thanks, but I do not know how and why this happened. > I can not fix the bug, so I think corrected unassign myself. This happens if on the attachment adding screen you check "take bug and set the bug status to" and set a status there. It's confusing, because it's possible to update the bug status there, but with this step you also assign the bug to yourself. Additionally, this bug was never confirmed independently, returning status to UNCONFIRMED.
(In reply to Aron Budea from comment #23) > (In reply to gmarco from comment #22) > > (In reply to Julien Nabet from comment #21) > > > Because you did it at 2015-05-07 17:56:58 UTC (see > > > https://bugs.documentfoundation.org/show_activity.cgi?id=91070) > > > Of course you can just unassign yourself if you want to > > > > OK, thanks, but I do not know how and why this happened. > > I can not fix the bug, so I think corrected unassign myself. > > This happens if on the attachment adding screen you check "take bug and set > the bug status to" and set a status there. It's confusing, because it's > possible to update the bug status there, but with this step you also assign > the bug to yourself. > > Additionally, this bug was never confirmed independently, returning status > to UNCONFIRMED. Oooh! more and more confusing !!! I can confirm that nothing has changed post my comment 19
(In reply to gmarco from comment #16) > Created attachment 115508 [details] > same bin on 1drive (see previous comment) > > The .bin here attached is the same you can find on 1drive. > Renaming it as .xls you get the original sheet like that I have on my > harddisk. I saved it to .ods. Below are XML snippets from the content.xml. Note that the color #ff9999 is the red we see in for example F54. Cell 53: <table:table-cell table:style-name="ce18" table:formula="of:=[.C38]-[.C39]" office:value-type="float" office:value="-15" calcext:value-type="float"> <text:p>-15,00</text:p> </table:table-cell> The cell style of F53: <style:style style:name="ce18" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="N2"> <style:table-cell-properties style:glyph-orientation-vertical="0" fo:background-color="#ff9999" style:cell-protect="protected" style:print-content="true" style:diagonal-bl-tr="none" style:diagonal-tl-br="none" style:text-align-source="value-type" style:repeat-content="false" fo:wrap-option="no-wrap" fo:border="none" style:direction="ltr" fo:padding="0.71mm" style:rotation-angle="0" style:rotation-align="none" style:shrink-to-fit="false" style:vertical-align="automatic" loext:vertical-justify="auto" /> <style:paragraph-properties css3t:text-justify="auto" fo:margin-left="0mm" style:writing-mode="page" /> <style:text-properties fo:color="#000000" style:text-outline="false" style:text-line-through-style="none" style:text-line-through-type="none" style:font-name="Courier New" fo:font-size="10pt" fo:font-style="normal" fo:text-shadow="none" style:text-underline-style="none" fo:font-weight="normal" style:font-size-asian="10pt" style:font-style-asian="normal" style:font-weight-asian="normal" style:font-name-complex="Courier New" style:font-size-complex="10pt" style:font-style-complex="normal" style:font-weight-complex="normal" /> <style:map style:condition="cell-content-is-not-between(-12,+12)" style:apply-style-name="Excel_5f_CondFormat_5f_1_5f_2_5f_1" style:base-cell-address="'RIEPIL.'.F53" /> </style:style> Row 54: <table:table-cell table:style-name="ce19" table:formula="of:=[.C41]-[.C42]" office:value-type="float" office:value="-7" calcext:value-type="float"> <text:p>-7,00</text:p> </table:table-cell> Cell style of F54 is the same as F53, except the style to be applied by condition is Excel_5f_CondFormat_5f_1_5f_1_5f_1 I don't know what the problem is, but I thought to save some digging time..
@gmarco please retest with latest LibO 5.3.3.2
(In reply to tommy27 from comment #26) > @gmarco > please retest with latest LibO 5.3.3.2 Hi Tommy, opening LO I'm still suggested to download 5.2.6
(In reply to gmarco from comment #27) > (In reply to tommy27 from comment #26) > > @gmarco > > please retest with latest LibO 5.3.3.2 > > Hi Tommy, opening LO I'm still suggested to download 5.2.6 LO only proposes version of the same branch. I don't understand why 5.2.7 isn't proposed but no version of a more recent branch will be proposed. The most simple is still to uninstall your current one, download 5.3.3 and install this last one.
(In reply to Julien Nabet & Tommaso) I too do not understand but so it is! However, without the need to uninstall the current one, I installed 5.3.3.2 and tried the bug, but absolutely nothing has changed (see the new attachments): as from my comment #15 cells F53-54-66-67 have a conditioned format resulting the opposite of what should be. All those cells are conditioned "if not between -12/+12" but for example, cell F54 (containing the value -7) is "red" while it should not be; changing the condition the problem remains: set the condition "if = -7" and check the result, it would become "not red" instead remains "red"; if you want that cell correctly "red" highlighted, you have to set "if not=". I also tried to save the XLS file as ODS and reopen it: it does not change anything. I also do not understand why, after two years, the bug is still UNCONFIRMED, maybe someone gets a different result from mine? The file (XX-mysampletest.bin) is at your disposal since 2015-05-11 (see my comment #16: The .bin here attached ..... Renaming it as .xls you get the original sheet like that I have on my harddisk), just download it, rename it, open it ... and check it out.
Created attachment 133325 [details] xls test in 5.3.3.2 xls test in 5.3.3.2
Created attachment 133326 [details] ods test in 5.3.3.2 ods test in 5.3.3.2
I must recognize I don't understand how these styles work. Indeed, I opened style "Excel_CondFormat_1_1_1", I don't see "red" color in font effect. I used it on a cell directly (without using cond format), it doesn't put cell in red. Then, i clear direct format on F54 and tried to put again the same cond format, it's doesn't work at all. I uncc myself since won't be able to help here.
(In reply to Julien Nabet from comment #32) > I must recognize I don't understand how these styles work. I don't understand if anyone has succeeded in reproducing the case that I can reproduce repeatedly. I did not even know if Buovjaga (comment #25) found something. > I uncc myself since won't be able to help here. Certainly it's an anomaly, but how can it be resolved?
Created attachment 135131 [details] Modifyed sample file Opening with 5.4. I see the six 'ConditionalStyle_N', what seems equals, but I don't if excel allow direct formats on the CF. I think it's only a matter of direct format on the cells, copying to rows 24 to 32 with format to preserve the cf and deleting the CF for B8;B14;B20;C8;C14;C20, all of this cells now without CF are red background, which is a direct format on the cells. Clearing direct formatting for B8;B14;B20;C8;C14;C20 an applying a conditional format GreenBackground between -12 and 12, I think it works just fine.
I have just seen that styles on CF are saved as 'ConditionalStyle_N' (xlsx), I want to guess it's a compatibility matter not an issue.
I showed this to Markus and he commented: "I just don't understand what the bug reporter wants? at least opening the file I see a conditional format with if value is between -12 and +12 and that seems to work just fine"
Sorry, I will close this per discussion with Markus. This report has become too much a wandering investigation. If you can describe the problem crystal clearly now, please open a new report. You can CC me to it.
(In reply to Buovjaga from comment #37) > Sorry, I will close this per discussion with Markus. > > This report has become too much a wandering investigation. If you can > describe the problem crystal clearly now, please open a new report. You can > CC me to it. To add to this. Add a detailed instruction to the bug report with steps that are idiot proof. What do you expect and why? Keep in mind that as a developer we look differently at this report than a user or QA (e.g. I checked the XLS file with a binary XLS inspection tool). Having detailed steps helps us quickly judge if a report is worth further inspection with additional tools or if other bugs (regressions) are more important right now. Normally the time that is required to understand a bug report is directly proportional to the change of the bug being fixed.