maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Tear 0.3 - Simple WebKit browser, now with Dashboard (https://talk.maemo.org/showthread.php?t=26475)

Un27Pee 2009-03-04 16:46

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
2 Attachment(s)
what about this on the normal one when i tap on the profile and the search, am using this version WebKit 41128 if this info helps someone

Laughing Man 2009-03-04 20:06

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
This might be a stupid question (but I couldn't find anything when searching for password or management). Has password management been implemented yet?

Bundyo 2009-03-04 20:18

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Quote:

Originally Posted by Laughing Man (Post 268975)
This might be a stupid question (but I couldn't find anything when searching for password or management). Has password management been implemented yet?

Nope.

About the popup issue - I suspect a javascript problem and will investigate.

dentra 2009-03-04 22:50

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Bundyo, thank you for your work.

I have a problem with phpbb3 forums when tear opens download dialog instead of post message.

tso 2009-03-04 22:57

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Quote:

Originally Posted by dentra (Post 269013)
I have a problem with phpbb3 forums when tear opens download dialog instead of post message.

i spotted basically the same thing, but in a invision powerboard forum.

could it be related to the way the sending of the post is implemented? it seemed to only happen when using the full page post writing interface, not the quick post interface...

Bundyo 2009-03-04 22:58

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
When clicking on send or when clicking on open reply?

tso 2009-03-04 23:49

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
send, iirc...

lemmyslender 2009-03-05 01:23

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Is there any way to force Tear to open links in a new window? Some links do and some don't.

Bundyo 2009-03-05 06:14

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Tap and hold -> Open in New Window?

meizirkki 2009-03-05 09:46

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
/me votes for the forum send bug

pelago 2009-03-05 12:02

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Just tried this for the first time last night. It is indeed faster than MicroB, although not quite as blazing as I was expecting given previous comments. E.g. www.bbc.co.uk homepage 17 seconds in MicroB, 13 seconds in Tear. Although simpler pages like Google search results were almost instant in Tear and a few slow seconds in MicroB.

Other than Webkit, is Tear all new code or is it a port of an existing browser? Is there a 'philosphy' behind it, e.g. small and light, or big and featuresome? Do you want feature requests on the garage site?

tso 2009-03-05 12:10

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
i suspect that the impression of speed comes from webkit/tear actually being done when the load bar disappears.

microb is like a jobs keynote taken to extreme, there is always 1 more thing that needs to be done with the page before the user can start scrolling around and look at the page content.

Bundyo 2009-03-05 12:58

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Tear is all new code, written in Vala, at the moment there's no philosophy behind it, other than easy to use. Probably will get cross-engine at some point, but its too early to talk about that anyway :)

lemmyslender 2009-03-05 13:01

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Bundyo

My tap&hold menu consists of: Inspect Element, Cut, Copy, Paste.

Am I just not hitting the link, or is there something else going on?

tso 2009-03-05 13:33

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
your using the latest webkit? deb found at the top of first post of this thread...

lemmyslender 2009-03-05 13:47

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Opps, still on preview 5, I will d/l and install 5.1 and give it a try.

I am using Tear almost exclusively now. Thanks for all the hard work.

Laughing Man 2009-03-05 16:17

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Hmm.. noticing an odd issue using the iPhone version of the Google Reader site. If I select mark all as read, it'll just get stuck on loading for a while, but if I then click the load more items, it'll load up instantly (while marking the ones I told them to mark all as read).

hvacengi 2009-03-05 16:58

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
First, thank you so much for this browser. It has brought me back to using the tablet as a real browser, needing to run to my computer only for having many sites open at the same time or for sites that need a large screen.

Quote:

Originally Posted by Laughing Man (Post 269157)
Hmm.. noticing an odd issue using the iPhone version of the Google Reader site. If I select mark all as read, it'll just get stuck on loading for a while, but if I then click the load more items, it'll load up instantly (while marking the ones I told them to mark all as read).

Speaking of odd issues with Google Reader, I can't seem to scroll by dragging in the browser window without "clicking" on one of the elements. I've noticed similar issues on other sites when I coincidently scroll using a hyper link. It doesn't click immediately, I can scroll up and down as long as I don't release, but when I release it "clicks" the link. For what it is worth, I see the same behavior in Microb.

Am I just too twitchy, or has any one else encountered the same thing? Is it possible to add a delay after scrolling before a tap on a link is registered? Or is this behavior strictly in the java that google (and/or another site) uses on the page?

Bundyo 2009-03-05 23:23

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Quote:

Originally Posted by tso (Post 269014)
i spotted basically the same thing, but in a invision powerboard forum.

could it be related to the way the sending of the post is implemented? it seemed to only happen when using the full page post writing interface, not the quick post interface...

This whole send download thing is very strange. WebKit decides what is a download by the content-type of the response, which for the message form is exactly the same when loading the first time and when clicking on send/preview. The only difference seems to be the form post http request.

Laughing Man 2009-03-05 23:59

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Quote:

Originally Posted by tso (Post 269108)
i suspect that the impression of speed comes from webkit/tear actually being done when the load bar disappears.

microb is like a jobs keynote taken to extreme, there is always 1 more thing that needs to be done with the page before the user can start scrolling around and look at the page content.

Haha, I think it's just fast because you can begin browsing the page before it fully loads. The problem with microb is if the page isn't coded correctly it'll take longer to load an element that wasn't done right (and often isn't needed to see the content).

dentra 2009-03-06 10:55

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Quote:

Originally Posted by Bundyo (Post 269280)
This whole send download thing is very strange. WebKit decides what is a download by the content-type of the response, which for the message form is exactly the same when loading the first time and when clicking on send/preview. The only difference seems to be the form post http request.

When I post message the forum returns:
HTTP/1.1 200 OK
Date: Fri, 06 Mar 2009 10:44:10 GMT
Server: Apache/2.0.63
X-Powered-By: PHP/5.2.6
Cache-Control: private, no-cache="set-cookie"
Expires: 0
Pragma: no-cache
Content-Encoding: gzip
Vary: Accept-Encoding
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Transfer-Encoding: chunked

As I can see the Content-Type is valid, but maby other headers say something more to you.

pelago 2009-03-06 12:07

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Quote:

Originally Posted by tso (Post 269108)
i suspect that the impression of speed comes from webkit/tear actually being done when the load bar disappears.

microb is like a jobs keynote taken to extreme, there is always 1 more thing that needs to be done with the page before the user can start scrolling around and look at the page content.

Ah yes, I hadn't noticed this and hadn't added it into my calculations. Taking that into account, Tear is indeed considerably faster than MicroB.

Snoshrk 2009-03-07 02:26

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
@Bundyo - Dude, this is an awesome addition to my N800! :D

Thank You!

Now for the silly question: :o

I know in microb that I can open a html file stored on MMC1 (N800)

Is this possible in Tear?

I've tried: file:///mmc1/.../bookmarks.html (copied from microb) with no luck.

Thanks
M

daperl 2009-03-07 05:59

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Quote:

Originally Posted by Snoshrk (Post 269544)
@Bundyo - Dude, this is an awesome addition to my N800! :D

Thank You!

Now for the silly question: :o

I know in microb that I can open a html file stored on MMC1 (N800)

Is this possible in Tear?

I've tried: file:///mmc1/.../bookmarks.html (copied from microb) with no luck.

Thanks
M

It should work. Did you forget 'media' in front of '/mmc1'?

luca 2009-03-07 10:40

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Could you add a "Open link in background window" to the tap'n'hold menu?
With it tear would be almost perfect :)

Snoshrk 2009-03-07 14:55

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Quote:

Originally Posted by daperl (Post 269562)
It should work. Did you forget 'media' in front of '/mmc1'?

Hmmm. I thought I copied and pasted.... but at this point I don't really remember. I'll re-try typing it directly:)

debudebu 2009-03-07 15:08

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
this is a nice browser. i've tried the webkit engine for microb and it crashes. it also doesn't seem quite as fast as tear. is there a way to make tear my default browser?

tso 2009-03-07 15:11

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Quote:

Originally Posted by debudebu (Post 269607)
this is a nice browser. i've tried the webkit engine for microb and it crashes. it also doesn't seem quite as fast as tear. is there a way to make tear my default browser?

you could retry the webkit-eal, the crash issue is fixed now...

as for making tear default, from what i can tell, there is no easy way :(

daperl 2009-03-07 16:26

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Quote:

Originally Posted by tso (Post 269608)
you could retry the webkit-eal, the crash issue is fixed now...

as for making tear default, from what i can tell, there is no easy way :(

If I were a hacker and I wanted to play around, the first thing I would do is make a cp -a of /usr/bin/browser.launch to browser.launch.orig. Then I would make sure that my new browser could take an url as a command-line argument. I would then copy my new browser to /usr/bin/browser.launch and see if that worked. If that fails, maybe I would then do a

strings browser.launch.orig | sort | less

to see what that reveals. It seems to reveal a few things. I would guess there might be one or two dbus messages to catch.

Something similar could probably be done with bookmark.launch.

tso 2009-03-07 16:35

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
if there are dbus messages, then maybe dbus-switchboard can be poked into handling it?

daperl 2009-03-07 16:54

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Quote:

Originally Posted by tso (Post 269623)
if there are dbus messages, then maybe dbus-switchboard can be poked into handling it?

They're both just wrapped-up stand-alone programs shared libraries; nothing no one but qwerty12 should be the wiser.

EDIT: see above

Much thanks to qwerty12: Binary Officer, badge #012

qwerty12 2009-03-07 17:16

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Quote:

Originally Posted by daperl (Post 269622)
If I were a hacker and I wanted to play around, the first thing I would do is make a cp -a of /usr/bin/browser.launch to browser.launch.orig. Then I would make sure that my new browser could take an url as a command-line argument. I would then copy my new browser to /usr/bin/browser.launch and see if that worked. If that fails, maybe I would then do a

strings browser.launch.orig | sort | less

to see what that reveals. It seems to reveal a few things. I would guess there might be one or two dbus messages to catch.

Something similar could probably be done with bookmark.launch.

While your idea sounds good and correct, you'll want to replace browser instead. browser.launch is a shared "library" that maemo-invoker runs (/usr/bin/browser is a symlink to /usr/bin/maemo-invoker) because it's built to use maemo-launcher which preloads gtk stuff and is said to make a gtk program launch faster.

Snoshrk 2009-03-07 18:05

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Quote:

Originally Posted by Snoshrk (Post 269605)
Hmmm. I thought I copied and pasted.... but at this point I don't really remember. I'll re-try typing it directly:)

Update: looks like the decongestants hit me harder than I thought...

file:///media/.../bookmarks.html worked!

Thanks

daperl 2009-03-07 18:09

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Quote:

Originally Posted by qwerty12 (Post 269629)
While your idea sounds good and correct, you'll want to replace browser instead. browser.launch is a shared "library" that maemo-invoker runs (/usr/bin/browser is a symlink to /usr/bin/maemo-invoker) because it's built to use maemo-launcher which preloads gtk stuff and is said to make a gtk program launch faster.

Oh, yeah, that! I've only done a statusbar thingy, but I think the resultant .so files are just a switch when building. I think... If so, then I also think you just have to put it in the proper /usr/lib/hildon-... directory. Anyway, thanks for setting me straight.

But because of the above, I still would want to change "browser.launch" and leave "browser" alone 'cause I want to get all that launcher stuff for free. Right?

Maybe I should do more checking and less thinking...

qwerty12 2009-03-07 18:17

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Quote:

Originally Posted by daperl (Post 269640)
But because of the above, I still would want to change "browser.launch" and leave "browser" alone 'cause I want to get all that launcher stuff for free. Right?

The application has to be built for maemo-launcher (not terribly experienced on this - I only have ever modified one program to be compatible with maemo-launcher) specifically; so replacing browser.launch isn't likely to work because maemo-invoker expects a shared library and you aren't gonna get a GTK speed increase on a script :)

daperl 2009-03-07 18:30

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Quote:

Originally Posted by qwerty12 (Post 269643)
The application has to be built for maemo-launcher (not terribly experienced on this - I only have ever modified one program to be compatible with maemo-launcher) specifically; so replacing browser.launch isn't likely to work because maemo-invoker expects a shared library and you aren't gonna get a GTK speed increase on a script :)

That's what I meant. Build a shared library. Like the ones that "Hello World" spits out. But a general wrapper for script invocation is a great idea. Or maybe just a Python invoker wrapper. Isn't that kind of what "osso_games_startup.launch" is? Or am I missing your/the point entirely?

tso 2009-03-07 23:39

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
just had two things show up...

1. to paste something into a text area, i had to use the long tap menu. the paste option of the osk didnt work (seems to work in the full screen one tho. bu that keyboard has its own issues).

2. sometimes the dashboard comes up empty when opening a new window using the + button.

debudebu 2009-03-08 14:31

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
hey, you probably know this, but some link buttons on facebook don't work in tear, such as the 'post' button for posting a message to someone's wall. also, the double tap, drag to select text only selects one word, and it won't copy after being selected.
great browser. my tablet feels new again.

Bundyo 2009-03-08 14:35

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Quote:

Originally Posted by debudebu (Post 269794)
hey, you probably know this, but some link buttons on facebook don't work in tear, such as the 'post' button for posting a message to someone's wall. also, the double tap, drag to select text only selects one word, and it won't copy after being selected.
great browser. my tablet feels new again.

Selection in Tear is done by holding down the menu key and just dragging. Actually while the menu button is down, the kinetik scrolling is off so you might fix something else this way :)

meizirkki 2009-03-08 14:38

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
when i try to edit maemo wiki, tear asks me if i want to download something like php=??=bla09, when i press the save button


All times are GMT. The time now is 13:07.

vBulletin® Version 3.8.8