FS#231 - "Open Image in New Window" crashes Uzbl
Attached to Project:
Uzbl
Opened by Daiki Ueno (ueno) - 2010-04-23 08:31:22 AM
Last edited by Brendan Taylor (bct) - 2010-11-26 07:54:53 PM
Opened by Daiki Ueno (ueno) - 2010-04-23 08:31:22 AM
Last edited by Brendan Taylor (bct) - 2010-11-26 07:54:53 PM
|
Details"Open Image in New Window" of the context menu crashes Uzbl.
To reproduce: $ uzbl-core http://www.uzbl.org right-click on the Uzbl icon and select the menu item. Original bug reported to Fedora BTS: https://bugzilla.redhat.com/show_bug.cgi?id=584733 I just looked into the code and here is a quick summary: 1. uzbl.state.selected_url is not set if the new URL is opened via context menu, while in usual cases link_hover_cb() sets it to link URL. 2. create_web_view_cb() checks uzbl.state.selected and if it is NULL, the data is recognized as JavaScript. 3. in create_web_view_js2_cb(), gtk_widget_destroy() is called against the active window. |
This task depends upon
Closed by Brendan Taylor (bct)
2010-11-26 07:54:53 PM
Reason for closing: Fixed
Additional comments about closing: merged into dieterbe's master and experimental branches
2010-11-26 07:54:53 PM
Reason for closing: Fixed
Additional comments about closing: merged into dieterbe's master and experimental branches
This is really annoying, I suggest increasing severity.
This solves the issue in my case.