Crash in the bookmark dialog with Gtk+ 2.24

Bug #874592 reported by xapantu
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Midori Web Browser
Fix Released
Critical
Cris Dywan

Bug Description

There is a crash in the bookmark dialog when we press [add] (because it tries to mix a custom model of gtk_combo_box_text and the gtk_combo_box_text_get_active_text functions).

Here is a patch to fix it.

Tags: gtk3
Revision history for this message
xapantu (xapantu) wrote :
tags: added: gtk3
Revision history for this message
Tylana (tylana) wrote :

This is a very bad bug. You can't add bookmarks - crashes every time and this is an important feature for a bookmark bar, speeddial, and bookmarks section - it totally ruins the browsing experience. Hopefully Midori PPA will update this because I know nothing about how to patch myself.

Revision history for this message
Daniel Letzeisen (dtl131) wrote :

I ran into the same combo box issue issue with the statusbar extension. See bug https://bugs.launchpad.net/bugs/878449
I suggest you rework your patch to keep the current code and use #if HAVE_GTK3 for your code, because trying to use the newer combo box text functions for gtk2 will require a more recent version of gtk2 than midori currently requires.

Revision history for this message
xapantu (xapantu) wrote : Re: [Bug 874592] Re: Gtk3: crash in the bookmark dialog

Hum, I doubt it would change anything for the gtk version, because
midori already uses these functions names (which are defined as macro
if the gtk version is too old).

Cris Dywan (kalikiana)
Changed in midori:
importance: Undecided → Critical
summary: - Gtk3: crash in the bookmark dialog
+ Crash in the bookmark dialog with Gtk+ 2.24
Changed in midori:
assignee: nobody → Christian Dywan (kalikiana)
status: New → In Progress
Revision history for this message
Cris Dywan (kalikiana) wrote :

So I ended up mering the code in the form of midori_bookmark_folder_button_new and midori_bookmark_folder_button_get_active since the import had the same problematic use of a combo box. Basically the implementation changed and it was by accident that it worked and nobody noticed the problem before.

Changed in midori:
status: In Progress → Fix Committed
Cris Dywan (kalikiana)
Changed in midori:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.