Issue 42323 - Painting OLE objects is pain(t)fully slow
Summary: Painting OLE objects is pain(t)fully slow
Status: CLOSED FIXED
Alias: None
Product: Draw
Classification: Application
Component: code (show other issues)
Version: 680m76
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: wolframgarten
QA Contact: issues@graphics
URL:
Keywords:
: 43479 (view as issue list)
Depends on:
Blocks:
 
Reported: 2005-02-09 13:01 UTC by Mathias_Bauer
Modified: 2005-03-14 14:07 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
documents with GDI metafiles as graphic objects (46.63 KB, application/vnd.sun.xml.calc)
2005-02-09 13:07 UTC, Mathias_Bauer
no flags Details
documents with GDI metafiles as replacements for OLE objects (23.76 KB, application/vnd.sun.xml.calc)
2005-02-09 13:07 UTC, Mathias_Bauer
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Mathias_Bauer 2005-02-09 13:01:54 UTC
Load the attached document doc1.sxc and scroll up and down. It contains OLE
objects that are drawn by painting their metafiles.

doc2.sxc contains the same metafiles, but inserted as graphics. Scrolling is
very fast here.

The difference is that in doc1 the metafiles are drawn in buffered mode, in doc2
not. I talked with HDU and from what he proposed I don't believe that the
buffering can be accelerated enough to make the scrolling acceptable in that
mode. Currently it's close to be a showstopper IMHO.

So IMHO the buffering should be removed for DrawOLEObjects (and their
counterparts in Writer I assume).
Comment 1 Mathias_Bauer 2005-02-09 13:07:12 UTC
Created attachment 22373 [details]
documents with GDI metafiles as graphic objects
Comment 2 Mathias_Bauer 2005-02-09 13:07:54 UTC
Created attachment 22374 [details]
documents with GDI metafiles as replacements for OLE objects
Comment 3 Armin Le Grand 2005-02-14 17:39:17 UTC
AW: After the reason for #114233# is gone (now always metafiles get painted),
that buffering can be removed again. Problem was more to find a m76/m77 version
where i could add a chart at all. Adding sw now.
Comment 4 Armin Le Grand 2005-02-14 19:32:59 UTC
AW: sw added. Doing changes to DrawingLayer. Checking them. Looking for the old
buffering change in SW.
Comment 5 Armin Le Grand 2005-02-14 21:11:48 UTC
AW: Found change in SW, changing, too. Tested both thoroughly, works. Checking in.
Comment 6 Armin Le Grand 2005-02-15 14:17:03 UTC
AW: Okay, done.
Comment 7 Armin Le Grand 2005-03-03 14:38:36 UTC
AW->WG: Please verify. Both example files should now scroll the same speed.

re-open issue and reassign to wg@openoffice.org
Comment 8 Armin Le Grand 2005-03-03 14:38:40 UTC
reassign to wg@openoffice.org
Comment 9 Armin Le Grand 2005-03-03 14:38:48 UTC
reset resolution to FIXED
Comment 10 Armin Le Grand 2005-03-03 15:37:56 UTC
*** Issue 43479 has been marked as a duplicate of this issue. ***
Comment 11 kla 2005-03-04 08:29:52 UTC
*** Issue 43479 has been marked as a duplicate of this issue. ***
Comment 12 wolframgarten 2005-03-04 08:45:01 UTC
Verified in CWS.
Comment 13 wolframgarten 2005-03-14 14:07:59 UTC
Tested in master. Closed.