Ticket #1423 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

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

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

Change History

Changed 4 years ago by alsroot

Related issues: #1339

Changed 4 years ago by alsroot

  • severity changed from Blocker to Critical

Changed 4 years ago by alsroot

Changed 4 years ago by alsroot

Changed 4 years ago by alsroot

  • keywords r? added

Changed 4 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

Note: See TracTickets for help on using tickets.