[8.5.2] Application Editions Browser incorretly shows application loaded

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[8.5.2] Application Editions Browser incorretly shows application loaded

Richard Sargent
Administrator
I have a sub-application loaded which has the same name as an Application. The Application Editions Browser is showing the application's one and only edition with the yellow folder highlight, suggesting it is loaded.

[I will guess that this is the case in most, if not all, recent versions of VASmalltalk.]

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: [8.5.2] Application Editions Browser incorretly shows application loaded

Richard Sargent
Administrator
On Tuesday, February 18, 2014 2:34:12 PM UTC-8, Richard Sargent wrote:
I have a sub-application loaded which has the same name as an Application. The Application Editions Browser is showing the application's one and only edition with the yellow folder highlight, suggesting it is loaded.

[I will guess that this is the case in most, if not all, recent versions of VASmalltalk.]

It looks like it has been wrong longer than I had guessed - since 1999.

!StsApplicationConfigBrowser privateMethods !
stsStatusBlockFor: widgetName

    widgetName == #names
        ifTrue: [
            ^[:symbol |
                (Smalltalk at: symbol ifAbsent: []) isNil
                    ifTrue: [self stsImageNamed: StsPowerTools iconNonResidentApplications]
                    ifFalse: [self stsImageNamed: StsPowerTools iconApplications]]].

If there is a class corresponding to the application name, it is shown as a loaded application. In my case, the class was the sub-application with the same name (a sub-application of a completely different application).

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: [8.5.2] Application Editions Browser incorretly shows application loaded

Seth Berman
Hi Richard,

Another great find!
I notice that the same situation occurs when I have an application loaded with the same name as a SubApplication and I'm showing SubApplication Names.

Something like the following will fix it...and I will correct for 8.6.1.  Case 53707.  Thanks!

stsStatusBlockFor: widgetName

widgetName == #names
   ifTrue: [
      ^[:symbol |  | app |
        app := Smalltalk at: symbol ifAbsent: [nil].
(app notNil and: [app isApplication == self showingApplicationNames])
     ifTrue: [self stsImageNamed: StsPowerTools iconApplications]
             ifFalse: [self stsImageNamed: StsPowerTools iconNonResidentApplications]]].

-- Seth

On Tuesday, February 18, 2014 8:22:09 PM UTC-5, Richard Sargent wrote:
On Tuesday, February 18, 2014 2:34:12 PM UTC-8, Richard Sargent wrote:
I have a sub-application loaded which has the same name as an Application. The Application Editions Browser is showing the application's one and only edition with the yellow folder highlight, suggesting it is loaded.

[I will guess that this is the case in most, if not all, recent versions of VASmalltalk.]

It looks like it has been wrong longer than I had guessed - since 1999.

!StsApplicationConfigBrowser privateMethods !
stsStatusBlockFor: widgetName

    widgetName == #names
        ifTrue: [
            ^[:symbol |
                (Smalltalk at: symbol ifAbsent: []) isNil
                    ifTrue: [self stsImageNamed: StsPowerTools iconNonResidentApplications]
                    ifFalse: [self stsImageNamed: StsPowerTools iconApplications]]].

If there is a class corresponding to the application name, it is shown as a loaded application. In my case, the class was the sub-application with the same name (a sub-application of a completely different application).

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: [8.5.2] Application Editions Browser incorretly shows application loaded

Richard Sargent
Administrator
Excellent! No significant performance impact. Very nice.



On Wed, Feb 19, 2014 at 4:17 PM, Seth Berman <[hidden email]> wrote:
Hi Richard,

Another great find!
I notice that the same situation occurs when I have an application loaded with the same name as a SubApplication and I'm showing SubApplication Names.

Something like the following will fix it...and I will correct for 8.6.1.  Case 53707.  Thanks!

stsStatusBlockFor: widgetName

widgetName == #names
   ifTrue: [
      ^[:symbol |  | app |
        app := Smalltalk at: symbol ifAbsent: [nil].
(app notNil and: [app isApplication == self showingApplicationNames])
     ifTrue: [self stsImageNamed: StsPowerTools iconApplications]
             ifFalse: [self stsImageNamed: StsPowerTools iconNonResidentApplications]]].

-- Seth

On Tuesday, February 18, 2014 8:22:09 PM UTC-5, Richard Sargent wrote:
On Tuesday, February 18, 2014 2:34:12 PM UTC-8, Richard Sargent wrote:
I have a sub-application loaded which has the same name as an Application. The Application Editions Browser is showing the application's one and only edition with the yellow folder highlight, suggesting it is loaded.

[I will guess that this is the case in most, if not all, recent versions of VASmalltalk.]

It looks like it has been wrong longer than I had guessed - since 1999.

!StsApplicationConfigBrowser privateMethods !
stsStatusBlockFor: widgetName

    widgetName == #names
        ifTrue: [
            ^[:symbol |
                (Smalltalk at: symbol ifAbsent: []) isNil
                    ifTrue: [self stsImageNamed: StsPowerTools iconNonResidentApplications]
                    ifFalse: [self stsImageNamed: StsPowerTools iconApplications]]].

If there is a class corresponding to the application name, it is shown as a loaded application. In my case, the class was the sub-application with the same name (a sub-application of a completely different application).

--
You received this message because you are subscribed to a topic in the Google Groups "VA Smalltalk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/va-smalltalk/0-RfCpFDYiI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/groups/opt_out.



--
Richard Sargent
Business Development Manager
503-766-4719
[hidden email]
GemTalk Systems
15220 NW Greenbrier Parkway #240
Beaverton, OR 97006

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/groups/opt_out.