Hi there, I'm wondering if it would be difficult to add a neat little feature that other browsers usuall implement: X11 Mouse-mid-click pasting of an url in the body of the dillo window as a shortcut to x-ing the url field and pasting there, then type enter. ...or does someone already have a patch handy? ;-) And: Don't let you be distracted from CSS support by this... Alrighty then, Thomas.
Hi On Wed, 22 Oct 2008 21:00:57 +0200, Thomas Orgis <thomas-forum@orgis.org> wrote:
I'm wondering if it would be difficult to add a neat little feature that other browsers usuall implement: X11 Mouse-mid-click pasting of an url in the body of the dillo window as a shortcut to x-ing the url field and pasting there, then type enter.
you can already paste a URL to the X icon in the urlbar and it will load... the midle click on the body is reserved to dragging the page cya higuita -- Naturally the common people don't want war... but after all it is the leaders of a country who determine the policy, and it is always a simple matter to drag the people along, whether it is a democracy, or a fascist dictatorship, or a parliament, or a communist dictatorship. Voice or no voice, the people can always be brought to the bidding of the leaders. That is easy. All you have to do is tell them they are being attacked, and denounce the pacifists for lack of patriotism and exposing the country to danger. It works the same in every country. -- Hermann Goering, Nazi and war criminal, 1883-1946
Am Wed, 22 Oct 2008 22:46:52 +0100 schrieb higuita <higuita7@yahoo.co.uk>:
you can already paste a URL to the X icon in the urlbar and it will load...
Indeed. Good to know.
the midle click on the body is reserved to dragging the page
Now that's funny. I have my middle button configured to emulate scroll wheels when pressed+dragging (EmulateWheel option in Xorg config). This is kindof convenient in all around X11, especiall with a trackpoint or trackball... The funny part is that this Xorg feature hides the middle click + dragging action from dillo -- it gets vertical and horizontal scroll events instead, while the single middle click that could paste the URL (let through by Xorg, because of EmulateWheelclickToo) is blocked from that by dillo, which prepares for movement of the mouse -- which is impossible to get in this config. So an unreachable feature of dillo (dragging) makes a different expected feature (middle-click pasting into window) unreachable. I envision making this configurable in dillo (deactivate dragging to activate pasting)... or recreate the EmulateWheelclickToo behaviour to use the isolated click for the differing action. But that being said -- this is a really minor issue compared to CSS support. Alrighty then, Thomas. PS: As a side note: dillo does not handle the horizontal scroll events:-( This is a more major issue than middle-click pasting, 'cause I got really used to 2D scrolling. I hope FTLK2 doesn't just swallow these.
On Thu, Oct 23, 2008 at 01:07:32AM +0200, Thomas Orgis wrote:
Am Wed, 22 Oct 2008 22:46:52 +0100 schrieb higuita <higuita7@yahoo.co.uk>:
you can already paste a URL to the X icon in the urlbar and it will load...
Indeed. Good to know.
the midle click on the body is reserved to dragging the page
Now that's funny. I have my middle button configured to emulate scroll wheels when pressed+dragging (EmulateWheel option in Xorg config). This is kindof convenient in all around X11, especiall with a trackpoint or trackball... The funny part is that this Xorg feature hides the middle click + dragging action from dillo -- it gets vertical and horizontal scroll events instead, while the single middle click that could paste the URL (let through by Xorg, because of EmulateWheelclickToo) is blocked from that by dillo, which prepares for movement of the mouse -- which is impossible to get in this config.
So an unreachable feature of dillo (dragging) makes a different expected feature (middle-click pasting into window) unreachable.
I envision making this configurable in dillo (deactivate dragging to activate pasting)... or recreate the EmulateWheelclickToo behaviour to use the isolated click for the differing action.
Agreed. -- Cheers Jorge.-
On Thu, Oct 23, 2008 at 01:07:32AM +0200, Thomas Orgis wrote:
Am Wed, 22 Oct 2008 22:46:52 +0100 schrieb higuita <higuita7@yahoo.co.uk>:
you can already paste a URL to the X icon in the urlbar and it will load...
Indeed. Good to know.
the midle click on the body is reserved to dragging the page
Now that's funny. I have my middle button configured to emulate scroll wheels when pressed+dragging (EmulateWheel option in Xorg config). This is kindof convenient in all around X11, especiall with a trackpoint or trackball... The funny part is that this Xorg feature hides the middle click + dragging action from dillo -- it gets vertical and horizontal scroll events instead, while the single middle click that could paste the URL (let through by Xorg, because of EmulateWheelclickToo) is blocked from that by dillo, which prepares for movement of the mouse -- which is impossible to get in this config.
So an unreachable feature of dillo (dragging) makes a different expected feature (middle-click pasting into window) unreachable.
I envision making this configurable in dillo (deactivate dragging to activate pasting)... or recreate the EmulateWheelclickToo behaviour to use the isolated click for the differing action.
Please try the attached patch and let us know how it works for you. If you're a developer you may send me a patch with the middle_click_dragscrolls_page=YES dillorc option that went set to NO acts as the attached patch. -- Cheers Jorge.-
On Fri, Oct 24, 2008 at 07:37:38PM +0200, Thomas Orgis wrote:
Am Fri, 24 Oct 2008 12:00:36 -0300 schrieb Jorge Arellano Cid <jcid@dillo.org>:
Please try the attached patch and let us know how it works for you.
Yay, it does!
If you're a developer you may send me a patch with the middle_click_dragscrolls_page=YES dillorc option that went set to NO acts as the attached patch.
Hm, you suggest me _adding_ that option. Took me a while to realize;-) Well, what about the attached patch...?
Good try! :) Please add the commented option in dillorc in the "USER INTERFACE SECTION" and resubmit with "diff -pru". (you can cut lines with starting with '?' too). That would be perfect! :-) -- Cheers Jorge.-
On Fri, Oct 24, 2008 at 08:36:52PM +0200, Thomas Orgis wrote:
Am Fri, 24 Oct 2008 15:14:54 -0300 schrieb Jorge Arellano Cid <jcid@dillo.org>:
Please add the commented option in dillorc in the "USER INTERFACE SECTION" and resubmit with "diff -pru". (you can cut lines with starting with '?' too).
Ok, second one.
Committed a modified version because it wasn't allowing middle click over links to work as usual. Also finally decided to use "middle_click_drags_page" as the option's name. Please test the CVS. -- Cheers Jorge.-
participants (4)
-
higuita7@yahoo.co.uk
-
jcid@dillo.org
-
onepoint@starurchin.org
-
thomas-forum@orgis.org