Sorry to have to introduce myself to the community this way :)
I downloaded Pharo 3.0 recently for OSX and have been working on learning it and writing some simple programs to get accustomed to the language and environment. Now it's doing something odd and I don't know what's wrong or how to fix it. When I left-click anywhere in Pharo it brings up the World menu, as if I had right-clicked instead. I'm pretty sure it can't be a problem with my trackpad or O/S because it works fine in other apps. The really odd part is that if I select "System Browser" off the World menu the new browser window response to mouse clicks normally! So, while my old browser, workspace, transcript, and main window all treat left-clicks as right-clicks, the new window is fine. Does anyone know what could be causing this issue and more importantly how to fix it? I've tried rebooting my laptop, and of course restarting Pharo numerous times. Doesn't seem to make a difference. Thanks! |
Hi,
to clarify: it’s normal that left-clicking outside of any active window (i.e. in the gray background) brings up the world menu. However, also getting the world menu on left-clicks inside browsers is not. If this is happening it is a bug that should be treated and it would be best that you explain how you get/got to that situation. greetings, > On Dec 9, 2014, at 17:13, dboeren <[hidden email]> wrote: > > Sorry to have to introduce myself to the community this way :) > > I downloaded Pharo 3.0 recently for OSX and have been working on learning it > and writing some simple programs to get accustomed to the language and > environment. > > Now it's doing something odd and I don't know what's wrong or how to fix it. > > When I left-click anywhere in Pharo it brings up the World menu, as if I had > right-clicked instead. I'm pretty sure it can't be a problem with my > trackpad or O/S because it works fine in other apps. > > The really odd part is that if I select "System Browser" off the World menu > the new browser window response to mouse clicks normally! So, while my old > browser, workspace, transcript, and main window all treat left-clicks as > right-clicks, the new window is fine. > > Does anyone know what could be causing this issue and more importantly how > to fix it? I've tried rebooting my laptop, and of course restarting Pharo > numerous times. Doesn't seem to make a difference. > > Thanks! > > > > > -- > View this message in context: http://forum.world.st/Left-mouse-button-not-working-in-Pharo-3-0-tp4795107.html > Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. > > ---> Save our in-boxes! http://emailcharter.org <--- Johan Fabry - http://pleiad.cl/~jfabry PLEIAD lab - Computer Science Department (DCC) - University of Chile |
Thanks for your reply, Johan.
I'm not sure what caused this. As best I recall, it was working last night when I went to bed and today it is not. The only unusual thing I recall doing late last night was importing the XMLSupport library. I haven't used it yet, this is just preparation for future tasks. Of course I also worked on some code and ran tests, but this to me is fairly normal and unlikely to cause problems. The program I'm working on fetches HTML or JSON data from a url, parses it with NeoJSON (or manually in the case of HTML), and produces a text file in a tab-delimited format based on the parsed data. Nothing I have done since I first installed Pharo has anything to do with the GUI system and the only packages I've installed are NeoJSON, NeoCSV, and XMLSupport. I have three windows open. A workspace, a transcript and a browser. I tend to keep the same windows up all the time so all three are long-lived windows if that seems relevant. If I create a new window of any of the three types, they seem to behave normally. Based on your comment that a right-click in the background *should* bring up the World menu, it sounds like the bug must be something to do with which window receives and processes the click event. If there is any diagnostic I can run to help gather more data just let me know and I will be glad to run it and post the results. In the meantime, is there a way (perhaps through keyboard shortcuts or something) to go through the list of open windows, select them, and close them? Or even to do a a "close all windows"? I ask because it seems like new windows behave correctly so maybe if I can kill off the misbehaving ones that will solve the issue. I can also open a new Workspace and paste in any code to collect info or close the windows. Or finally, if we cannot find a way to recover things properly then I suppose I could learn how to file out my code and start again with a fresh installation, redoing the installs of the couple of libraries I've added. |
OK, some progress. I made a copy of Pharo to experiment with and found World->Windows->DeleteAllWindowsDiscardingEdits.
This destroyed the three rogue windows and at least to a first glance the system is working correctly again. But, I also still have the original copy which is still malfunctioning. Ready for more weird? The broken copy of Pharo is 99.5MB. The working copy is only 70.2MB. Here is the full list of what I did to create the working copy: 1. Copy/paste the Pharo3.0 file in OSX Finder, rename it to "Pharo 3.0 test" 2. Open Pharo 3.0 Test 3. World->Windows->DeleteAllWindowsDiscardingEdits 4. Recreate my 3 windows (Workspace, Transcript, Browser) and resize them to approximately the same layout I had before 5. Quit and save the new image So whatever was wrong with those three windows was taking up 29.3MB? That's really bizarre... If someone knows how to debug this sort of thing I can upload my corrupted copy to you and perhaps that would be the best way to shed some light, but at least I seem to have a working environment again so I can proceed on the next step of my program :) |
In reply to this post by dboeren
Welcome :)
Le 9/12/14 12:13, dboeren a écrit : > Sorry to have to introduce myself to the community this way :) > > I downloaded Pharo 3.0 recently for OSX and have been working on learning it > and writing some simple programs to get accustomed to the language and > environment. > > Now it's doing something odd and I don't know what's wrong or how to fix it. > > When I left-click anywhere in Pharo it brings up the World menu, as if I had > right-clicked instead. I'm pretty sure it can't be a problem with my > trackpad or O/S because it works fine in other apps. > > The really odd part is that if I select "System Browser" off the World menu > the new browser window response to mouse clicks normally! So, while my old > browser, workspace, transcript, and main window all treat left-clicks as > right-clicks, the new window is fine. > > Does anyone know what could be causing this issue and more importantly how > to fix it? I've tried rebooting my laptop, and of course restarting Pharo > numerous times. Doesn't seem to make a difference. > > Thanks! > > > > > -- > View this message in context: http://forum.world.st/Left-mouse-button-not-working-in-Pharo-3-0-tp4795107.html > Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. > > |
In reply to this post by dboeren
This is indeed quite strange.
Le 9/12/14 14:31, dboeren a écrit : > OK, some progress. I made a copy of Pharo to experiment with and found > World->Windows->DeleteAllWindowsDiscardingEdits. > > This destroyed the three rogue windows and at least to a first glance the > system is working correctly again. > > But, I also still have the original copy which is still malfunctioning. > > Ready for more weird? The broken copy of Pharo is 99.5MB. The working copy > is only 70.2MB. > > Here is the full list of what I did to create the working copy: > 1. Copy/paste the Pharo3.0 file in OSX Finder, rename it to "Pharo 3.0 > test" > 2. Open Pharo 3.0 Test > 3. World->Windows->DeleteAllWindowsDiscardingEdits > 4. Recreate my 3 windows (Workspace, Transcript, Browser) and resize them > to approximately the same layout I had before > 5. Quit and save the new image > > So whatever was wrong with those three windows was taking up 29.3MB? That's > really bizarre... > > If someone knows how to debug this sort of thing I can upload my corrupted > copy to you and perhaps that would be the best way to shed some light, but > at least I seem to have a working environment again so I can proceed on the > next step of my program :) > > > > > -- > View this message in context: http://forum.world.st/Left-mouse-button-not-working-in-Pharo-3-0-tp4795107p4795126.html > Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. > > |
The size could have been the Monticello cache for all the stuff you loaded? In the big image try ImageCleaner new cleanUpForRelease, then save it and compare size. CHeers, On Tue, Dec 9, 2014 at 9:22 PM, stepharo <[hidden email]> wrote: This is indeed quite strange. |
Didn't seem to have any effect. The broken windows are still there, and the file size is still 99.5MB.
On Tue, Dec 9, 2014 at 8:49 PM, Mariano Martinez Peck <[hidden email]> wrote:
|
can you share a screenshot of your processes? (World Menu/Tools/Process Browsers)
Esteban
|
just upload your image file so we can take a look, one of the great things about pharo ;) you can also upload the whole pharo folder On Wed, Dec 10, 2014 at 10:04 AM, Esteban Lorenzano <[hidden email]> wrote:
|
OK, here is both the screenshot of the process browser and also the image file... I am interested to see what you can find out, thanks! On Wed, Dec 10, 2014 at 5:20 AM, kilon alios <[hidden email]> wrote:
Screen Shot 2014-12-10 at 9.43.49 AM.png (566K) Download Attachment |
well… I cannot find what happened :P
Esteban
|
That's OK, thanks for taking a look - I really appreciate it. At least I can work again and if the same issue happens I know now how to kill the bad windows and I will take better notes on exactly what I was doing just prior to the problem. Or, if it never happens again that would be fine too :) On Wed, Dec 10, 2014 at 11:29 AM, Esteban Lorenzano <[hidden email]> wrote:
|
Free forum by Nabble | Edit this page |