EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Odd MEDM behavior on OS-X : RESOLVED
From: Josh Stein <[email protected]>
To: Noboru Yamamoto <[email protected]>
Cc: [email protected]
Date: Thu, 07 Jan 2010 06:35:42 -0600
Let's hear it for the IT people!

A solution is found via a "click-through" parameter which may or may not
already be present in a .plist file.

For Leopard (with X11 at version 2.1.5) look for the parameter
"wm_click_through" in the file ~/Library/Preferences/org.x.X11.plist.
Change the value from False to True.

If that parameter is not present within the plist (it wasn't for me),
execute the following command from an xterm:

"defaults write org.x.X11 wm_click_through -bool true"

Either way, start from a new X11 session (kill the server and restart).
MEDM now functions as expected.

For more info (and for pre-Leopard solution) see:
http://web.ipac.caltech.edu/staff/hoard/mactips/MacOSX_configuration_tips.html#click_x11

My thanks again to Jon and Dave, our lonely Mac support crew.


Noboru Yamamoto wrote:
> Hi, All:
>
> I also used to have same problem and used same method descirbed by Eric,
> right click on display to create componets.
>
> Now, I don't have the problem anymore. I don't remember when this
> problem went away, but my current environment:
>
> MacOSX 10.6.2
> X11 2.3.4
> openMotif 2.2.3
> EPICS base 3.14.11
> medm 3.1.4
>
> does not have the problem reported.
>
> Regards,
>
> Noboru Yamamoto
> J-PARC control group
> JAPAN
>
> (10/01/07 10:57), David Dudley wrote:
>   
>> Is this problem under Leopard, or Snow Leopard?
>>
>> I've had the same problem with both EDM and MEDM ever since I updated up to
>> Snow Leopard.
>>
>> I finally tracked the problem down (at least on my system...) to OpenMotif
>> 2.32.
>>
>> Backing down to OpenMotif 2.30 corrected the problem for me.  Upgrading back
>> to 2.32 and rebuilding caused the problem to return.
>>
>> David Dudley
>>
>>
>> On 1/6/10 4:52 PM, "Eric Norum"<[email protected]>  wrote:
>>
>>     
>>> The XKEYSYMDB change didn't work for me.  Josh?
>>> I suspect that this problem lies elsewhere, since the controls seem to work
>>> other places in MEDM.  One possible thing to look at is that the widgets in
>>> question in the palette window seem to have 'tool tips' associated with them.
>>> Whenever I mouse over one of the widgets I get a pop-up describing the widget.
>>> Perhaps it is this operation that is somehow getting in the way of the mouse
>>> click getting through to the widget?
>>>
>>> On Jan 6, 2010, at 12:27 PM, Matt Newville wrote:
>>>
>>>       
>>>> Josh,
>>>>
>>>> It sounds like it's probably a problem with XKeysymDB.   A fix may be
>>>> as simple as
>>>>    export XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB.   (or whereever XkeysymDB
>>>> is)
>>>>
>>>>
>>>> --Matt
>>>>
>>>>
>>>>
>>>> On Wed, Jan 6, 2010 at 2:12 PM, Mark Rivers<[email protected]>  wrote:
>>>>         
>>>>> OK, so the problem is with the X server, not the client, since that
>>>>> behaviour does not occur when displaying MEDM from the other platform on
>>>>> Linux or Windows, right?  Do you know when the problem started?  I am
>>>>> not a Mac user, but Lewis Muir and Eric Norum are, so maybe they have
>>>>> some ideas?
>>>>>
>>>>> -----Original Message-----
>>>>> From: Josh Stein [mailto:[email protected]]
>>>>> Sent: Wednesday, January 06, 2010 2:10 PM
>>>>> To: Mark Rivers
>>>>> Cc: EPICS tech-talk
>>>>> Subject: Re: Odd MEDM behavior on OS-X
>>>>>
>>>>> Good question Mark, and I should have pointed this out before...
>>>>>
>>>>> Running MEDM on other platforms while exporting the display back to my
>>>>> Mac produces identical results (e.g. those specific buttons are still
>>>>> non-functional).
>>>>>
>>>>>
>>>>>
>>>>> Mark Rivers wrote:
>>>>>           
>>>>>> Can you isolate the problem to the X server or client?  What happens
>>>>>>             
>>>>> if
>>>>>           
>>>>>> you run the same version of medm on a Linux system and display on your
>>>>>> Mac, or run medm on your Mac and display on Linux or Windows?
>>>>>>
>>>>>> Mark
>>>>>>
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: [email protected]
>>>>>> [mailto:[email protected]] On Behalf Of Josh Stein
>>>>>> Sent: Wednesday, January 06, 2010 2:02 PM
>>>>>> To: EPICS tech-talk
>>>>>> Subject: Odd MEDM behavior on OS-X
>>>>>>
>>>>>> Ok, we're having an odd problem here at APS which has myself and
>>>>>>             
>>>>> others
>>>>>           
>>>>>> scratching our heads.
>>>>>>
>>>>>> When running MEDM on my Mac (OS X - Leopard) I am able to open and
>>>>>> execute existing screens, but when I try to add an object (using the
>>>>>> object pallet) things get bizarre. I am unable to successfully
>>>>>>             
>>>>> interact
>>>>>           
>>>>>> with any of the object buttons within the palette (so, for example, if
>>>>>>             
>>>>> I
>>>>>           
>>>>>> wanted to place a static rectangle using the drawing object, I cannot
>>>>>> seem to get that button to "press"). All buttons within the object
>>>>>> palette are similarly crippled.
>>>>>>
>>>>>> Other uses of the mouse button within MEDM seem fine - for example
>>>>>>             
>>>>> when
>>>>>           
>>>>>> a screen is operating and connected to PVs, I can click on related
>>>>>> displays, or other controllers and have them function properly.
>>>>>>
>>>>>> Furthermore the other two palette types (Resource and Color) function
>>>>>> fine.
>>>>>>
>>>>>> I realize I can place objects by right-clicking on the display - but
>>>>>> something has changed recently, as I've traditionally always used the
>>>>>> object palette.
>>>>>>
>>>>>> Any ideas? Our Mac people have tried differing versions of the OS with
>>>>>>             
>>>>>> no difference noted.
>>>>>>
>>>>>> --Josh
>>>>>>
>>>>>>
>>>>>>             
>>>>>           
>
>   

References:
Re: Odd MEDM behavior on OS-X David Dudley
Re: Odd MEDM behavior on OS-X Noboru Yamamoto

Navigate by Date:
Prev: Re: mbboDirect problem Dirk Zimoch
Next: streamDevice and I/O Intr processing Jens . Eden
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Odd MEDM behavior on OS-X Noboru Yamamoto
Next: streamDevice and I/O Intr processing Jens . Eden
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·