Opened 11 years ago

Closed 11 years ago

Last modified 7 years ago

#1423 closed defect (fixed)

Present windows in non-active process

Reported by: alsroot Owned by: alsroot
Priority: Immediate Milestone:
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 (2)

sugar-1423.patch (2.4 KB) - added by alsroot 11 years ago.
sugar-1423-sugar.patch (2.2 KB) - added by alsroot 11 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 11 years ago by alsroot

Related issues: #1339

comment:2 Changed 11 years ago by alsroot

  • Severity changed from Blocker to Critical

Changed 11 years ago by alsroot

Changed 11 years ago by alsroot

comment:3 Changed 11 years ago by alsroot

  • Keywords r? added

comment:4 Changed 11 years ago by tomeu

  • Keywords r+ added; r? removed
  • Owner changed from tomeu to alsroot
  • Status changed from new to assigned

Sounds great, please push, only note s/respoce/response

comment:6 Changed 7 years ago by dnarvaez

  • Milestone 0.86 deleted

Milestone 0.86 deleted

Note: See TracTickets for help on using tickets.