Status: New
Owner: ----
Labels: Type-Bug Milestone-2.0 Milestone-1.4
New issue 6622 by
[hidden email]: Bug when doing Paste in Find &
Replace dialog
http://code.google.com/p/pharo/issues/detail?id=6622Do a find and replace by copy and pasting search and replace terms in the
Find & Replace dialog: doesn't work as expected (or even, do something like
the previous find and replace terms you used instead of the ones you
pasted).
To reproduce (it's important to type / or paste where indicated) :
- Choose a text wherever.
- Do Crtl-F
- In the Find & Replace dialog, type a find term and a replace term
matching something in the chosen text.
- Do Replace
- Now type another search term (present in the text)
- select, copy and paste in the "replace with:" another term.
- Do Replace
-- observe how the pasted replace term isn't applied, but the previous
typed one is.
Explanation
- Paste in the TextMorphForFieldView isn't considered as a key stroke.
KeyStrokes are propagated to whatever is the model; the paste isn't (and
the text field feedback is clearly unaccepted text : orange right up
corner).
- Probably applies to all TextField variants.
- End-user solving is non-obvious : pressing return to force an accept does
something else instead, depending on the dialog.
_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker