Melvin Hadasht wrote:
Pasting from a web page to the URL entry does not work. (But pasting to an entry field in the web page or in another X app works).
This is related to the new focus-related code: on grab-focus the location bar (and the search entry fields) select their contents. This causes the selection in the page to be destroyed. I'll see if I can find a way around this problem.
It looks also that selecting a link, we cannot paste the text of the link (not the link itself). I don't have a non-patched dillo anymore to test if this is due to your patch or not.
This is solved. It was, as I expected, a missing update to selection.c. A new macro (DW_CONTENT_ALL(content.type)) can be used in situations where the DW_CONTENT_FOCUSABLE type should be filtered out (eg. switch statements). Fix in next release of patch, if you want to have the fix now apply the short patch which is attached to this message to a PATCHED dillo tree. Cheers//Frank -- WWWWW ________________________ ## o o\ / Frank de Lange \ }# \| / +46-734352015 \ \ `--| _/ <Hacker for Hire> \ `---' \ +31-640037120 / \ frank@unternet.org / `------------------------' [ "Omnis enim res, quae dando non deficit, dum habetur et non datur, nondum habetur, quomodo habenda est." ] --- dillo_patched/src/selection.c.org 2003-11-25 12:39:16.119342032 +0100 +++ dillo_patched/src/selection.c 2003-11-25 12:40:26.743605512 +0100 @@ -568,7 +568,8 @@ (cmp = a_Dw_ext_iterator_compare (i, b)) <= 0; a_Dw_ext_iterator_next (i), start = FALSE) { si = i->stack[i->stack_top]; - switch (si->content.type) { + switch (si->content.type & + (DW_CONTENT_ALL ^ DW_CONTENT_FOCUSABLE)) { case DW_CONTENT_TEXT: if (start) { tmp = g_strndup(si->content.data.text + a_char,