Bug 733605
Summary: | changing workspace during SDL_WM_GrabInput leaves SDL client stuck | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Petr Pisar <ppisar> | ||||||
Component: | SDL | Assignee: | Petr Pisar <ppisar> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Lukáš Zachar <lzachar> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | 6.2 | CC: | mrezanin, ovasik, pbonzini, psplicha, xen-maint | ||||||
Target Milestone: | rc | Keywords: | Patch | ||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | SDL-1.2.14-3.el6 | Doc Type: | Bug Fix | ||||||
Doc Text: |
Cause
Grabbing mouse input on SDL window that is not visible
(e.g. a the window is on different work space or out of
screen borders).
Consequence
The SDL application get stuck until the window becomes
visible.
Fix
SDL_WM_GrabInput() function has been adjusted to not block
if X server cannot grab focus because the window is not
viewable and it signals failure to the application
immediately.
Result
Application gets failure from SDL library instead of
blocking till window becomes visible.
|
Story Points: | --- | ||||||
Clone Of: | 664771 | Environment: | |||||||
Last Closed: | 2012-04-03 15:20:37 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Petr Pisar
2011-08-26 08:24:14 UTC
This is no issue for KVM GUI in RHEL-6 as SDL is not used there. Removing bug #664773 from list of blocked. Created attachment 520031 [details]
Non-interractive test case
Created attachment 520032 [details]
Proposed patch
Easyfix, proposing for 6.3 fastrack Upstream decided not to accept this change into version 1.2 to conserve API. Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Cause Grabbing mouse input on SDL window that is not visible (e.g. a the window is on different work space or out of screen borders). Consequence The SDL application get stuck until the window becomes visible. Fix SDL_WM_GrabInput() function has been adjusted to not block if X server cannot grab focus because the window is not viewable and it signals failure to the application immediately. Result Application gets failure from SDL library instead of blocking till window becomes visible. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2012-0446.html |