Number: 958 Date: 4-May-84 13':52':31 Submitter: le.pasa Source: Tohru Uchiyama (Fuji Xerox)-raim.pasa Subject: (Superseded by 712) BUTTONEVENTFN doesn''t get called? Assigned To: Attn: Status: Superseded In/By: AR 712 Problem Type: Documentation Impact: Annoying Difficulty: Moderate Frequency: Everytime Priority: Perhaps System: Operating System Subsystem: Processes Machine: 1100 Disk: Lisp Version: Fugue.4 Source Files: Microcode Version: Memory Size: File Server: Server Software Version: Disposition: ' [bvm 5/7/84 changed to documentation AR, referred to ar 712] Description: ' I currently use Interlisp-D Fugue-4 version and the next uncertain situation occures.' ' I create a window which has non-NIL BUTTONEVENTFN property and move TTY-process from Top level typescript window to the window. After PRIN1 and OPENFILE function, TTY-process is finally returned to Top level type script wondow as below.' ' Exp. 1. (TTYDISPLAYSTREAM (GETSTREAM SETWINDOWVAL))' (TTY.PROCESS (THIS.PROCESS))' .' .' .' (TTYDISPLAYSTREAM ORIGINALSTREAM)' (TTY.PROCESS T)' ' Note ; SETWINDOWVAL ': = window No. of the window has' non-NIL BUTTONEVENTFN property.' ORIGINALSTREAM ': = stream No. of Top level typescript ' window. ' ' In this case, I lose the control of defined BUTTONEVENTFN ' property in this window.' ' Exp. 2. Exactly same as Exp. 1. except inserting READ function between' (TTY.PROCESS (THIS.PROCESS)) and (TTYDISPLAYSTREAM ' ORIGINALSTREAM).' ' In this case , I don''t lose the control of BUTTONEVENTFN ' property.' ' Would you tell me why the difference between Exp. 1. and Exp. 2. had occured ? ' ' -Tohru' ' ------' Date': 7 May 84 16':59 PDT' From': vanMelle.pa' Subject': Re': AR#958': BUTTONEVENTFN doesn''t get called?' To': 1100Support.pasa' cc': vanMelle.pa, Masinter' ' I have a hard time figuring out what this bug report is about.' ' 1. "... move TTY-process from Top level typescript window to the window ..."' ' Windows are not processes. Perhaps user has misconception here.' ' 2. " ... (TTY.PROCESS (THIS.PROCESS)) ... "' ' What process is user running in when he does this?' ' 3. "I lose the control of defined BUTTONEVENTFN property in this window"' ' Explain "lose the control", please.' ' ' The most likely thing I can think of is that the code is running under the mouse process, and user has neglected to read about the function ALLOW.BUTTON.EVENTS, which is a necessity for BUTTONEVENTFN to run while user is running code under the mouse process. There is an AR on documentation related to this (555).' ' Bill' ' Workaround: Test Case: Edit-By: vanMelle Edit-Date: 15-May-84 14':29':25