Title: | DECWINDOWS 26-JAN-89 to 29-NOV-90 |
Notice: | See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit |
Moderator: | STAR::VATNE |
Created: | Mon Oct 30 1989 |
Last Modified: | Mon Dec 31 1990 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 3726 |
Total number of notes: | 19516 |
Dear All, I have a customer who is getting an Xerror event received with the error major opcode 42 - XSetInputFocus. He does this by "fetching and managing" a dialogue box, and before the dialogue is displayed and can receive the input focus, he iconizes the top level widget which is the parent of the dialogue box. Is the error because since the dialogue box is now also iconized, the input focus has no where to go ? The error does not occur if he let the dialogue box appear. The customer is on vms 5.2, decwindows 1. Any help or thoughts on workarounds is appreciated. Thanks Mel
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
3417.1 | OXNARD::KLEE | Ken Lee | Mon Oct 01 1990 14:14 | 9 | |
From section 7.7.1 of the Xlib manual: "The specified focus window must be viewable at the time XSetInputFocus is called, or a BadMatch error results." An iconified window is not viewable. Ken | |||||
3417.2 | but the appl does not call XSetInputFocus... | ALEXWS::ALEX | Bugs are coming in triplets ... | Wed Oct 10 1990 07:29 | 20 |
> From section 7.7.1 of the Xlib manual: > > "The specified focus window must be viewable at the time XSetInputFocus > is called, or a BadMatch error results." > > An iconified window is not viewable. > This is very, very nice to know, but alas... does not help to solve the case. The customer application has NO calls to XSetInputFocus. The latter is called somewhere from the toolkit, i.e. DEC supported software. So this is nice to know why the error happens, and for now the customer will put error handler to trap this kind of errors. Cheers, Alex |