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)

bongo 2009-03-08 15:26

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

Originally Posted by meizirkki (Post 269797)
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

It's the same with uploading files to itt.

@Bundyo
My next release will take some time. It will include a complete gui rewrite and the final set of features. I'll make it easy for TrueJournals to integrate my code into the bookmark plugin.
How's the progress on folder support? If you like I could try to provide a vala module to manage bookmarks.

Fionn 2009-03-08 15:48

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Is it possible to drop the toolbar when going to full-screen mode using Tear?

BrentDC 2009-03-08 15:54

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

Originally Posted by Fionn (Post 269812)
Is it possible to drop the toolbar when going to full-screen mode using Tear?

Yes. View > Show Toolbar >.

Fionn 2009-03-08 16:01

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

Originally Posted by BrentDC (Post 269814)
Yes. View > Show Toolbar >.

Alas I see no such option under the View Menu :(.
The options I get when clicking View are:
  • Back in history Escape
  • Forward in history
  • Reload Page
  • Zoom In F7
  • Zoom Out F8
  • Zoom to 100%
  • Full Screen F6
I'm using Tear 0.3 and the latest Diablo OS.
:confused:

BrentDC 2009-03-08 19:44

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

Originally Posted by Fionn (Post 269815)
Alas I see no such option under the View Menu :(.
The options I get when clicking View are:
  • Back in history Escape
  • Forward in history
  • Reload Page
  • Zoom In F7
  • Zoom Out F8
  • Zoom to 100%
  • Full Screen F6
I'm using Tear 0.3 and the latest Diablo OS.
:confused:

I'm afraid I was confused; I got so many browsers and engines running here, I think I was using the built-in browser with the Webkit backend (which has that option).

Sorry!

pipeline 2009-03-09 03:10

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
I just tried the browser today and it runs really nice, thanks :)

I was also looking into a way to hook into bookmarks but so far no luck.

I was able to associate html files saved on mmc to launch tear when clicked from file manager, but when choosing bookmark from the bookmark plugin i did not have any luck so far.

First, i'll assume tear does not implement dbus callbacks, so i was trying to associate dbus-switchboard, which would call tear.

After trying to modify the uri-action-defaults.list, I tried adding mime info to tear .desktop... now that i think about it i should probably have added mime assocs to dbus-switchboard desktop.

I also tried modifying the /usr/share/dbus-1/services/com.nokia.osso_browser.service to call out to dbus-switchboard.py and i temporarily changed dbus switchboard to register callback for com.nokia.osso_browser service... after hijaaking that service the bookmark would do nothing and nothing was logged as having tripped my callback. Could be i got the osso context name wrong... i dont know what that should have been.

I had to undo all my changes to ensure i have usable tablet but i'll try more later.

I think the best solution would be to find the code to the bookmark taskbar plugin but im not sure thats available.

andrewfblack 2009-03-09 04:59

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
tear has its own bookmark taskbar thing just need to install it

munky261 2009-03-09 05:11

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Can the bookmarks be organized yet? I really want manual organization, not just by date or alphabetically.

bongo 2009-03-09 07:11

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

Originally Posted by munky261 (Post 269990)
Can the bookmarks be organized yet? I really want manual organization, not just by date or alphabetically.

What are you thinking of? Categories? Search this thread for folder support (Look for TrueJournals and my posts)
Or just tell me what you need and I can try to implement it. A usable version of the bookmark manager will be ready in 2 weeks I think. You can try the prototype of the manager:
http://www.internettablettalk.com/fo...&postcount=234

munky261 2009-03-09 07:32

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
What Im wanting is just the ability to put them in whatever order I want and to be able to give them simple names. Example: ITT, Maemo.org, MySpace, etc. Ive got the plugin by truejournals installed, but it displays the entire web address, and it makes the bookmark menu take up the whole screen when I tap it. Ideally, with that plugin, what Id want displayed is just the simple name that I assigned to the bookmarks displayed along with an icon or something, similar to the built in bookmark plugin. You wouldnt happen to have a .deb for that manager would you, I dont know how to compile things. Also, aparently found a bug, when I am on IMDB and try to login, nothing happens when I tap the login button. Not sure why.

bongo 2009-03-09 07:46

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
You can find a newer deb for the bookmarks plugin in this thread. It displays icons (not the favi icon at this moment) and cuts the text so it doesn't take the whole screen any more. Looks as good as the microb plugin :)
I think the bookmark manager will be included into this plugin soon. This manager will support drag&drop so you can put your bookmarks in an order you want!

You can use the prototype by extracting and running it with 'python tear-bookmarks.py'. You can edit/delete/add bookmarks with this app. Look at my other posts for a full feature list

munky261 2009-03-09 08:08

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
How do i extract? I d/l the prototype to /home/user/MyDocs/.videos , exactly what do I need to type to be able to run it?

munky261 2009-03-09 08:18

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Also, when I tap on something to save it, say an image for example, where does it download to? I cant find anything I tap to download.

bongo 2009-03-09 08:34

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
munky:
Sorry, you have over 1000 posts so I thought you're an experienced user.

Open the command line
type:

wget http://kup.vdst-aachen.de/maemo/tear-bookmarks.tar.gz
tar xzvf tear-bookmarks.tar.gz
cd bookmarks
python tear-bookmarks.py

munky261 2009-03-09 08:38

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Its cool, Ive had all three tablets, and they have been my only experience with linux...just never done this before.

Bundyo 2009-03-09 10:32

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

Originally Posted by munky261 (Post 270024)
Also, when I tap on something to save it, say an image for example, where does it download to? I cant find anything I tap to download.

Currently it downloads to the dialog's default location - namely /home/user/MyDocs/

munky261 2009-03-09 10:47

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
I just checked...there is nothing there. I tried again, taped on the image, waited for the save image as dialog box to come up, tapped it, and still...nothing. Any ideas?

Bundyo 2009-03-09 11:10

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Did you check in the Download manager if it was downloaded? And you can also open it from there.

You can also choose the download location on each save. Not remembering it yet.

munky261 2009-03-09 11:15

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
nothing is showing in the download manager, and nothing at all comes up after I tap save image as.

bongo 2009-03-09 12:53

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
@Bundyo
What do you think about a seperate table for bookmarks?
This makes it much easier to change the position of a bookmark so i can implement drag&drop support.

munky261 2009-03-09 13:01

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Would it be possible, on the dashboard to have the bookmarks as the top tab showing instead of the history when you open it?

hvacengi 2009-03-09 13:32

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

Originally Posted by pipeline (Post 269960)
I just tried the browser today and it runs really nice, thanks :)

I was also looking into a way to hook into bookmarks but so far no luck.

I was able to associate html files saved on mmc to launch tear when clicked from file manager, but when choosing bookmark from the bookmark plugin i did not have any luck so far.

...

I think the best solution would be to find the code to the bookmark taskbar plugin but im not sure thats available.

Quote:

Originally Posted by andrewfblack (Post 269988)
tear has its own bookmark taskbar thing just need to install it

I'm actually more interested in figuring out how to make the system use tear to launch hyperlinks. For instance, when you click on a link in modest, it opens it in microb. Like you said Andrew, we can access bookmarks from the tear plugin, so what we need to figure out is if Modest, and any other apps that allow you to use hyperlinks, call Microb (or a launch script) directly or if it is a dbus call similar to a mime open. I plan on looking into it unless some one else already has, or does it before I free up some time.

munky261 2009-03-09 13:42

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Im using tear almost exclusively now...even though ive been used to ad-free browsing for a couple years on the tablets. One minor thing that amazes me in the difference with it and microb is when Im reading an article from usa today . com...which is frequent since it is where all my rss feeds come from, but I digest... When viewing an article with several pages of comments microb sometimes takes close to 20-25..sometimes 30 seconds to load all the comments each time I go to the next page of comments...Tear loads them all damn near instantly. I use the stylus friendly rss applet, I think im going to ask the developer if theres a way it can be made to open the links in tear when tapped on the homescreen applet.

hvacengi 2009-03-09 13:46

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

Originally Posted by munky261 (Post 270096)
Im using tear almost exclusively now...even though ive been used to ad-free browsing for a couple years on the tablets. One minor thing that amazes me in the difference with it and microb is when Im reading an article from usa today . com...which is frequent since it is where all my rss feeds come from, but I digest... When viewing an article with several pages of comments microb sometimes takes close to 20-25..sometimes 30 seconds to load all the comments each time I go to the next page of comments...Tear loads them all damn near instantly. I use the stylus friendly rss applet, I think im going to ask the developer if theres a way it can be made to open the links in tear when tapped on the homescreen applet.

At the very least, knowing how what method he uses to open the browser would be helpful for overriding the way the system responds.

BrentDC 2009-03-09 15:56

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
I think the browser is called with dbus; if I click a link in the RSS Reader with dbus-monitor running, I get this:

Code:

method call sender=:1.29 -> dest=com.nokia.osso_browser path=/com/nokia/osso_browser; interface=com.nokia.osso_browser; member=load_url
  string "http://www.internettablettalk.com/forums/showthread.php?t=27377&goto=newpost"
method call sender=:1.29 -> dest=com.nokia.hildon-desktop path=/com/nokia/hildon/hdwm; interface=com.nokia.hildon.hdwm.startupnotification; member=starting
  string "com.nokia.osso_browser"
method call sender=:1.8 -> dest=com.nokia.osso_rss_feed_reader_refresh path=/com/nokia/osso/rss_feed_reader_refresh; interface=com.nokia.osso_rss_feed_reader_refresh; member=autorefresh

I have a *feeling* the call is: /usr/bin/dbus-send --print-reply --dest=com.nokia.osso_browser /com/nokia/osso_browser com.nokia.osso_browser.mime_open string:"%s"

Where %s is the url. That is the call I use in my programs to load the browser to a specific page, and the behavior is exactly the same as with the built-in programs.

Bundyo 2009-03-09 19:18

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Yes, MicroB is called with dbus. No, Tear can't be called that way yet.

tso 2009-03-09 19:24

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
theoretically it can, by using dbus-switchboard, and redirecting the url to the tear command line...

and by going that route, nearly any browser that can take a url argument will be able to become the main browser...

Bundyo 2009-03-09 19:28

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Yes, but by using the command line you start a new Tear every time every one with its own memory space... :)

tso 2009-03-09 19:51

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
and thats different from hitting the plus and pasting a url?

Bundyo 2009-03-09 19:59

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


...

For now.

tso 2009-03-10 05:16

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
thats for clearing that up.

i had a little spark of insanity btw, what if the control of plugins and javascript could be done on a domain basis?

if anyone is familiar with the noscript plugin for firefox, one may know the general idea im going for.

munky261 2009-03-10 07:41

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Was wondering, if there is any way, possibly implemented as an opetion, to have tear override the theme for things on the webpages like text entry boxes, buttons, check boxes, things of that nature. I use the meta theme and all that stuff shows up as the blue instead of white like it should be. Is this a posibility at all?

Bundyo 2009-03-10 07:48

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Maybe if a theme changer is implemented for the whole Tear... Like the one mYTube has.

munky261 2009-03-10 07:54

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
that would be great, I dont need to see the colors of the theme im using on a webpage...i prefer everything look as it would (as far as all the box colors and text entry goes) if i was looking at it on the computer.

sg6652 2009-03-10 08:56

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
hi, can anybody show mw, how can i java in N810? i need to see the charts and tables in these 2 links - http://www.fxstreet.com/rates-charts/charts-panel/ and http://www.netdania.com/Products/liv...QuoteList.aspx. I manage tp google this - weblogs.java.net/blog/jfalkner/archive/2007/12/java_and_the_no.html - 22k, but do not understand. thanks

Bundyo 2009-03-10 11:18

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Check easy debian.

qole 2009-03-10 19:47

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
sg6652: Even with Easy Debian (or the newer version of Java in Easy Mer / Ubuntu), those Java charts are going to take a very long time to come up on your screen (probably more than a minute to load, maybe even 2 - 5 minutes!), and when they do, they won't fit -- you'll have to scroll around a lot even when in fullscreen (screenshot)... I suggest looking for other ways to get that info on your tablet...

munky261 2009-03-11 10:16

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Just wanted to make a post with pretty much the only problems Ive found with tear. Ive been using it exclusively(except for the problem sites) for around a week. So here is my list, not sure if some of these has been addressed, and hopefully in a reply you can tell if specific is have been/are going to be addressed.

1. Cant download images, etc. Nothing shows up in the download manager and I checked the directory you specified in a previous post.

2. Cant get to login screen on IMDB. When I tap the login button in the upper right hand corner, nothing happens.

3. The login box on USA Today.com shows up when tapped but when I enter my info, it doesnt actually log me in.

4. Also on USA Today.com, when viewing comments on an article it wont set the view to "view oldest first" and remember it.

5. As mentioned in a previous post, the theme elements showing up on a webpage(text entry fields, check boxes, etc) As you said would love to be able to set the theme for tear independently , like in mytube.

6. Doesnt login to full version of myspace, but does login to the mobile version just fine.

7. Doesnt always keep passwords in the entry field. Seems this happens when I view the page on another browser , then when I go back to that page in tear my password is gone.

8. Sometimes, when clicking links in a thread on ITT it opens a new window, but doesnt remember my ITT login on the new page. ...havent figured out what triggers this behavior.

9. The FN key has to be held down to get number , etc.

10. The shift key also has to be held down to get all caps.

11. The dpad doesnt work for switching to the next text entry field or link on a webpage.

Thats pretty much all that I can find...Im not even mentioning the lack of an adblock, because of the gain in speed Ive got I really dont give a damn at the moment LOL. Keep up the good work!!!!

Bundyo 2009-03-11 10:25

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Part of these issues sound like you run an older libwebkit...?

fanoush 2009-03-11 12:34

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
my issues (not sure if they were already mentioned)

bugs

- you can't paste (ctrl+v) from clipboard into url field
- shift i (uppercase i) zooms so you can't enter this letter into textarea field at all (!)
- sometimes fullscreen switch doesnt work until I switch window out and back in
- unchecking "enable plugins" does not stick when browser is closed and reopened, also sometimes checkbox is not there but Flash is shown in pages

wishlist
- page up/down keybindings (same as microb or shift or ctrl up/down)

otherwise it is really nice browser indeed, many thanks :-)


All times are GMT. The time now is 01:38.

vBulletin® Version 3.8.8