Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13801 - gnome-terminal doesn't insert a space after dropped URLs
Summary: gnome-terminal doesn't insert a space after dropped URLs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-12 16:12 UTC by Zach Bagnall
Modified: 2003-05-18 10:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to add a space after drag/dropped URLs (gnome-terminal-2.0.2-spaced.diff,1000 bytes, patch)
2003-01-12 16:13 UTC, Zach Bagnall
Details | Diff
Same feature; diff against gnome-terminal 2.2.1 (gnome-terminal-2.2.1-spaced.diff,1000 bytes, patch)
2003-03-01 23:31 UTC, Zach Bagnall
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Zach Bagnall 2003-01-12 16:12:35 UTC
In some distributions of gnome-terminal that I have used, a space (" ") is
automatically added after a URL when it is drag'n'dropped into gnome-terminal
from a web browser. This behavior allows the user to quickly drag and drop
multiple links from a browser to a terminal (for, say, wgetting) without having
to alter focus and insert the space by hand. It would be great if this were the
default behavior for gentoo gnome-terminal. I'll attach a trivial patch to make
it so.
Comment 1 Zach Bagnall 2003-01-12 16:13:57 UTC
Created attachment 7230 [details, diff]
Patch to add a space after drag/dropped URLs
Comment 2 foser (RETIRED) gentoo-dev 2003-01-25 17:46:25 UTC
have you reported this patch upstream ? if so, what is the bugno ?
Comment 3 foser (RETIRED) gentoo-dev 2003-01-25 18:02:05 UTC
if i add the patch i still don't see the behaviour you mention (only tested with
galeon2).
Comment 4 Zach Bagnall 2003-01-27 02:52:15 UTC
Did you close all gnome-terminal windows, then start it again? The patch was
immediately effective for me. Tested with phoenix and mozilla.

I haven't reported it upstream as it is non-default behavior - not a bug. It is
just a nice feature to have.
Comment 5 foser (RETIRED) gentoo-dev 2003-01-27 08:50:11 UTC
yeah i know i need to close all the windows, but no it doesn't work for me. not
with mozilla or galeon.

And well, you could file it as a feature request upstream, see what gets done
with it.
Comment 6 Zach Bagnall 2003-03-01 23:31:37 UTC
Created attachment 8866 [details, diff]
Same feature; diff against gnome-terminal 2.2.1

Just an update for Gnome 2.2.
Comment 7 foser (RETIRED) gentoo-dev 2003-04-10 08:21:50 UTC
what exactly do i have to do to trigger this ? i have the patch, but if i drag say a URL from the locationbar in epiphany/galeon/mozilla , nothing happens. What is a clear defined case in which this should work ?
Comment 8 foser (RETIRED) gentoo-dev 2003-05-14 08:54:16 UTC
i'm willing to put this in, but i need some feedback here.
Comment 9 Zach Bagnall 2003-05-15 03:07:40 UTC
Pretty much as described.

Open a browser like phoenix.
Open a gnome-terminal.
Click/drag a hyperlink from the browser to the terminal.

Unpatched, the URL will be pasted to the terminal.
Patched, the URL is pasted AND followed by a single space.

Thanks.
Comment 10 foser (RETIRED) gentoo-dev 2003-05-18 10:23:56 UTC
hmm right it does work now, must've done something wrong all the time. Patch added to 2.2.1-r1 , see how it goes.