On Thu, Mar 12, 2009 at 11:07:58PM +0100, Andreas Kemnade wrote:
Hi,
On Wed, 11 Mar 2009 08:41:20 -0300 Jorge Arellano Cid <jcid@dillo.org> wrote:
On Tue, Mar 10, 2009 at 02:12:56AM +0100, Justus Winter wrote:
Hofmann Johannes wrote:
Hi Justus,
On Mon, Mar 09, 2009 at 05:59:31PM +0100, Justus Winter wrote:
Hey folks :)
I've got a new toy (the Neo FreeRunner) and dillo2 runs quite nicely on that little device, but there are some problems:
* there is no way to create bookmarks
What about the context menus in general? Is there no way to simulate a right mouse click? dillo uses context menus in many cases so we probabely need a general solution for this. There is a module for gtk2 (libgtkstylus.so) that simulates a right click when the user holds the left mouse button, that works quite nicely in practice.
Andreas suggestd the same, and it looks like a good solution. Even more if handheld users are accustomed to it.
That was actually what I wanted to implement at first. I looked through the fltk2 event handling code (most thoroughly with respect to the button widget) [...]
I have done a quick-hack for proof-of-concept purposes. It is a really dirty patch. But maybe it is a starting point for experimenting. If the button is released after pressing it more than two seconds, the menu will popup on the page. I have successfully added bookmarks without using the right mouse button.
Good. Please continue working on this line into a clean patch. Also wrapping it with a pref switch looks right: e.g. emulate_right_click
Maybe something like what's used for tooltip can be of help. This has to be asked in fltk general before discarding it.
If there's no way, a right-click button may be of help. This is left-click on RCB and the next left-click will be processed as a right click.
A button like that does already exist. It is a matchbox-panel app called xmonobut. It toggles the button you hit when you touch the touchscreen. I don't know why I don't get it work with the freerunner yet. On my Ipaq I have no problems with it.
Asking xmonobut developers may save some work. Anyway having the option in dillo doesn't hurt much. -- Cheers Jorge.-