<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<div id="divtagdefaultwrapper" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;" dir="ltr">
<p>Hi Chris,</p>
<p><br>
</p>
<p>> <span style="font-size: 12pt;">Which context are you wanting to select/copy/interact with the dialog contents?</span></p>
<div><br>
</div>
<p></p>
<p>just update your image, or to manually trigger that message, do:</p>
<p><br>
</p>
</div>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<div style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;" dir="ltr">
<p><span>self inform: (MCMcmUpdater new updateMessageFor: 0).</span></p>
</div>
</blockquote>
<div style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;" dir="ltr">
<p><span><br>
</span></p>
<p><span>I love this feature and would not like to miss it again in arbitrary dialog windows.</span></p>
<p><span><br>
</span></p>
<p><span>Indeed I can also imagine keyboard control for selecting within the message would be a nice feature. However, I was confused by Enter not any longer closing the dialog, too.</span></p>
<p><span>Could we kind of override #<span>mouseOverForKeyboardFocus in this text morph? Then you would need to click into the text once before you can press <cmd>a, for example, to select the whole message.</span></span></p>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div><font size="2" color="#808080"></font></div>
</div>
</div>
</div>
We would only need to add such a hook to PluggableTextMorph and add it to the ToolBuilder protocol.</div>
<div style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;" dir="ltr">
<br>
</div>
<div style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;" dir="ltr">
Best,</div>
<div style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;" dir="ltr">
Christoph<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Von:</b> Squeak-dev <squeak-dev-bounces@lists.squeakfoundation.org> im Auftrag von Chris Cunningham <cunningham.cb@gmail.com><br>
<b>Gesendet:</b> Freitag, 5. Juni 2020 18:28 Uhr<br>
<b>An:</b> The general-purpose Squeak developers list<br>
<b>Betreff:</b> Re: [squeak-dev] The Trunk: Morphic-cbc.1664.mcz</font>
<div> </div>
</div>
<div>
<div dir="ltr">Hmm.  Which context are you wanting to select/copy/interact with the dialog contents?
<div><br>
</div>
<div>I do see the clickable URLs - those I definitely want (awesome), but not at the expense of killing other ingrained interactions.</div>
<div><br>
<div>Maybe another approach is to create a specific 'interactionable' dialog and other non-interactionable.  Or move several of the existing users of the this class to a newer class?</div>
<div><br>
</div>
<div>The context where this finally drove me over the edge was when creating  new categories, I'd type in and partially select an existing category, hit entry, then couldn't actually select a confirmation choice except by mouse - no keyboard shortcuts allowed.</div>
<div>
<div>
<div><img naturalheight="273" naturalwidth="374" alt="image.png" width="374" height="273" style="user-select: none;" src="cid:ii_kb2fa9k71"><br>
</div>
</div>
</div>
<div><br>
</div>
<div>Alternatively, maybe a #keyboardLocked method?</div>
<div><br>
</div>
<div>-cbc</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, Jun 5, 2020 at 8:41 AM Marcel Taeumel <<a href="mailto:marcel.taeumel@hpi.de">marcel.taeumel@hpi.de</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div id="gmail-m_-4428545376424812388__MailbirdStyleContent" style="font-size:10pt; font-family:Arial; color:rgb(0,0,0)">
<div>Hi there!</div>
<div><br>
</div>
...and the text of larger dialogs can once again not be selected, copied, and interacted with anymore. Think of clickable text URLs.
<div><br>
</div>
<div>Maybe we find a better solution. :-)</div>
<div><br>
</div>
<div>#lock is generic in Morphic to reject all events</div>
<div>#readOnly: is specific to text fields to not mess up its contents</div>
<div><br>
</div>
<div>Something like #rejectsKeyboardFocus .... along the line of #keyboardFocusDelegate...</div>
<div><br>
</div>
<div>Note that this is not a -1. Its okay that you -- kind of -- reverted my recent change to DialogMorph where I made text contents more accessible. There was another issue with message-category creation and the keyboard-focus interfering...</div>
<div><br>
</div>
<div>We will find something.</div>
<div><br>
</div>
<div>Best,</div>
<div>Marcel</div>
<div></div>
<blockquote type="cite" style="border-left-style:solid; border-width:1px; margin-top:20px; margin-left:0px; padding-left:10px; min-width:500px">
<p style="color:rgb(170,170,170); margin-top:10px">Am 05.06.2020 17:31:30 schrieb
<a href="mailto:commits@source.squeak.org" target="_blank">commits@source.squeak.org</a> <<a href="mailto:commits@source.squeak.org" target="_blank">commits@source.squeak.org</a>>:</p>
<div style="font-family:Arial,Helvetica,sans-serif">Chris Cunningham uploaded a new version of Morphic to project The Trunk:<br>
<a href="http://source.squeak.org/trunk/Morphic-cbc.1664.mcz" target="_blank">http://source.squeak.org/trunk/Morphic-cbc.1664.mcz</a><br>
<br>
==================== Summary ====================<br>
<br>
Name: Morphic-cbc.1664<br>
Author: cbc<br>
Time: 5 June 2020, 8:31:07.419315 am<br>
UUID: bf356d19-6ce6-6f4f-8c68-5f973a0c9f0c<br>
Ancestors: Morphic-mt.1632, Morphic-mt.1663<br>
<br>
locked messageMorph in DialogWindow so that the morph can once again be controlled by keystrokes.<br>
<br>
=============== Diff against Morphic-mt.1663 ===============<br>
<br>
Item was changed:<br>
----- Method: DialogWindow>>createMessage: (in category 'initialization') -----<br>
createMessage: aString <br>
<br>
messageMorph := aString asText asMorph.<br>
messageMorph<br>
name: 'Message';<br>
readOnly: true;<br>
+ setProperty: #indicateKeyboardFocus toValue: #never;<br>
+ lock.<br>
- setProperty: #indicateKeyboardFocus toValue: #never.<br>
self setMessageParameters. <br>
^ messageMorph!<br>
<br>
<br>
</div>
</blockquote>
</div>
<br>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</body>
</html>