mozart / mozart2

Mozart Programming System v2
http://mozart.github.io/
BSD 2-Clause "Simplified" License
564 stars 96 forks source link

Minor problem with Browser (won't close) #43

Open alexgian opened 11 years ago

alexgian commented 11 years ago

I don't know if anyone else has noticed this, it doesn't happen all the time, sometimes not at all for a while, then again sometimes constantly. FYI this was observed on Linux Mint 14 (64-bit), using the OPI.

Sometimes, once opened, the Browser window will not close when requested to do so, either form the "X" button or from the menu. It remains open and the following is reported:

%***** failure ** % % %* Call Stack: %* procedure in file "/home/alex/projects/mozart2/lib/tools/browser/browser/bufsAndStreams.oz", line 90, column 13, PC = 140697345629673 %* procedure in file "/home/alex/projects/mozart2/lib/tools/browser/browser/bufsAndStreams.oz", line 137, column 10, PC = 140697345627069 %* procedure in file "/home/alex/projects/mozart2/lib/tools/browser/browser/bufsAndStreams.oz", line 250, column 10, PC = 140697345621033 %* procedure 'Lock' in file "/home/alex/projects/mozart2/lib/main/base/Lock.oz", line 35, column 7, PC = 140697328634037 %* procedure 'BrowserManagerClass,ServeRequest/fast' in file "/home/alex/projects/mozart2/lib/tools/browser/browser/managerObject.oz", line 101, column 7, PC = 140697345957557 %**--------------------------------------------------------------

You can close it by selecting "Halt Oz" from the OPI emacs menu, and then just continue working as before. In this case I think it will not close again when requested, you have to "Halt Oz" every time if you want it to close. Of course, it will close also if you close the OPI - as I said, it is not a major problem, just a niggle.

Incidentally (extremely low priority warning), has anyone noticed that the xbm icon for the Browser appears in negative? If you want it to appear positive, you have to store it in negative. For Windows too, I think. Could use a new one, by the way. The frustrated gorilla it is meant to show, doesn't appear well in small scale, it just looks like a thug with a big moustache. He should, at least, have... big brows. Which is to say we need some more pro-looking graphics for these auxiliary windows, Browser, Inspector, Explorer, etc.

alexgian commented 11 years ago

It does not happen on the build distributed at sourceforge: Mozart Compiler 2.0.0-alpha.0+build.37.830c8a4 (Thu, 7 Mar 2013 10:40:04 -0800) playing Oz 3

But it does on the one I built from github: Mozart Compiler 2.0.0-alpha.0+build.42.ea0210a-dirty (Wed, 1 May 2013 21:33:29 +0200) playing Oz 3