View page source suggestions
Currently, the "View page source" right-click context menu isn't available below the rendered html -- so if the actual html page is very small and/or dillo's window is very big, right clicking the bottom half (for example) of the browser does nothing :\. Also, is there a way to have the source viewed in one's preferred text editor? :b (read: gvim)
Dennis wrote:
Currently, the "View page source" right-click context menu isn't available below the rendered html -- so if the actual html page is very small and/or dillo's window is very big, right clicking the bottom half (for example) of the browser does nothing :\.
This one happens to have some complexity. The problem is that there aren't any widgets down there and they are what send the signals to trigger the menus. Maybe it would be possible to increase a layout's top-level widget's size to fill a viewport (if the layout isn't inside a button [if there's a way to check that] and the widget is a textblock), or maybe that would break something. (I actually wonder whether the signaling could be routed back through the layout or something [perhaps making handling the case easier from fltkviewbase], since all of the connectLink()s always seemed redundant to me. That might go against Dw philosophy, though, whatever that might be exactly.)
Also, is there a way to have the source viewed in one's preferred text editor? :b (read: gvim)
Only the usual way :)
On Wed, Sep 16, 2009 at 03:48:06PM +0000, corvid wrote:
Dennis wrote:
Currently, the "View page source" right-click context menu isn't available below the rendered html -- so if the actual html page is very small and/or dillo's window is very big, right clicking the bottom half (for example) of the browser does nothing :\.
This one happens to have some complexity.
The problem is that there aren't any widgets down there and they are what send the signals to trigger the menus. Maybe it would be possible to increase a layout's top-level widget's size to fill a viewport (if the layout isn't inside a button [if there's a way to check that] and the widget is a textblock), or maybe that would break something.
Yes. Maybe adding an empty widget at the bottom may solve this.
Also, is there a way to have the source viewed in one's preferred text editor? :b (read: gvim)
Only the usual way :)
The idea for "View source" is to handle it with a dpi so we we can reuse dillo (it's faster and has a search function). Once this is done (which needs a review of dpip), it would be simple to adapt the dpi program to use an external editor (because a dpi program is an independent process, that in this case, would receive the source contents). I'm currently working deep in the dpi-framework. Hopefully some good news may come at the end of the month... -- Cheers Jorge.-
participants (3)
-
corvid@lavabit.com
-
dennisn@dennisn.dyndns.org
-
jcid@dillo.org