You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2022/01/21 06:38:55 UTC

[Bug 65829] New: formula cell overprints when updating dependent cells

https://bz.apache.org/bugzilla/show_bug.cgi?id=65829

            Bug ID: 65829
           Summary: formula cell overprints when updating dependent cells
           Product: POI
           Version: 5.2.0-FINAL
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSSF
          Assignee: dev@poi.apache.org
          Reporter: leroy.erwann@gmail.com
  Target Milestone: ---

Created attachment 38172
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=38172&action=edit
cells overprints

Hi,

I use apache poi tu generate an xlsx file.
When I open this file with Excel, a strange behaviour appears.

I have a cell containing a formula.
The formula references others cells in the same sheet.

When I update these other cells, the formula updates itself, but overprints the
new value on the previous.

If I change sheet or scroll in order to not see anymire the cell and then
returns, the cell display correctly.

If I copy paste the sheet in a new Excel file, the problem disappears.

So I think there is a bug in the generated file from Apache POI.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 65829] formula cell overprints when updating dependent cells

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65829

--- Comment #2 from Erwann <le...@gmail.com> ---
It seems that playing with borders makes appear displaying bugs.
When I removed all the borders, I have no more problem like overprint.

According to sheets creation order in the workbook, borders appear or not.
It is very strange.

To avoid some bugs, I do not use anymore RegionUtil to create borders on a
range.
In place of, I set border style on each cell ... and it' boring but it works
better.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 65829] formula cell overprints when updating dependent cells

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65829

PJ Fanning <fa...@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
                 OS|                            |All

--- Comment #1 from PJ Fanning <fa...@yahoo.com> ---
Can you provide a reproducible test case?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org