Issue 48722 - Can't select/edit a text object by clicking on it.
Summary: Can't select/edit a text object by clicking on it.
Alias: None
Product: Impress
Classification: Application
Component: editing (show other issues)
Version: OOo 2.0 Beta
Hardware: All Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2005-05-04 18:28 UTC by fbermejo
Modified: 2017-05-20 10:55 UTC (History)
1 user (show)

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

Click on the smaller text object in the attached file (10.02 KB, application/vnd.sun.xml.impress)
2005-05-04 18:30 UTC, fbermejo
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description fbermejo 2005-05-04 18:28:47 UTC
A text object is not selected if you click on its text. It happens when the text
object has centered alignment, and is placed within the area occupied by another
text object.
Comment 1 fbermejo 2005-05-04 18:30:54 UTC
Created attachment 25793 [details]
Click on the smaller text object in the attached file
Comment 2 wolframgarten 2005-05-09 08:28:11 UTC
Comment 3 christian.guenther 2005-05-10 14:12:05 UTC
Set to new and change the target.
Comment 4 christian.guenther 2005-05-10 14:15:03 UTC
I can reproduce te bug.
I don't know if this is the area of cl or hbrinkm.
Please have a look
Comment 5 groucho266 2005-05-24 16:18:10 UTC
Comment 6 groucho266 2005-06-07 09:18:11 UTC
This looks like a problem of the edit engine.  What I have found out so far is
that during our hit test the EditEnginge::IsTextPos() method is called.  This
does return a wrong value when the text shape is
a) geometrically inside another text shape,
b) in the stacking order beneath that other text shape, and
c) the text is centered.

For example when I move the inner text shape (that which makes the problems) so
that a part is in and another part is outside the other, outer text shape then
while the mouse is located over the outer part everything is OK: IsTextPos()
returns sal_True.  As soon as I move the mouse over the border of the outer text
shape (while still staying inside the inner) then IsTextPos() returns sal_False. 
When the text is set flush left then IsTextPos() returns sal_True in both cases.
Comment 7 openoffice 2005-08-03 11:57:18 UTC
Comment 8 wolframgarten 2005-08-08 10:07:49 UTC
Changed target due to FMEs wish.
Comment 9 Marcus 2017-05-20 10:55:37 UTC
Reset assigne to the default "".