Notices


Reply
Thread Tools
tso's Avatar
Posts: 4,783 | Thanked: 1,253 times | Joined on Aug 2007 @ norway
#561
Now to make that generic...
 
Posts: 609 | Thanked: 232 times | Joined on Dec 2007 @ the end of my rope
#562
Originally Posted by aironeous View Post
When using tear and going to att.com/pay to pay my phone bill there is a text entry field to put in my phone number, tear only lets me get the first number in for each cell/field so i cant pay my phone bill with tear.

If you are using the Lcars theme any text/search,etc entry fields on websites are blacked out so you can't see what you are typing default browser doesn't do that.

If you are on a page at symbian-freak.com and there is a little youtube video embedded in the article such as here

http://www.symbian-freak.com/news/00...ce_package.htm

tear makes you wait until the whole video has been buffered before it will play. If you try to click on play it wont play. The default browser doesn't do that.
Anyway to shut down browserd when chosing tear because I see that thing running always when pulling up the list on task manager?

I hope this helps. I'm not a programmer so don't know how to use your bug report system.
not sure if this makes sense in this context, but i've been claiming for a while that the previous version of libwebkit handled flash better than current one. here's the older one:

http://bundyo.org/maemo/webkit/libwe...37-5_armel.deb
__________________
Maemofo
 

The Following User Says Thank You to lm2 For This Useful Post:
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#563
Originally Posted by xiojason View Post
I got tired of "Open URL" in Terminal (using the custom osso-xterm package that has the context menu re-enabled) firing up the MicroB browser, so I hacked things to make it use Tear instead.
[...]
Now, after restarting Terminal and dbus (rootsh /etc/init.d/dbus stop; rootsh /etc/init.d/dbus start), "Open URL" fires up Tear.
Lame as I am, I tried that with osso_rss_feed_reader.launch

Doesn't work

@xiojason, bundyo: could you have a look at that? I'd love to use tear as a page opener from the stock rss reader.
__________________
Ernesto de Bernardis

 
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#564
Originally Posted by Tomaszd View Post
Hey, we (Mer team) are testing Tear with the swfdec-mozilla package to provide some level of Flash support. The plugin seems to be running fine, where Flash content should be there appears a big PLAY button, but when it is pushed, the button disappears and... nothing appears. This is how it looks like in the terminal: http://imgur.com/GeZDI.jpg

Bundyo, any ideas what is going wrong here?

I'm asking this here, because it just might be a browser issue. The original Flash plugin from Adobe in Diablo is also quirky in Tear (you can't play anything until it fully buffers the whole video).

Edit: oh and yes, the plugin plays youtube videos just fine (Mer+Tear) in x86 VirtualBox.
Sadly, no. lm2 says the 41137-5 version is acting better with flash, but I changed almost nothing between that and the next version. Then again, I maybe changed the build switches... I'll check if that has anything to do with it.
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 

The Following User Says Thank You to Bundyo For This Useful Post:
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#565
Hmm, I'm not sure but looks like flash is performing better now...
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 
xiojason's Avatar
Posts: 36 | Thanked: 74 times | Joined on Jun 2009 @ Seattle, WA, USA
#566
Update: 2.2 -- steven676 is carrying browser-proxy forward with a rename to browser-switchboard with numerous enhancements, plus a GUI soon to come!

Update: 2.0: Applied several patches from steven676. Now only launches one window the first time Tear is launched, and more! (See page 100 of this thread.)

Update: 1.5: added handler for "mime_open" method that File manager uses to launch the browser when you try to open .html files. Also added some comments that may be helpful for people wanting to modify the script for other browsers (like in this thread: http://talk.maemo.org/showthread.php?t=29815).

Update: 1.4: you can now launch the system browser by choosing "Web" from the launcher menu. While the system browser is open, all links will be opened in the system browser and not Tear. Close the last system browser window to return control to Tear.

Update: 1.3 now works with links from Pidgin and feedcircuit -- be patient, it can take several seconds before Tear gets the message to open the page.

Update: Capitalization bug fixed (leftover from my original osso-xterm hacking). The latest version of the script is "version 1.1" as visible in the first few lines of comments.

Update: I've fixed the problem where it wouldn't open the intended link if Tear wasn't already running. And to avoid an issue where the program would not continue properly, I've removed the option that allowed it to stay resident in memory.

____

I've developed an alternative, more generalized mechanism for launching Tear instead of osso_browser.

This solution provides these benefits:
  • Requires no hacking of binaries!
  • Works for "Open URL" in osso-xterm.
  • Also works for osso_rss_feed_reader!
  • Should probably also work for most other applications that use the com.nokia.osso_browser.load_url or com.nokia.osso_browser.open_new_window dbus interfaces.

But it does have some downsides:
  • If Tear is not running, the URL is not loaded. You'll need to click again or make sure Tear is otherwise already running. (If you know how to fix this, I'd love to hear how.)
  • Requires python (and the memory to run python).
  • Is a little slow (but could be made faster at the expense of memory needed to keep the proxy script running in the background -- see below).

How to set it up:
Download the browser-proxy script from http://xio.com/maemo/browser-proxy.txt and put it in your home directory (/home/user).
Rename it to "browser-proxy.py":
Code:
mv browser-proxy.txt browser-proxy.py
Make it executable:
Code:
chmod +x browser-proxy.py
Edit the dbus service file for osso_browser:
Code:
rootsh vi /usr/share/dbus-1/services/com.nokia.osso_browser.service
Change the file to read: (The only line that changes is the Exec line.)
Code:
[D-BUS Service]
Name=com.nokia.osso_browser
Exec=/home/user/browser-proxy.py
Save the file.


At this point, you could disable the tablet-browser-daemon (browserd) service via the "Services" control panel if you like and reboot.

I'm not sure which Python packages you might need to install, if any, to make use of this script. Please let me know if you find out what pre-requisite packages it requires.

How to make it faster:
If you have memory to spare and you want to reduce the page-opening delay, you can delete the 'sys.exit(0)' line from the script and it will stay in memory, ready to handle requests more quickly.

Remember: if Tear isn't already running when attempting to open a link, Tear will start, but it will not show the page. Try opening the link again after Tear has started.

Last edited by xiojason; 2009-12-16 at 16:48. Reason: Bugfixes, version bump
 

The Following 16 Users Say Thank You to xiojason For This Useful Post:
Posts: 4,556 | Thanked: 1,624 times | Joined on Dec 2007
#567
Hmm I wonder if this would make it so links in Pidgin would open with TEar.
__________________
Originally Posted by ysss View Post
They're maemo and MeeGo...

"Meamo!" sounds like what Zorro would say to catherine zeta jones... after she slaps him for looking at her dirtily...
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#568
Originally Posted by xiojason View Post
How to make it faster:
If you have memory to spare
Oh, that will be a definite considering that browserd won't be running any more.

As for the tear not running problem, just pass the URL to /usr/bin/tear as an argument if tear isn't running.
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#569
xiojason's hack should definitely be integrated into dbus-switchboard!
__________________
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!
 
tso's Avatar
Posts: 4,783 | Thanked: 1,253 times | Joined on Aug 2007 @ norway
#570
the biggest issue i guess is that it needs to shut down browserd. meaning, one cant use mcrob on those odd pages that fail on webkit...

btw, whats the correct way to stop downloads? the x seems to crash tear, and the circled l seems to launch the default app for the file type...

Last edited by tso; 2009-07-13 at 22:56.
 
Reply

Tags
browserd fix, microb killer, webkit


 
Forum Jump


All times are GMT. The time now is 06:36.