Re: Gnome-terminal 1.2.1 patch.



thristian@atdot.org wrote:
> I like those other features, but are you sure about making left-click
> always activate? On my system it tends to activate Netscape 4, which

Currently, gnome terminal both underlines URLs when you float your cursor
over them, *and* changes the cursor to a hand icon.

Obviously, it's trying to indicate that you can click the link.  And
normally, such clicked links load in a browser.  I'm just clearing up a
*frustrating* interface wart left there because the function which handled
mouse callbacks was poorly designed.

> is in most cases *not* what I want to do - and cannot be cancelled or
> interrupted once begun. What I normally do is copy the URL and paste
> it into a wget or links commandline - and I really don't want to run
> the risk of booting up Netscape again. Sure, it doesn't actually
> *harm* me, but it's very annoying.

It calls gnome_url_show.. it does not manually load Netscape.  If you want
it to perform a different action, set your default browser in Gnome to
something else.  If there's no intuitive and easy way to do this currently,
let me know, and I'll make a patch for it. :)

When the cursor is not on a link (and giving off "click to load" hints like
there's no tomorrow ;)), it still acts as a plain ol' highlighting cursor. 
You can easily highlight one space around the link on either side for cut &
paste.

For me, it's a non issue since I don't mind loading Netscape.  I was more
interested in fixing gnome-terminal's behaviour, because the way the URLs
were handlded confused me the first time I tried to use it, and I'd assumed
that it didn't actually do anything (I didn't learn about it loading URLs
and the context menu until I played with it more).

It should also be noted the without this patch, getting a context menu can
be very frustrating as the old function handling the mouse callback tended
to misinterpret most right clicks as drags and tried to hilight text
(arg!).  It nicely cleans up the handling of mouse input in all ways I have
tested.

PS: I've CC:ed this to the gnome ui list so that other people won't ask the
same questions :)

-- 
    www.kuro5hin.org -- technology and culture, from the trenches.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]