VA801 - Bugs

VA Smalltalk is a "100% VisualAge compatible" IDE that includes the original VisualAge technology and the popular VA Assist and WidgetKit add-ons.

Moderators: Eric Clayberg, wembley, tc, Diane Engles, solveig

VA801 - Bugs

Postby marten » Sun Dec 13, 2009 12:39 pm

Lets start with the new class browser:

- select a method
- delete the selected method
- select another method and you will see, that the content of the tab "Method Source" will not change any more ...

(using VA8.01 under Windows 7 Home Premium 64bit)
Last edited by marten on Sun Dec 13, 2009 1:24 pm, edited 1 time in total.
Marten Feldtmann, Principal Smalltalk User, Private
SkypeMe callto://marten.feldtmann
marten
[|]
 
Posts: 641
Joined: Sat Oct 14, 2006 7:10 am
Location: Hamburg - Germany

Re: VA801 - Bugs

Postby tc » Sun Dec 13, 2009 12:50 pm

Hello,

I am on xp, however, I was unable to replicate the problem following your steps. I'll try them on other platforms.

Thanks.

--tc
tc
Moderator
 
Posts: 304
Joined: Tue Oct 17, 2006 7:40 am
Location: Raleigh, NC

Re: VA801 - Bugs

Postby tc » Mon Dec 14, 2009 7:24 am

Hello,

We tried your steps on Windows 7 Ultimate (32-bit) and did not see the error.

More precisely, what is your configuration (such as a MAC, wine, etc.)?

Thanks.

--tc
tc
Moderator
 
Posts: 304
Joined: Tue Oct 17, 2006 7:40 am
Location: Raleigh, NC

Re: VA801 - Bugs

Postby marten » Mon Dec 14, 2009 12:31 pm

You may look at: http://blip.tv/file/2972874 and there are times, where I actually do not work under strange environments like Linux or Mac or Wine - but under real Windows 7 HomePremium 64 bits after the launch with a virgin image :-)))
Marten Feldtmann, Principal Smalltalk User, Private
SkypeMe callto://marten.feldtmann
marten
[|]
 
Posts: 641
Joined: Sat Oct 14, 2006 7:10 am
Location: Hamburg - Germany

Re: VA801 - Bugs

Postby tc » Mon Dec 14, 2009 5:42 pm

Hello,

Nice video! I was able to reproduce the problem. I made the following change to fix it:

Code: Select all
StsTabbedApplicationsBrowserWin>>#selectListItems:clientData:callData:
   | result |
   
   result := self isMethodSelected.

   super perform: clientData with: callData selectedItems.

   self isMethodSelected = result
      ifFalse: [
         self textSelector: #methodSourceString.
         super perform: clientData with: callData selectedItems ].

   self isMethodSelected
      ifTrue: [
         self sourceCodeCommentNotebookPage labelString: self class methodCommentPageLabel.
         self sourceCodeNotesNotebookPage labelString: self class methodNotesPageLabel ]
      ifFalse: [
         self sourceCodeCommentNotebookPage labelString: self class classCommentPageLabel.
         self sourceCodeNotesNotebookPage labelString: self class classNotesPageLabel ].

   sourceCodeNotebookTabSelected isNil
      ifTrue: [ ^nil ].

   sourceCodeNotebookTabSelected name = self class versionGraphPageName
      ifTrue: [ 
         sourceTextWidget parent unmanageChild.
         drawingAreaFormWidget manageChild.
         self generateVersionGraph ]

. . . however, I am very leery of a change like this because there is a lot of state to deal with, so, my approach has been, not to deal with it. Since the text pane is controlled by the super classes, let them deal with it. As soon as a change like the above is made, another issue pops up and pretty soon, the browser class, rather than the super class(-es) is/are dealing with way more state changes than it should.

The long term approach is to remove more class functionality and let the super classes handle things.

--tc
tc
Moderator
 
Posts: 304
Joined: Tue Oct 17, 2006 7:40 am
Location: Raleigh, NC

Re: VA801 - Bugs

Postby tc » Tue Dec 15, 2009 3:06 am

Hello,

I created case 44534 for this issue.

Thanks.

--tc
tc
Moderator
 
Posts: 304
Joined: Tue Oct 17, 2006 7:40 am
Location: Raleigh, NC

Re: VA801 - Bugs

Postby marten » Wed Jul 14, 2010 10:25 pm

This has not been fixed in 8.0.2 ?


tc wrote:Hello,

I created case 44534 for this issue.

Thanks.

--tc
Marten Feldtmann, Principal Smalltalk User, Private
SkypeMe callto://marten.feldtmann
marten
[|]
 
Posts: 641
Joined: Sat Oct 14, 2006 7:10 am
Location: Hamburg - Germany

Re: VA801 - Bugs

Postby tc » Fri Jul 16, 2010 8:50 am

Hello,

It was tagged for build 140 and mentioned again for build 144. I'm not sure why it was not put in but will check.

--tc
tc
Moderator
 
Posts: 304
Joined: Tue Oct 17, 2006 7:40 am
Location: Raleigh, NC

Re: VA801 - Bugs

Postby tc » Tue Jul 20, 2010 11:43 am

Hello,

The change/fix went into the 'StsTabbedApplicationsBrowserWin' (with an 's' on 'Application') which is a shadow browser.

The change will be in the 'StsTabbedApplicationBrowserWin' (no 's' on 'Application') in the next release.

Thanks.

--tc
tc
Moderator
 
Posts: 304
Joined: Tue Oct 17, 2006 7:40 am
Location: Raleigh, NC


Return to VA Smalltalk 7.0, 7.5 & 8.0

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest