Ticket #1423 (closed defect: fixed)
Present windows in non-active process
| Reported by: | alsroot | Owned by: | alsroot |
|---|---|---|---|
| Priority: | Immediate | Milestone: | 0.86 |
| Component: | sugar | Version: | 0.85.x |
| Severity: | Critical | Keywords: | r+ |
| Cc: | Distribution/OS: | Unspecified | |
| Bug Status: | Unconfirmed |
Description
For now, sugar code has several gtk.present() calls that don't work if the were invoked from another processes. Thats due to outdated timestamps:
|TestCase|
* open 1st window prcess(e.g. Browse)
* from 2st process(e.g. shell) initiate window activating of 1st process(BrowseActivity.present())
* it works fine if Browse's window hasn't gdk window but fails otherwise - last event in X was from 2st process, last event from 1st process was earlier, so calling present(thus gdk.focus()) for 1st process sends outdated timestamp and WM ignore present(focus) invoking
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

