WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
20110
The GTK port wrongly assumes that the web view widget is always realized.
https://bugs.webkit.org/show_bug.cgi?id=20110
Summary
The GTK port wrongly assumes that the web view widget is always realized.
David Hansen
Reported
2008-07-19 17:09:22 PDT
As the title says. This results in ASSERTion failures and random crashed. There's probably a far better solution but the attached diff points out the crashes I noticed so far.
Attachments
Some naive fixes
(2.45 KB, patch)
2008-07-19 17:10 PDT
,
David Hansen
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
David Hansen
Comment 1
2008-07-19 17:10:16 PDT
Created
attachment 22384
[details]
Some naive fixes
Pierre-Luc Beaudoin
Comment 2
2008-07-21 07:57:20 PDT
Xavier Claessens has had the sames issues last week when he embedded WebKitGtk into Empathy. Raising to Major as this is crashing the embedding apps. To quickly solve is issue, we replaced the ASSERT(containingWindow()) by a "if (containingWindow()) return;". This needs more investigation.
David Hansen
Comment 3
2008-07-21 17:45:41 PDT
(In reply to
comment #2
)
> Xavier Claessens has had the sames issues last week when he embedded WebKitGtk > into Empathy. > > Raising to Major as this is crashing the embedding apps. > > To quickly solve is issue, we replaced the ASSERT(containingWindow()) by a "if > (containingWindow()) return;". This needs more investigation.
As a workaround you can use GtkPlug and GtkSocket. This way the WebView widget always has a toplevel and you can realize it. But this feels so wroooong ;-)
Pierre-Luc Beaudoin
Comment 4
2008-07-24 09:14:03 PDT
We have encountered places where countainingWindow() isn't null but countainingWindow()->window is. (Opening the archives window in Empathy (with adium themes)).
Marco Barisione
Comment 5
2008-08-04 11:59:52 PDT
(In reply to
comment #1
)
> Created an attachment (id=22384) [edit] > Some naive fixes
For the fixes for PlatformScreen see
bug #16881
, I will post an updated patch in the next days. The other one (in the update method) seems ok. Any comment from a reviewer? (In reply to
comment #2
)
> Xavier Claessens has had the sames issues last week when he embedded WebKitGtk > into Empathy. > > Raising to Major as this is crashing the embedding apps. > > To quickly solve is issue, we replaced the ASSERT(containingWindow()) by a "if > (containingWindow()) return;". This needs more investigation.
This is a different issue from
bug #19370
, so not related to empathy. In that case the containingWindow() is null, in this case it's not null but not realized.
Jan Alonzo
Comment 6
2008-10-18 02:44:18 PDT
I'll resolve this as WONTFIX as the issues addressed by the patch have already been addressed by other (landed) patches. cheers
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug