Opened 17 years ago
Closed 17 years ago
#1308 closed bug (fixed)
[People] don't disappear from Deskbar on close
Reported by: | diver | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Applications/People | Version: | R1/pre-alpha1 |
Keywords: | Cc: | karma, kaoutsis | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
People don't disappear from Deskbar on window close.
Attachments (2)
Change History (8)
comment:1 by , 17 years ago
Cc: | added |
---|
follow-up: 4 comment:2 by , 17 years ago
Can you reproduce this on R5 too ? I would assume the People application is working OK on BeOS R5 and Haiku misbehaves here.
comment:3 by , 17 years ago
I don't have R5 at hand now, but neither does LaunchBox close when it should.
And it's because WindowAt doesn't work. There's a dynamic_cast<BWindow*> in _WindowAt in kits/app/Application.cpp, which should return a BWindow* pointer if it has found a window, but it always returns NULL.
I'm struggling to find an explanation for this - I was going to file a bug soon anyway.
comment:4 by , 17 years ago
Replying to korli:
Can you reproduce this on R5 too ? I would assume the People application is working OK on BeOS R5 and Haiku misbehaves here.
Tested with hrev21757 and i can confirm that People is working OK on hrev5; btw: i will attached the src_apps_people_Jamfile.diff that adds hrev5 support to People app.
comment:5 by , 17 years ago
Cc: | added |
---|
by , 17 years ago
Attachment: | windowat_fix.diff added |
---|
This fixes the bug. (also fixes Launchbox, and the WindowAt function in general)
by , 17 years ago
Attachment: | src_apps_people_Jamfile.diff added |
---|
src_apps_people_Jamfile.diff: buld People app for TARGET_PLATFORM=hrev5 also (this version is putting back the resources file)
comment:6 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Tested with hrev21803: it's fixed.
I've found that the following code leaves "count" at 0, so none of the windows are posting QUIT_REQUESTED to be_app in the end (PeopleWindow.cpp, line 201):
I'm still debugging to find out what's happening behind the curtains.