midori -a fails badly on wrong invocations
Bug #1152590 reported by
gue5t gue5t
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Midori Web Browser |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Running "midori -a" without a page to use results in the following:
$ midori -a
** (midori:29678): ERROR **: Midori - Missing argument for -a
zsh: trace trap (core dumped) midori -a
and running "midori -a asdf" does:
$ midori -a asdf
** (midori4:29685): CRITICAL **: midori_
(midori4:29685): Gtk-CRITICAL **: IA__gtk_
which doesn't crash but fails to add any tabs (including about:blank). The latter behavior is also present with "midori -p asdf".
The attached patch is a fix.
tags: | added: commandline |
Changed in midori: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Indeed I went one step further, I added an option to sokoke_magic_uri that makes it bail out with an error instead of returning NULL to allow a search.