[dev] Re: [hackers] [surf] changing some labels in submenu. || Enno Boland (tox)

From: pancake <pancake_AT_youterm.com>
Date: Tue, 20 Oct 2009 20:03:03 +0200

What about copying text? I didnt understood why we have to override the
default
webkit contextual menu. Isn't ^G used to copy the uri and ^P to copy it?
This menu
is just overriding keybindings by reducing functionality.

For example..the context menu is the same in all situations. This is, if
you click on a picture
you have to way to copy the uri of the picture. this is something that
was working before,
the same for links ...

For copying text i understand that just selecting it is enought.

For back/forward i find just unoptimal to use a context menu, copypaste
uri is innecessary,
etc.. if any user want to have this braindead configuration is free to
use it, but I think that
defaults should be smarter.

Btw, i was just thinking that most of this stuff can be reimplemented in
javascript by adding
a top toggleable bar (<div>) showing the back/forward, uri entry, ... i
would never use that,
but i just want to keep the source of the browser as simple as possible.
And such menus
are making the web experience weirder.

I hope you get a working implementation for the cookies too. I see that
you are working
hard on this.

About downloading, I think we shuold be able to download links on new
windows, optionally,
we can use xdg-open to run downloaded files when the download is done.
But downloading
files on the same window you are browsing is weird because you loss the
context about what
you were doing. and the only way you have to get back to the navigation
flow is by going
back to the previous page producing unnecessary partial downloads.

--pancake

hg_AT_suckless.org wrote:
> changeset: 137:46e1753d02c0
> user: Enno Boland (tox) <tox_AT_s01.de>
> date: Tue Oct 20 14:09:37 2009 +0200
> files: config.def.h
> description:
> changing some labels in submenu.
>
>
> diff -r 560e81bd9345 -r 46e1753d02c0 config.def.h
> --- a/config.def.h Sat Oct 17 20:54:11 2009 +0200
> +++ b/config.def.h Tue Oct 20 14:09:37 2009 +0200
> @@ -38,9 +38,11 @@
> };
>
> static Item items[] = {
> + { "Back", navigate, { .i = -1 } },
> + { "Forward", navigate, { .i = +1 } },
> { "New Window", newwindow, { .v = NULL } },
> { "Reload", reload, { .b = FALSE } },
> { "Stop", stop, { 0 } },
> - { "<===", navigate, { .i = -1 } },
> - { "===>", navigate, { .i = +1 } },
> + { "Paste URI", clipboard, { .b = TRUE } },
> + { "Copy URI", clipboard, { .b = FALSE } },
> };
>
>
>
Received on Tue Oct 20 2009 - 18:03:03 UTC

This archive was generated by hypermail 2.2.0 : Tue Oct 20 2009 - 18:12:01 UTC