Uzbl

Tasklist

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
Task Type Bug Report
Category uzbl-core
Status Closed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version Development
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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
Comment by Bjartur Thorlacius (bjartur) - 2010-05-06 01:26:54 PM
confirmed: commit ae15d257a858fe27090f3e5798357aea2f5a76da
This is really annoying, I suggest increasing severity.
Comment by Bjartur Thorlacius (bjartur) - 2010-05-14 01:37:03 PM
This also applies to open frame in new window.
Comment by Fabien Archambault (MarbolanGos) - 2010-08-19 10:03:09 AM
Is there someone to help to solve this?
Comment by Fabien Archambault (MarbolanGos) - 2010-09-02 04:07:25 PM
Ueno had proposed a patch : https://bugzilla.redhat.com/show_bug.cgi?id=584733#c3
This solves the issue in my case.
Comment by Michael Raskin (MichaelRaskin) - 2010-10-07 05:45:37 AM
I confirm that the patch fixes some crash problems

Loading...