Left part of URL in URL search bar sometimes truncated
Bug #1087251 reported by
Paul Menzel
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Midori Web Browser |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Please see the attached screenshot for the truncated URL.
In #midori I was given a patch to try and I will report back.
Changed in midori: | |
status: | New → Fix Committed |
Changed in midori: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Am Donnerstag, den 06.12.2012, 13:10 +0000 schrieb Paul Menzel:
> Public bug reported:
>
> Please see the attached screenshot for the truncated URL.
>
> In #midori I was given a patch to try and I will report back.
The patch
$ more /tmp/fix.diff midori- locationaction. c w/midori/ midori- locationaction. c midori- locationaction. c midori- locationaction. c location_ action_ popup_timeout_ cb (gpointer data)
"cell-backgroun d", MIDORI_ AUTOCOMPLETER_ COLUMNS_ BACKGROUND,
NULL);
renderer = gtk_cell_ renderer_ text_new ();
gtk_ cell_layout_ pack_start (GTK_CELL_LAYOUT (column), renderer, FALSE);
#else
gtk_ cell_layout_ pack_start (GTK_CELL_LAYOUT (column), renderer, TRUE); location_ action_ popup_timeout_ cb (gpointer data)
gtk_ cell_layout_ set_attributes (GTK_CELL_LAYOUT (column), renderer,
"cell-backgroun d", MIDORI_ AUTOCOMPLETER_ COLUMNS_ BACKGROUND,
NULL);
gtk_ tree_view_ column_ set_expand (column, TRUE);
gtk_ cell_layout_ set_cell_ data_func (GTK_CELL_LAYOUT (column), renderer,
midori_ location_ entry_render_ title_cb, action, NULL);
diff --git i/midori/
index c8fa3ea..79b3731 100644
--- i/midori/
+++ w/midori/
@@ -714,7 +714,7 @@ midori_
- #if HAVE_GRANITE
+ #ifdef HAVE_GRANITE
@@ -722,7 +722,7 @@ midori_
- #if HAVE_GRANITE
+ #ifdef HAVE_GRANITE
did not help.
Running `./waf check` after applying
$ git diff example. com", "example.com" }, /example. com", "example.com" }, //path/ to/my/heart" , "/path/to/my/heart" }, /bugs.launchpad .net/midori/", "bugs.launchpad .net/midori/ " },
diff --git a/tests/magic-uri.c b/tests/magic-uri.c
index 75b7456..e6ae28c 100644
--- a/tests/magic-uri.c
+++ b/tests/magic-uri.c
@@ -314,6 +314,7 @@ magic_uri_prefix (void)
{ "http://
{ "https:/
{ "file:/
+ { "https:/
};
guint i;
also did not give any errors, that means the tests passed.
Here is some more information. The trigger seems to be the spaces in the
search term.
I have for example »planet.debian.org« in my history and also
»bugs.debian.org«.
Entering »p debian o« all URLs with planet.debian.org in them just show
`.org…`. The bugs.debian.org URLs are shown fully. Entering »pla deb o«
I just see »ian.org« for the URLs.