[Cuis-dev] recent regression?

Juan Vuletich juan at cuis.st
Fri Nov 29 07:27:45 PST 2024


#buildMorphicSystemCategoryList is called when the Window is built... 
See senders. Names do mean something!!!

Just close that Window and open a new one.

On 11/29/2024 9:59 AM, Mark Volkmann via Cuis-dev wrote:
> That is because my screenshot is taken before I select "Changes ... 
> Install New Updates".
> After I do that I see that line changes to "menuNshortcutsKey: 
> #systemCatListMenuSpec;".
>
> But when I hover over the class category pane in a Browser and press 
> cmd-f,
> I still get MessageNotUnderstood from the following expression in 
> BrowserWindow
> because widgetKey is still set to #systemCategoriesListMenuSpec.
>
> (widgetKey numArgs = 0
>     ifTrue: [self perform: widgetKey]
>     ifFalse: [self perform: widgetKey with: aWidget]) do: aBlock.
>
> Could the problem be that installing the changes doesn't update the 
> shortcut keys which have already been initialized,
> so they still are set to use the old value for that widgetKey?
> Is there something I need to do to rerun some setup code after 
> installing new updates?
>
> On Fri, Nov 29, 2024 at 8:38 AM Juan Vuletich <juan at cuis.st 
> <mailto:juan at cuis.st>> wrote:
>
>     On 11/29/2024 9:14 AM, Mark Volkmann wrote:
>>     I cloned Cuis-Smalltalk-Dev again and was able to reproduce the
>>     issue.
>>     It seems that the commit that causes the issue for me is f1ff80b.
>>     See lines 159-160 in the file
>>     CoreUpdates/6844-BetterSelectors-JuanVuletich-2024Nov22-15h28m-jmv.001.cs.st
>>     <http://6844-BetterSelectors-JuanVuletich-2024Nov22-15h28m-jmv.001.cs.st>.
>>     These remove the systemCategoriesListMenuSpec method.
>>     With the commit before that which is 5f45738 I cannot reproduce
>>     the issue.
>>
>>     I think you are correct that there are no direct senders of
>>     #systemCategoriesListMenuSpec.
>>     But there is a "self perform: widgetKey" where widgetKey gets set
>>     to #systemCategoriesListMenuSpec in SystemWindow.
>>     See the attached screenshots.
>
>     But #6844 also includes a redefinition of
>     #buildMorphicSystemCategoryList dated 11/22/2024 15:29:47 that
>     fixes exactly that, and that seems missing from your screenshot.
>
>>
>>
>>     On Fri, Nov 29, 2024 at 6:15 AM Juan Vuletich <juan at cuis.st
>>     <mailto:juan at cuis.st>> wrote:
>>
>>         On 11/28/2024 5:29 PM, Mark Volkmann via Cuis-dev wrote:
>>>         Perhaps there was a recent regression. I get the error
>>>         "MessageNotUnderstood
>>>         BrowserWindow>>systemCategoriesListMenuSpec" when I follow
>>>         these steps:
>>>
>>>         1. Start the base image Cuis7.1-6770.image
>>>         2. Click on the World.
>>>         3. Select Changes ... Install New Updates.
>>>         4. Open a Browser.
>>>         5. Hover over the class categories pane.
>>>         6. Press cmd-f (in macOS).
>>>
>>>         -- 
>>>         R. Mark Volkmann
>>>         Object Computing, Inc.
>>
>>         Hi Mark,
>>
>>         #systemCategoriesListMenuSpec has no senders in an updated
>>         stock image. Something is funky on your setup.
>>
>>         HTH,
>>
>>         -- 
>>         Juan Vuletich
>>         cuis.st  <http://cuis.st>
>>         github.com/jvuletich  <http://github.com/jvuletich>
>>         researchgate.net/profile/Juan-Vuletich  <http://researchgate.net/profile/Juan-Vuletich>
>>         independent.academia.edu/JuanVuletich  <http://independent.academia.edu/JuanVuletich>
>>         patents.justia.com/inventor/juan-manuel-vuletich  <http://patents.justia.com/inventor/juan-manuel-vuletich>
>>         linkedin.com/in/juan-vuletich-75611b3  <http://linkedin.com/in/juan-vuletich-75611b3>
>>         twitter.com/JuanVuletich  <http://twitter.com/JuanVuletich>
>>
>>
>>
>>     -- 
>>     R. Mark Volkmann
>>     Object Computing, Inc.
>
>
>     -- 
>     Juan Vuletich
>     cuis.st  <http://cuis.st>
>     github.com/jvuletich  <http://github.com/jvuletich>
>     researchgate.net/profile/Juan-Vuletich  <http://researchgate.net/profile/Juan-Vuletich>
>     independent.academia.edu/JuanVuletich  <http://independent.academia.edu/JuanVuletich>
>     patents.justia.com/inventor/juan-manuel-vuletich  <http://patents.justia.com/inventor/juan-manuel-vuletich>
>     linkedin.com/in/juan-vuletich-75611b3  <http://linkedin.com/in/juan-vuletich-75611b3>
>     twitter.com/JuanVuletich  <http://twitter.com/JuanVuletich>
>
>
>
> -- 
> R. Mark Volkmann
> Object Computing, Inc.


-- 
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20241129/f38e0374/attachment-0001.htm>


More information about the Cuis-dev mailing list