Issue 100537 - Text placeholder does not disappear when clicking on the area
Summary: Text placeholder does not disappear when clicking on the area
Status: CLOSED FIXED
Alias: None
Product: Impress
Classification: Application
Component: editing (show other issues)
Version: OOO310m7
Hardware: All Windows XP
: P3 Trivial (vote)
Target Milestone: OOo 3.1
Assignee: wolframgarten
QA Contact: issues@graphics
URL:
Keywords: regression
: 100986 (view as issue list)
Depends on:
Blocks: 95768
  Show dependency tree
 
Reported: 2009-03-25 10:24 UTC by cno
Modified: 2009-04-09 14:40 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description cno 2009-03-25 10:24:06 UTC
Text placeholder does not disappear when clicking on the area

To reproduce:
- In a presentation, insert a slide
- In the pane right, choose layout Title-Text
- Click in area "Click to add title"
 > Text "Click to add title" stays, and disappears when you start to type

Expected:
  Text "Click to add title" disappears immediately when clicking 

Using Tab to select a frame and pressing F2 shows the same effect.
Comment 1 cno 2009-03-25 10:39:25 UTC
was OK in 3.0.1
a bit confusing for the more simple users
Comment 2 clippka 2009-04-02 12:43:26 UTC
This is a repaint issue. As soon as the editing text is empty, the contents is
rendered that was there before the editing started. To verify you can add Text
to a title. Then leave text edit and then start editing again and delete the
text completely using backspace. If you than enforce a repaint the original text
will show up again.

This is an annoying regression that makes creating presentations looks flawed, I
would say this is a showstopper
Comment 3 Armin Le Grand 2009-04-03 13:15:09 UTC
AW->CL: Reason is that the current code in the svx helper implementation of
createNewSdrTextAttribute assumes that when GetEditOutlinerParaObject at the
SdrTextObj returns NULL that text edit is not active. That is wrong. In
svx/source/sdr/primitive2d/sdrattributecreator.cxx the line

                        bInEditMode = false;

needs to be replaced with the lines

                        // #i100537#
                        // GetEditOutlinerParaObject() returning no object does
not mean that
                        // text edit mode is not active. Do not reset the flag here
                        // bInEditMode = false;

to fix the problem. Thanks for Your offer to takeover CWS handling!
Comment 4 clippka 2009-04-06 09:32:39 UTC
fixed in cws cltexteditfix 
Comment 5 wolframgarten 2009-04-06 13:03:54 UTC
Target changed.
Comment 6 clippka 2009-04-06 14:42:59 UTC
verified in cws, next step qa
Comment 7 wolframgarten 2009-04-06 15:04:00 UTC
Verified in CWS.
Comment 8 Armin Le Grand 2009-04-09 14:39:30 UTC
*** Issue 100986 has been marked as a duplicate of this issue. ***
Comment 9 Armin Le Grand 2009-04-09 14:40:05 UTC
AW: Closing.