[Bugs] #1423 IMME: Present windows in non-active process
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Thu Sep 24 07:54:23 EDT 2009
#1423: Present windows in non-active process
----------------------------+-----------------------------------------------
Reporter: alsroot | Owner: tomeu
Type: defect | Status: new
Priority: Immediate | Milestone: 0.86
Component: sugar | Version: 0.85.x
Severity: Blocker | Keywords:
Distribution: Unspecified | Status_field: Unconfirmed
----------------------------+-----------------------------------------------
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
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/1423>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list