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: 


Status: Superseded

In/By: AR 712

Problem Type: Documentation

Impact: Annoying

Difficulty: Moderate

Frequency: Everytime

Priority: Perhaps

System: Operating System

Subsystem: Processes

Machine: 1100


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.'
          (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'
           In this case , I don''t lose the control of BUTTONEVENTFN '
Would you tell me why the difference between Exp. 1. and Exp. 2. had occured ?  '
Date':  7 May 84 16':59 PDT'
Subject': Re': AR#958': BUTTONEVENTFN doesn''t get called?'
To': 1100Support.pasa'
cc':, 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).'


Test Case: 

Edit-By: vanMelle

Edit-Date: 15-May-84 14':29':25