Summary: | [GTK] crash after selecting a file on an <input type=file> | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Cedric Vivier <cedricv> | ||||
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Critical | CC: | cedricv | ||||
Priority: | P2 | Keywords: | Gtk, HasReduction, Regression | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | PC | ||||||
OS: | Linux | ||||||
Attachments: |
|
Description
Cedric Vivier
2008-10-05 09:28:17 PDT
After some more research, I've found out it crashes at line 205 of WebCore/rendering/RenderFileUploadControl.cpp when (trying) painting the selected file icon : m_fileChooser->icon()->paint(paintInfo.context, IntRect(iconX, iconY, iconWidth, iconHeight)); (and thus within IconGtk::paint() afterward) Created attachment 24488 [details]
check if painting is enabled before painting the icon
This follows Mac and Win's behavior for Icon::paint
Comment on attachment 24488 [details]
check if painting is enabled before painting the icon
r=me
Might be better to have the TODO comment after the paintingDisabled() check though.
Nice catch!
|