> You think this is the only way to get a full path name in the icon title?
> Look again.
I wanted to point out that there is a work-around when the "Open" dialog is
used. It was incorrect (and unintentional) to imply that other mechanisms
for opening displays did not exhibit the same behavior.
> We open "related displays" exclusively and get the full path name when
> the screen is iconified. These long icon names have been observed for
> more than 5 years of MEDM versions.
In our production environment, we use related displays exclusively also.
However, we have all the displays in one directory, and MEDM is run via an
alias that does a cd into that directory first. When the display file to
be opened is in the current directory, the filename is used directly,
without adding full path to it, so the icon name is just the filename.
If the file is opened using EPICS_DISPLAY_PATH, or by specifying a full
path, then you get the full path in the icon name.
> Note that MEDM is the _only_ X window application I use that seems to
> have the full path names in the iconified state.. Also note that this
> behavior is observed with both X-Win32 (http://www.starnet.com) and
> eXceed (www.hummingbird.com) X window servers.
The X-server has nothing to do with it (and neither does the window
manager). Icon names and window titles for Motif shells must be set by the
application, unless you want the default, which is the application name.
If MEDM didn't explicitly set them, the windows/icons would all be named
"medm".
The problem is simply that MEDM is setting the icon name to the full path,
instead of stripping it down to just the file name first, as is done for
the window title.
----
Brian McAllister Controls Programmer/Beam Physicist
[email protected] MIT-Bates Linear Accelerator
(617) 253-9537 Middleton, MA
- References:
- Re: medm icon Pete R. Jemian
- Navigate by Date:
- Prev:
Re: medm icon Pete R. Jemian
- Next:
intConnect vs ipmIntConnect vs devConnectInterrupt Bill Brown
- Index:
1994
1995
1996
1997
1998
1999
<2000>
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: medm icon Pete R. Jemian
- Next:
Re: medm icon Ken Evans
- Index:
1994
1995
1996
1997
1998
1999
<2000>
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|