Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Can't enter characters in Callouts | ||
---|---|---|---|
Product: | General | Reporter: | amy2008 <amy2008> |
Component: | code | Assignee: | wolframgarten |
Status: | CLOSED FIXED | QA Contact: | issues@framework <issues> |
Severity: | Trivial | ||
Priority: | P3 | CC: | Armin.Le.Grand, issues, ooo.redflag, peter.junge, zhuangyuelin |
Version: | DEV300m52 | Keywords: | regression |
Target Milestone: | OOo 3.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- | ||
Issue Depends on: | |||
Issue Blocks: | 84405 |
Description
amy2008
2009-07-22 02:38:43 UTC
Regresssion It is even more serious - it is not possible to select a Callout shape by clicking into the "empty area". The user is forced to select and double click on the border of the Callout in order to active text input mode. worked fine in OOo 3.1. OD->OS: Please take over. OD->AW: May be you should also have a look. On Double-Click on the callout object the assertion "Error: impBufferDevice render helper: Copying from Window to VDev, this should be avoided (!) From File o:/DEV300/src/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx at Line 74" pops up in DEV300m52. In DEV300m51 this does not happen reassigned to aw Can reproduce it in Spreadsheet too Change the component AW: Looks like the selection handling for callouts has changed with CWS aw065 where i changed HitTest to primitive usage. The former HitTest (which was programmed directly at the model objects, e.g. SdrCaptionObj::CheckHit) may have done special things for special objects. Checking DEV300 m51 code. SdrCaptionObj is constructed calling SdrRectObj(OBJ_TEXT), thus bTextFrame (in SdrTextObj) is true. SdrCaptionObj::CheckHit calls SdrRectObj::CheckHit for the callout's body. There (SdrRectObj::ImpCheckHit) bTextFrame is used to force the HitTest to filled. I will need to add this to the primitive geometry for callouts to correct it. Starting. AW: Reworked SdrCaptionPrimitive2D::createLocalDecomposition to create as HitTestPrimitive the closed body if no fill and the tail if no line. This makes it work as before. Also checked with text objects, it's the same there. The old HitTest was for the full text object area. A rectangle without fill behaves the same. Need to correct the text object, too... AW: Okay, HitTest for callouts and DrawingLayer Text Objects adapted, works again. Checked in, done. AW: Checked in test version, okay. AW->WG: Please review as described. Basic point is that the empty rectangle for callouts and text boxes is now part of the HitTest again (for selection) as was in 3.0 Verified in CWS. |