Active Topics

 



Notices


Reply
Thread Tools
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#241
Originally Posted by Bundyo View Post
  • Popup menu changed to use the internal WebKit one. Since it is an ugly hack it doesn't detect links and images under the cursor. Works better for selections and input elements
I haven't looked at your latest code yet, but here's a Python right-button-click solution that you should translate 'cause links and images are detected:
Code:
class BrowserPage(webkit.WebView):
    def __init__(self, ...
        ...
        self.connect("button-press-event", self.on_button_press)
        ...
        try:
            self.connect("tap-and-hold", self.on_tap_and_hold)
            self.tap_and_hold_setup(None, None, 0)
        except:
            self.maemo = False
        ...
    ...
    def on_button_press(self, view, event):
        self._event = event.copy()
        ...
    ...
    def on_tap_and_hold(self, menu, widget=None, data=None):
        self.menudown = True
        self._event.button = 3
        gtk.main_do_event(self._event)
__________________
N9: Go white or go home

Last edited by daperl; 2009-03-01 at 21:30.
 

The Following 2 Users Say Thank You to daperl For This Useful Post:
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#242
WebKitGTK+ 1.1.1 is out today, http://blogs.gnome.org/xan/2009/03/01/webkitgtk-111/! Are we looking for some new tear very soon? Thanks again to Bundyo and the tear project contributors.

======================================
WebKitGTK+ 1.1.1

March 1, 2009 5:26 pm xan General
...What’s new in WebKitGTK+ 1.1.1?

- ABI compatibility with 1.0.3 was broken, so you will need to
recompile your application against 1.1.1
- Support for the CURL backend was dropped, libsoup is the only HTTP
backend now.
- webkit_get_default_session, to get the SoupSession used internally
by WebKit.
- ‘create-web-view’ signal, emitted when the creation of a new
window is requested.
- ‘navigation-policy-decision-requested’ signal, emitted when a
navigation to another page is requested.
- ‘mime-type-policy-decision-requested’ signal, emitted each time
WebKit is about to show a URI with a given MIME type.
- Support for the Web Inspector
(see http://webkit.org/blog/197/web-inspector-redesign/)
- HTTP authentication support, with optional gnome-keyring storage.
- New load functions: webkit_web_view_open, webkit_web_view_load_uri
and webkit_web_view_load_request. The old
webkit_web_view_load_string and webkit_web_view_load_html_string
are now deprecated.
- webkit_web_view_reload_bypass_cache
- webkit_web_view_{get,set}_custom_encoding, to override the
encoding of the current page.
- Improved stability and lots of bugfixes.
================================================== ==========
bun

Last edited by bunanson; 2009-03-01 at 22:30.
 
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#243
Originally Posted by bongo View Post
I think for you and Bundyo it's time to implement folders
Yeah, that's what path is for
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#244
Originally Posted by daperl View Post
I haven't looked at your latest code yet, but here's a Python right-button-click solution that you should translate 'cause links and images are detected:
Code:
class BrowserPage(webkit.WebView):
    def __init__(self, ...
        ...
        self.connect("button-press-event", self.on_button_press)
        ...
        try:
            self.connect("tap-and-hold", self.on_tap_and_hold)
            self.tap_and_hold_setup(None, None, 0)
        except:
            self.maemo = False
        ...
    ...
    def on_button_press(self, view, event):
        self._event = event.copy()
        ...
    ...
    def on_tap_and_hold(self, menu, widget=None, data=None):
        self.menudown = True
        self._event.button = 3
        gtk.main_do_event(self._event)
That should do quite nicely i think No need for the hack too.
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#245
Originally Posted by bunanson View Post
- Support for the CURL backend was dropped, libsoup is the only HTTP backend now.
That actually is my problem. They did it not even a week ago and Maemo 4 doesn't have support for libsoup 2.4 which is required. Everything else is already taken into account and some things are used. SVN41128 is only some days away from 1.1.1 anyway so it should do until I port libsoup and convert a number of things to use it instead of CURL.
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 

The Following 2 Users Say Thank You to Bundyo For This Useful Post:
bongo's Avatar
Posts: 291 | Thanked: 124 times | Joined on Feb 2006 @ Trier, Germany
#246
Originally Posted by Bundyo View Post
Yeah, that's what path is for
He He, I know.

What I thought about is to support a folder element in your database. Something like "bookmark_folder" and not just "bookmark" because it should be possible to create empty folders.
__________________
ongo bongo!
 
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#247
Oh, okay, didn't thought of that bookmark_folder is okay I think.
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 
Posts: 1,418 | Thanked: 1,541 times | Joined on Feb 2008
#248
Hello, Bundyo!

I have found an interesting problem with Tear. It looks like under certain circumstances, the SPACE key on the virtual keyboard stops working. So far, I have not found the exact preconditions for that, but here is how it happened:

1. Opened virtual keyboard while trying to write a response in the forum at n8xx.com.
2. Typed something using Roman letters (EN), SPACE works so far.
3. Switched to Cyrillics (RU) and tried typing, SPACE no longer works.
4. Switched back to EN, but SPACE still does not work.

Is this something you encountered before? Any way to fix it?
 

The Following 3 Users Say Thank You to fms For This Useful Post:
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#249
I think I encountered it once but wasn't able to reproduce it later. The only way to fix it was to restart Tear. Cyrillic wasn't involved though.
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#250
Originally Posted by fms View Post
It looks like under certain circumstances, the SPACE key on the virtual keyboard stops working.
I have also had this problem.

Originally Posted by qole View Post
I was having issues with N800 OSK too. Spacebar was non-functional.
My locale is en_GB and I have standard qwerty (virtual) keyboard.

Interestingly, I had the same problem when trying to get Hildon Input Method working in my Debian chroot. The new Mer implementation of H-I-M works much better.

Old Debian H-I-M screenshot:

__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!

Last edited by qole; 2009-03-02 at 18:53.
 
Reply

Tags
brower, browser, browserd fix, khtml, microb alternative, microb killer, tear, webkit, www


 
Forum Jump


All times are GMT. The time now is 10:43.