Ticket #863 (closed defect: fixed)
Today should not close itself with all applications
| Reported by: | hrw@… | Owned by: | thomas@… |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | openmoko-today | Version: | current svn head |
| Severity: | critical | Keywords: | |
| Cc: | buglog@… | Blocked By: | |
| Blocking: | Estimated Completion (week): | ||
| HasPatchForReview: | PatchReviewResult: | ||
| Reproducible: |
Description
Today should close all applications EXCEPT itself when 'close all' action is
selected on 3rd tab.
Attachments
Change History
comment:3 Changed 6 years ago by chris@…
Today doesn't close itself, it crashes due to an X error - Unfortunately, I
don't know why this is yet, but it's on my TODO list to investigate and fix.
comment:4 Changed 6 years ago by abraxa@…
This is caused by a race condition that occurs when an application has already
received a close request and still gets enumerated in
today_task_manager_populate_tasks() to update the task list. When the function
then iterates over the enumerated windows the application might already have
finished shutting down, thereby making the window handle invalid.
For this reason, X reports a BadWindow? error on the gdk_window_get_type_hint()
call for such a window.
Proposed bugfix follows :)
-Soeren

I cannot reproduce this with the latest version. Can you update and see if you
still experience this bug?