https://bugs.documentfoundation.org/show_bug.cgi?id=160440

            Bug ID: 160440
           Summary: Paste as bitmap of a chart is incorrect when source is
                    filtered
           Product: LibreOffice
           Version: 7.6.5.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Chart
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 193413
  --> https://bugs.documentfoundation.org/attachment.cgi?id=193413&action=edit
Example for incorrect copy/paste

Please see the attached spreadsheet. Just do a filter (e.g. to TRUE only) and
then select the chart and anywhere (on the same sheet or LO Writer) paste it as
a bitmap image. You can also paste it in a bitmap handling software like
gnome-paint.
The problem is that the bitmap renders a chart that includes the filtered out
datapoints as well.

Doing more research, I found that:
When the file is saved with the filter on and then the file is loaded (and I
guess the chart is rendered freshly with only the filtered data) then the
filtered chart is copied/pasted properly. If then I touch the filter (e.g.
select all, but also if I just remove the current and add the other value, e.g.
unmark TRUE and mark FALSE), then the chart as an object will always be
correct, but the copied/pasted image will always be with the unfiltered
dataset.

As a side question: Within LO Calc I can choose a paste special as a PNG object
(btw. with the same problems as a BMP). However in LO Writer I can only paste
it as a BMP, not as a PNG. Why is that?

P.S.  I use this approach, so not the whole object is copied to a text
document, but only the image.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to