- Default in Find/Replace
----boundary-LibPST-iamunique-631623002_-_-
Content-type: text/plain
Hello, Alexander!
I made some corrections to my steps-to-reproduce, see below.
RB>> Never do I get more than one button with dotted borders, as in your
RB>> screenshot.
RB>> How did you manage to get more than one? This must never happen!
AI> Yes, this must never happen. And yet that's possible.
AI> Today I came further and managed to get four buttons with dotted
AI> borders (including the "default" one, see attached "FindRepl.png").
AI> This is actual screenshot, not edited in any way.
AI> Here are the steps to reproduce it:
AI> 1. Open "Find/Replace" dialog (Ctrl+F)
AI> 2. Type anything in both "Find" and "Repl" fields.
To be able to input something to the "Repl" field, underlying text
view must be in editable state (Dev -> Edit Mode).
AI> 3. Select any text stretch in underlying window (StdLog will do).
AI> Now all buttons are enabled
The steps described here only work for StdLog, actually, because it
clears selection when error text "selection does not match" is added
to it.
AI> 4. Click "Repl. & Find" button. (Note: selected text must not be
AI> equal to the text typed in "Find" field, so replacement will end up
AI> in error "selection does not match"). Now you have the selection
AI> removed, and the button disabled and "dotted"
AI> 5. "Repl. & Find" button is now disabled, but still dotted (a
AI> nonsense already: disabled button cannot have input focus)
AI> 6. Select a stretch of text again. All buttons are enabled again
AI> 7. Now click "Replace" button. Selection removed, two buttons are
AI> dotted
AI> 8. Select a stretch of text
AI> 9. Click "Find First" button. Three buttons are now dotted
AI> I made the fourth button dotted by clicking rather quickly back and
AI> forth and I'm not sure how to reproduce that. But I did it.
The described problem may be reproduced not only for StdLog, but for
any text view. It may be done inside "lazy update gap" between
clearing a text selection and button disabling event arrival.
AI> Done in BB 1.5.
---=====---
Alexander
--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy
----boundary-LibPST-iamunique-631623002_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2R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lblxwYXINCiAgY2xlYXJp
bmcgYSB0ZXh0IHNlbGVjdGlvbiBhbmQgYnV0dG9uIGRpc2FibGluZyBldmVudCBhcnJpdmFsLlxw
YXINClxwYXINCkFJPiAgIERvbmUgaW4gQkIgMS41LlxwYXINClxwYXINCi0tLT09PT09LS0tXHBh
cg0KIEFsZXhhbmRlclxwYXINClxwYXINCi0tLSBCbGFja0JveFxwYXINCi0tLSBzZW5kIHN1Ympl
Y3QgSEVMUCBvciBVTlNVQlNDUklCRSB0byBibGFja2JveEBvYmVyb24uY2h9fQBtcC52ZXJ3YWx0
----boundary-LibPST-iamunique-631623002_-_---
Received on Wed May 24 2006 - 18:51:15 UTC
This archive was generated by hypermail 2.3.0
: Thu Sep 26 2013 - 06:27:58 UTC