Bug Tracker item #3465458, was opened at 2011-12-25 10:57
Message generated for change (Tracker Item Submitted) made by canavan
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1126848&aid=3465458&group_id=254363
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: UN*X version
Group: 1.1.X
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: canavan (canavan)
Assigned to: Adam Tkac (atkac)
Summary: Badmatch crash in ServerDialog.h
Initial Comment:
takeFocus() attemts to get the focus even if the window is not mapped. This
causes a crash when the server selection dialog is iconified and receives the
focus. This is 100% reproducable with MWM or 4DWM. This can be avoided by
checking if the window is visible (patch below) or, as qt does in
qapplication_x11.cpp, by using an XSetErrorHandler() that just ignores
BadMatches from XSetInputFocus() calls, e.g. iif (err->error_code == BadMatch
&& err->request_code == 42 /* X_SetInputFocus */) {return 0;}
The error message when crashing is:
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 42 (X_SetInputFocus)
Serial number of failed request: 527
Current serial number in output stream: 527
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1126848&aid=3465458&group_id=254363
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Tigervnc-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel