[comp.windows.x] Anyone else having truoble w/ R4FCS xmh & subfolders?

lm@snafu.Sun.COM (Larry McVoy) (02/09/90)

So I pop up xmh in my shiny new R4FCS environment.  Everything seems to work
except when I select a subfolder (hold middle button down until over the
one I want, release).  If I select a folder w/o subfolders then it opens that 
folder.  If I select a subfolder, it changes the folder name to that folder
but does not open it.  I have to explicitly tell it to do so.

Anyone else seen this and does anyone have a fix?

---
What I say is my opinion.  I am not paid to speak for Sun, I'm paid to hack.
    Besides, I frequently read news when I'm drjhgunghc, err, um, drunk.
Larry McVoy, Sun Microsystems     (415) 336-7627       ...!sun!lm or lm@sun.com

converse@EXPO.LCS.MIT.EDU (Donna Converse) (02/10/90)

> So I pop up xmh in my shiny new R4FCS environment.

Pardon, what does FCS stand for?  

> Everything seems to work
> except when I select a subfolder (hold middle button down until over the
> one I want, release).  If I select a folder w/o subfolders then it opens that 
> folder.  If I select a subfolder, it changes the folder name to that folder
> but does not open it.  I have to explicitly tell it to do so.
> 
> Anyone else seen this and does anyone have a fix?

No; was the application defaults file edited?  That's the patch bay for xmh.

lm@snafu.Sun.COM (Larry McVoy) (02/11/90)

>> So I pop up xmh in my shiny new R4FCS environment.
>
>Pardon, what does FCS stand for?  

Sorry, that's a Sun term for "First Customer Shipped", I believe.  It is used
to specify the ``final'' release of a product, the usual order is
alpha (1..N where N is a 3 digit number if you work at Sun :-), beta, fcs.

In this context, I meant the MIT R4 X11 official release, no patches.

>> Everything seems to work
>> except when I select a subfolder (hold middle button down until over the
>> one I want, release).  If I select a folder w/o subfolders then it opens that 
>> folder.  If I select a subfolder, it changes the folder name to that folder
>> but does not open it.  I have to explicitly tell it to do so.
>> 
>> Anyone else seen this and does anyone have a fix?
>
>No; was the application defaults file edited?  That's the patch bay for xmh.

No, but I have my own hacked version in .Xdefaults; this is probably where
the problem is, since I don't pretend to understand all of this stuff, I just
bang on it until it does what I want...


#xmh*debug:	True
xmh*Font:       6x12
xmh*HideBoringHeaders:  True
xmh*CheckNewMail:       True
xmh*MailWaitingFlag:    True
xmh*InitialIncFile:     /usr/spool/mail/lm
xmh*ReplyInsertFilter:  insertFilter
#Xmh*Geometry:			500x750+1+1
Xmh.Geometry:			500x750+1+1
Xmh*compGeometry:		500x520+505+230
Xmh*ShapeStyle:			Rectangle
Xmh*Command.BorderWidth:	1
Xmh*MenuButton.BorderWidth:	1
Xmh*toc*cursor:			left_ptr

Xmh*menuBox.folderButton.Label:		Folder
Xmh*menuBox.tocButton.Label:		Table of Contents
Xmh*menuBox.messageButton.Label:	Message
Xmh*menuBox.sequenceButton.Label:	Sequence
Xmh*menuBox.viewButton.Label:		View
Xmh*menuBox.optionButton.Label:		Options
Xmh*SimpleMenu*SmeLine.Height:		20

Xmh.*close.Label:		Close Window
Xmh*compose.Label:		Compose Message
Xmh*open.Label:			Open Folder
Xmh*openInNew.Label:		Open Folder in New Window
Xmh*create.Label:		Create Folder
Xmh*folderMenu*delete.Label:	Delete Folder
Xmh*inc.Label:			Incorporate New Mail
Xmh*next.Label:			View Next Message
Xmh*prev.Label:			View Previous
Xmh*delete.Label:		Delete
Xmh*move.Label:			Move
Xmh*copy.Label:			Copy
Xmh*unmark.Label:		UnMark
Xmh*viewNew.Label:		View In New
Xmh*reply.Label:		Reply
Xmh*forward.Label:		Forward
Xmh*useAsComp.Label:		Use as Composition
Xmh*commit.Label:		Commit Changes
Xmh*print.Label:		Print
Xmh*pack.Label:			Pack Folder
Xmh*sort.Label:			Sort Folder
Xmh*rescan.Label:		Rescan Folder
Xmh*pick.Label:			Pick
Xmh*openSeq.Label:		Open Sequence
Xmh*addToSeq.Label:		Add to Sequence
Xmh*removeFromSeq.Label:	Remove from Sequence
Xmh*deleteSeq.Label:		Delete Sequence
Xmh*edit.Label:			Edit Message
Xmh*save.Label:			Save Message
Xmh*send.Label:			Send
Xmh*reset.Label:		New Headers
Xmh*optionMenu*reverse.Label:	Read in Reverse

Xmh.notice.Dialog.Text.BorderWidth: 0
Xmh.notice.Dialog.confirm.Label:Acknowledged
Xmh.notice.BorderWidth:		2
Xmh.confirm.Dialog.yes.Label:	Yes
Xmh.confirm.Dialog.no.Label:	No
Xmh.prompt.Dialog.okay.Label:	Okay
Xmh.prompt.Dialog.cancel.Label:	Cancel
Xmh.error.Dialog.OK.Label:	Acknowledged

Xmh*toc.rightMargin:		0
Xmh*toc.scrollVertical:		WhenNeeded
Xmh*view.scrollVertical:	Always
Xmh*view.scrollHorizontal:	WhenNeeded
Xmh*view.autoFill:		True
Xmh*comp.scrollVertical:	Always
Xmh*comp.scrollHorizontal:	WhenNeeded
Xmh*comp.autoFill:		True

Xmh*folders*MenuButton.Translations:#override\n\
        <BtnDown>:     set()XmhPopupFolderMenu()\n\
        <Btn2Up>:      XmhSetCurrentFolder()reset()XmhOpenFolder()\n\
	<Btn3Up>:      XmhPushFolder()XmhSetCurrentFolder()XmhMarkMove()XmhPopFolder()reset()\n\
        <BtnUp>:       XmhSetCurrentFolder()reset()\n\
        <LeaveWindow>: reset()XmhLeaveFolderButton()\n

Xmh*folders*SimpleMenu.Translations:#override\n\
        <Btn2Up>: notify()XtMenuPopdown()unhighlight()XmhOpenFolder()\n\
	<Btn3Up>: XmhPushFolder()notify()XmhMarkMove()XmhPopFolder()XtMenuPopdown()unhighlight()\n\
        <BtnUp>:  notify()XtMenuPopdown()unhighlight()\n

Xmh*toc.Translations: #override\n\
	<Btn2Down>: select-start()\n\
	<Btn2Up>:select-end()XmhViewNextMessage()\n

Xmh*toc.Accelerators: #override\n\
	:<Key>f:	next-page()\n\
	:<Key>b:	previous-page()\n
Xmh*view.Accelerators: #override\n\
	:Ctrl<Key>f:	next-page()\n\
	:Ctrl<Key>b:	previous-page()\n
Xmh*tocMenu.Accelerators: #override\n\
	:<Key>i:	XmhIncorporateNewMail()XmhViewNextMessage()\n\
	:<Key>c: 	XmhCommitChanges()\n\
	:<Key>r:	XmhForceRescan()\n\
	:<Key>s:	XmhSortFolder()\n

Xmh*folderMenu.Accelerators: #override\n\
	:<Key>q:	XmhClose()\n

Xmh*messageMenu.Accelerators: #override\n\
	:<Key>space:	XmhViewNextMessage()\n\
	:<Key>n:	XmhViewNextMessage()\n\
	:<Key>d:	XmhMarkDelete()\n\
	:<Key>m:	XmhMarkMove()\n\
	:<Key>p:	XmhViewPreviousMessage()\n\
	:<Key>r:	XmhReply()\n\
	:<Key>F:	XmhForward()\n\
	:<Key>u:	XmhUnmark()\n

Xmh*viewButtons.close.Translations:#override\n\
	<Btn1Down>,<Btn1Up>:	XmhCloseView()unset()\n
Xmh*viewButtons.reply.Translations:#override\n\
	<Btn1Down>,<Btn1Up>:	XmhViewReply()unset()\n
Xmh*viewButtons.forward.Translations:#override\n\
	<Btn1Down>,<Btn1Up>:	XmhViewForward()unset()\n
Xmh*viewButtons.useAsComp.Translations:#override\n\
	<Btn1Down>,<Btn1Up>:	XmhViewUseAsComposition()unset()\n
Xmh*viewButtons.edit.Translations:#override\n\
	<Btn1Down>,<Btn1Up>:	XmhEditView()unset()\n
Xmh*viewButtons.save.Translations:#override\n\
	<Btn1Down>,<Btn1Up>:	XmhSaveView()unset()\n
Xmh*viewButtons.print.Translations:#override\n\
	<Btn1Down>,<Btn1Up>:	XmhPrintView()unset()\n

Xmh*compButtons.close.Translations:#override\n\
	<Btn1Down>,<Btn1Up>:	XmhCloseView()unset()\n
Xmh*compButtons.send.Translations:#override\n\
	<Btn1Down>,<Btn1Up>:	XmhSend()unset()\n
Xmh*compButtons.reset.Translations:#override\n\
	<Btn1Down>,<Btn1Up>:	XmhResetCompose()unset()\n
Xmh*compButtons.compose.Translations:#override\n\
	<Btn1Down>,<Btn1Up>:	XmhComposeMessage()unset()\n
Xmh*compButtons.save.Translations:#override\n\
	<Btn1Down>,<Btn1Up>:	XmhSave()unset()\n
Xmh*compButtons.insert.Translations:#override\n\
	<Btn1Down>,<Btn1Up>:	XmhInsert()unset()\n
---
What I say is my opinion.  I am not paid to speak for Sun, I'm paid to hack.
    Besides, I frequently read news when I'm drjhgunghc, err, um, drunk.
Larry McVoy, Sun Microsystems     (415) 336-7627       ...!sun!lm or lm@sun.com

converse@EXPO.LCS.MIT.EDU (Donna Converse) (02/13/90)

	Summary: MIT X11R4 xmh middle pointer button, when used to select a 
	subfolder, causes the folder to become the currently selected folder,
	but does not open the folder.

Anyone else seen this and does anyone have a fix?

	No; was the application defaults file edited?  That's the patch bay for
	xmh.

No, but I have my own hacked version in .Xdefaults; this is probably where
the problem is, since I don't pretend to understand all of this stuff, I just
bang on it until it does what I want...

Xmh*folders*SimpleMenu.Translations:#override\n\
        <Btn2Up>: notify()XtMenuPopdown()unhighlight()XmhOpenFolder()\n\

	
	XmhOpenFolder should be called after notify and before unhighlight.
	
	converse@expo.lcs.mit.edu