maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Webcat Browser (https://talk.maemo.org/showthread.php?t=92356)

Kabouik 2014-11-23 17:01

Re: [Announce] Webcat Browser
 
Quote:

Originally Posted by llelectronics (Post 1448655)
Actually webcat supports opening urls with arguments.
I guess the email app uses a special argument though which webcat does not understand.

Ah, nice to know Webcat does support arguments, but too bad those coming from Emails are not understood properly. Any idea on how to solve this? Any plan to do so? The vast majority of the URLs I tap on in my Jolla are from emails I read in the Email native app, and as the Email app does not allow copy/paste, there's no workaround to get the URLs in Webcat. :/

gexc 2014-11-23 17:22

Re: [Announce] Webcat Browser
 
1 Attachment(s)
Thanks for the work!

Here is the translation for simplified Chinese :D

llelectronics 2014-11-24 13:20

Re: [Announce] Webcat Browser
 
@gexc Thanks. I will add this to the git version asap.

@Kabouik I tested a few links and they work fine after replacing open-url.desktop with this:
Quote:

[Desktop Entry]
Type=Application
Name=Browser
NotShowIn=X-MeeGo;
MimeType=text/html;x-maemo-urischeme/http;x-maemo-urischeme/https;
Exec=/usr/bin/harbour-webcat '%U'
Can you test it for yourself if it works.

Kabouik 2014-11-24 16:02

Re: [Announce] Webcat Browser
 
Works like a charm, thanks a lot (well at least it looks like it does, but I have no data connection here to check, I can just see that the URL appears in Webcat's address bar)! You might want to add the trick in the first post and/or in the TJC thread about changing default browser.

llelectronics 2014-11-24 20:36

Re: [Announce] Webcat Browser
 
I added a comment in TJC and in the initial post here I linked that to it.

llelectronics 2014-12-15 13:04

Re: [Announce] Webcat Browser
 
Added a transifex site for translation: https://www.transifex.com/projects/p/webcat/

n900user259 2014-12-15 18:59

Re: [Announce] Webcat Browser
 
Quote:

Originally Posted by llelectronics (Post 1452255)
Added a transifex site for translation: https://www.transifex.com/projects/p/webcat/

Added Dutch as a language and added the translation. Now who's going to review it? I think the translation is done correctly and know I can mark it as reviewed myself but I think translations always need to be confirmed by at least two people who are also fluent in both languages.

Any takers?

llelectronics 2014-12-16 10:55

Re: [Announce] Webcat Browser
 
Quote:

Added Dutch as a language and added the translation. Now who's going to review it? I think the translation is done correctly and know I can mark it as reviewed myself but I think translations always need to be confirmed by at least two people who are also fluent in both languages.
Sometimes releasing a version even with some translation mistakes helps finding errors more easily.

As I plan to release an rc version 0.9.9 before the 1.0 release it should be no problem to just take your translation without anyone else reviewing.
I will do the same for the other languages aswell.
Lets see how it will work out.

n900user259 2014-12-16 11:49

Re: [Announce] Webcat Browser
 
Hi llelectronics, do I have to mark it as reviewed for you to be able to incorporate it?

llelectronics 2014-12-17 11:34

Re: [Announce] Webcat Browser
 
No that is not necessary.
I already added your translation to git.

Koiruus 2014-12-19 02:40

Re: [Announce] Webcat Browser
 
Is there any chance to link Webcat and Jolla Browser browsing histories? Or at least that Webcat could see Jolla Browser history?

llelectronics 2014-12-19 11:09

Re: [Announce] Webcat Browser
 
I need to investigate that but I think that sailfish-browser uses the mozilla way to save history. If its a sqlite database I only need to investigate how it is structured to make it show up also in webcat.
Though I am not sure how to access the database file without hardcoding the path somehow to $home/.mozilla/mozembed .
But needs investigation. Keep you updated

PS: found out they save as sqlite in $home/.local/org.sailfishos/sailfish-browser . Working on an integration.
P.P.S: Won't make it into webcat 1.0 though as the sqlite database access needs its own c++ class. I put it on the todo list for post 1.0

llelectronics 2014-12-21 12:00

Re: [Announce] Webcat Browser
 
Update: Early christmas present. Version 0.9.9 alias RC1 is out now: https://openrepos.net/content/llelectronics/webcat

Changelog:
  • Fixed download manager to download correctly and use utf-8
  • Use new layout in downloadmanager (status and error in seperate page)
  • Added translation support
  • Added german translation
  • Added translation for simplified chinese(Thx gexc)
  • Added czech translation (Thx to nodevel)
  • Added italian translation (Thx to Watchmaker)
  • Added dutch translation (Thx to Dude259)
  • Added spanish translation (Thx to carmenfdezb)
  • Fixed mediabar loading for youtube
  • Fixed youtube embeded support in yt.js
  • Added youtube embeded support for mediabar
  • Detect html5 video tag and show mediabar with playback and download option
  • Better youtube direct stream finding algorithm
  • Fix mediabar showing and hiding for various sources

llelectronics 2014-12-24 12:05

Re: [Announce] Webcat Browser
 
Another small christmas update for Webcat. Thanks to the harbour review process by Jere Hakala I could fix two more bugs regarding downloadmanager not getting the correct download url and history not immediately removing the entries from history (needed a restart on older versions, because the historyModel was not cleared)

Version 0.9.9-2 is out now.

https://openrepos.net/content/llelectronics/webcat

Merry Christmas :)

llelectronics 2015-01-07 15:04

Re: [Announce] Webcat Browser
 
Small update. As I had the chance to test webcat on a nexus 5 with sailfishos I noticed it doesn't scale correctly up.
Fix for resolution dependent graphical user interface is already in git.
I am now testing if it can still make it in the 1.0 release. (the ui on Jolla may change a tiny little bit when it comes to sizes of ui elements)

llelectronics 2015-01-23 16:54

Re: [Announce] Webcat Browser
 
Another small update. Added Cover Action support as requested. For now and for the 1.0 release it will use the same actions as the sailfish-browser. This means the two actions are opening a new tab and stop/reload a webpage.
All updated in git. I am still waiting for someone to finish the russian translation otherwise it won't be included in the 1.0 release as it is unfinished.

llelectronics 2015-01-31 19:38

Re: [Announce] Webcat Browser
 
Update: This is the big one.

Yeah Webcat finally reached version 1.0. It took me some time to get there but I think I got it as close as possible to perfection. (at least when you look at what is there available to work with [WebView in Qt 5])

The biggest achievement in this version besides some new and updated translations is a finally fixed mediabar that should not stuck on youtube and co anymore and a small but glorious hack to overcome the limitation of the statically set devicePixelRatio (that by default made every website and font unreadable on a mobile device).
This means you now should get the same fonts and scaling as with the default sailfish-browser on almost every mobile website. (I tested the most frequent ones I use)
But this also means for existing users of webcat to change their font settings to 16, 12 and 11. You can do so by applying the defaults in settings (which is not recommend if you have other customization done there) or manually

I am very excited about this release and all the help and feedback I got from you all :)
You are really one of the best communities out there.
I am also excited that there is now competition besides sailfish-browser in form of Web Pirate which is also based on WebKit but comes with a different user interface approach and a more cleaner code (I took only a quick look but man the developer knows to code clean)

As version 1.0 is out now I will work on future versions but at a slower pace then before.

Don't forget that there is a donate button :P


Hope you enjoy this version :)

Changes:
  • Updated spanish translation
  • Added Cover Action support (Open new tab & reload/stop)
  • Added russian translation
  • Added french translation
  • Added catalan translation
  • Fixed Mediabar (Bugs: hide/unhide,loading forever)
  • Allow to choose quality for yt videos by long press on play or download button
  • Added Credits for translators
  • Added Infobanner (showing when external app is about to be opened)
  • Add hack to override default devicePixelRatio
  • Set new default font sizes (set fonts to 16,12,11)

Get RPM (from openrepos)

nodevel 2015-01-31 20:19

Re: [Announce] Webcat Browser
 
Quote:

Originally Posted by llelectronics (Post 1459099)
This means you now should get the same fonts and scaling as with the default sailfish-browser on almost every mobile website.

Thank you, this is big! It now works great on all websites I regularly visit.

The 1.0 version still contains a bug I thought I reported (or someone else did), but cannot find it, so I'll try to reproduce it here. The browser does not seem to display special characters (ěščřž...) from my language correctly.

Here is a comparison between Webcat and Sailfish Browser with few of those occurrences underlined.

It happens in WebPirate as well, so it must be another QtWebkit issue.

llelectronics 2015-01-31 20:35

Re: [Announce] Webcat Browser
 
Yeah this is sadly a QtWebkit bug. I guess it uses some wrong font. Though the websites normally have the ability to set the font. So it must be a rendering issue.

bluefoot 2015-01-31 22:33

Re: [Announce] Webcat Browser
 
Can anyone comment on Webcat's performance on the Nexus 5 (under Sailfish obviously)?

I'm finding that Firefox in Android under Update 10 causes the out of memory killer to happen almost every time I use it, closing all open apps (except phone app).

This forces me to use Webcat pretty much exclusively, but it doesn't perform quite as well as Firefox Android and really feels like it could use a better CPU (and more RAM). Then of course there's the fact that it also triggers the out of memory killer very frequently, albeit not every time.

If Jolla are going to make Alien Dalvik available on Sailfish generally**, then I'll immediately and happily get rid of the Jolla. The RAM issues are too frustrating to deal with anymore .... and I'm also beginning to find the poor touch accuracy and responsiveness of the Jolla's screen an increasingly big issue, having spent more time on my Sony Z3c due to traveling****. If the Nexus 5 feels and performs significantly better, I'll swap to it.

** SailfishOS.org claims Android applications work on Sailfish, not the Jolla
**** Browser wifi log in still doesn't work on Jolla

cvp 2015-01-31 22:57

Re: [Announce] Webcat Browser
 
is it possible to add a youtube to mp3 converter? and a add blocker?

llelectronics 2015-01-31 23:04

Re: [Announce] Webcat Browser
 
@bluefoot:
First.
You know that you can turn off the oomkiller or tweak it not to kill so frequently.
See this thread: https://together.jolla.com/question/...t_ratio-value/

When it comes to the nexus 5 and the port of SailfishOS. The last time I got to test it 1.1.0.38 was the current version running there.(which also means oomkiller is disabled there) Not everything was working smoothly. I had problems especially with video playback and the gyroscope was not working. (so no potrait and landscape switching)
Also note that due to the higher resolution some apps might look strange as they use icons optimized for the Jolla Phone.
Thats also the case with Webcat 1.0 though the current master git is using a resolution independent interface and also includes the devicePixelHack, so that it should be the best browser on a nexus 5 currently as the default sailfish-browser on the nexus 5 also uses the 1.5 device pixel ratio originally meant for the Jolla Phone screen resolution.

So atm. the best SailfishOS device is the Jolla still.

llelectronics 2015-01-31 23:12

Re: [Announce] Webcat Browser
 
Quote:

Originally Posted by cvp (Post 1459139)
is it possible to add a youtube to mp3 converter? and a add blocker?

Ad Blocker is on the todo list. But all the solutions like a blacklist in javascript needs tons and tons of memory due to the large blacklist files. I don't see a workable solution atm that doesn't eat up all memory. (Also I heard that this is not a problem unique to mobile platforms but also on the desktop)

As for youtube to mp3 converter this needs further investigation.
It needs gstreamer support for this or a port of ffmpeg first to do this though. I hope someone else can jump in and create a nice little converter app that maybe can be hooked up in webcat.

HtheB 2015-02-01 01:38

Re: [Announce] Webcat Browser
 
Thanks for the update!
Can you please add the newest Firefox Browser Desktop agent?
And also, please add the ability to change the language of the browser instead of checking system language only.

Thnx!!!

tmi 2015-02-07 00:11

Re: [Announce] Webcat Browser
 
Odd, seems I cannot long press links in some websites anymore (e.g. TMO, Hackaday) while some sites work okay (e.g. Jolla users)

I think this might have started after the update to v1.0 but I'm not sure. I did try Load Defaults & Empty Cache/History in Settings and even a re-install after an uninstall. A long press with the same links in the default Browser and Web Pirate do work ok.

Vaarainjärvi 1.1.1.27, Patchmanager not installed.

pichlo 2015-02-07 06:35

Re: [Announce] Webcat Browser
 
Phew, so it's not just me! I noticed exactly the same thing. Except for me neither of the tmi's link works. Long or short press. The link gets highlighted but nothing happens. It started all of a sudden, as far as I can tell. No update to Webcat recently (that I know of).

It is a bit unfortunate as I had alredy almost completely replaced the default browser with Webcat.

llelectronics 2015-02-07 11:43

Re: [Announce] Webcat Browser
 
Thanks for reporting.
The issue is fixed in current git and in the newest rpm on openrepos.net (Version 1.0.1)

The link clicking and long pressing on tmo should work again aswell as the tagesschau.de website which shouldn't crash the webview.

Enjoy ;)

nodevel 2015-02-07 12:02

Re: [Announce] Webcat Browser
 
Thanks for the continuing work!

I noticed another thing - the ratio trick works on all websites I've tried, but doesn't seem to work on TMO (with its mobile skin). The text is very tiny; much smaller than in the default browser.

EDIT: Just for comparison, Webcat displays ~13 items in the list of active threads at once (one screen), but the default one only ~10.

llelectronics 2015-02-07 12:08

Re: [Announce] Webcat Browser
 
TMO has a mobile skin ?
Or do you mean the minimalistic skin ?
I guess it has todo something with the skin itself

pichlo 2015-02-07 12:33

Re: [Announce] Webcat Browser
 
I confirm the fixed links tap in 1.0.1-1.

I have a silly question though. How do I switch between tabs? I seem to remember using it in the past but either someting changed or that German guy who follows you around and hides things (Alzheimer) made me lose it.

llelectronics 2015-02-07 12:37

Re: [Announce] Webcat Browser
 
You click the tab button in the bottom left corner and then it switched to bookmarks and open tabs view.
So the tab bar at the bottom shows the open tabs and with a click on a tab you switch to it :)

pichlo 2015-02-07 12:47

Re: [Announce] Webcat Browser
 
Thanks. Silly me, I knew it was something obvious. To my defence, I can only say that the tabs are not always immediately obvious. Of course, once you know what to look for... ;)

BTW, I am typing this in Webcat. I wanted to attach a screenshot so I clicked on the Manage Attachments button which hihglighted but nothing else happened. Maybe still some left-over from the follow the links bug?

tmi 2015-02-07 18:46

Re: [Announce] Webcat Browser
 
1.0.1 did the trick, long press is working. Thanks for a fast response!

Quote:

Originally Posted by llelectronics (Post 1459935)
Enjoy ;)

I will! :)

n900user259 2015-02-07 21:37

Re: [Announce] Webcat Browser
 
Just a quick comment. I don't know if it's related but pressing the bar on an attached picture on TMO doesn't work. I mean the bar with the message 'Click this bar to view the full image.'. The text gets highlighted and you get the option to copy it but you can't use the link.

pichlo 2015-02-08 08:03

Re: [Announce] Webcat Browser
 
I confirm the yellow bar thingy.

temp 2015-02-08 18:52

Re: [Announce] Webcat Browser
 
Some websites are not displayed properly, for example this one:
http://read.84000.co/#!ReadingRoom/UT22084-046-001/6
The frames are not in the correct places (on the edges). I hope it is an easy fix. Regards

llelectronics 2015-02-09 11:34

Re: [Announce] Webcat Browser
 
Quote:

Some websites are not displayed properly, for example this one:
http://read.84000.co/#!ReadingRoom/UT22084-046-001/6
The frames are not in the correct places (on the edges). I hope it is an easy fix. Regards
Sorry no easy fix for this I guess as even scrolling seems to be broken here. I suspect the devicePixelRatioHack might be behind it and will test setting this on a blacklist and see if it works. But all in all this page is completely optimised for desktop usage and not intended for mobile usage. So I cannot promise much.

Quote:

Just a quick comment. I don't know if it's related but pressing the bar on an attached picture on TMO doesn't work. I mean the bar with the message 'Click this bar to view the full image.'. The text gets highlighted and you get the option to copy it but you can't use the link.
Yeah its not using the standard <a href=""> stuff for the link. (on the desktop try to right click it and it doesn offer a copy link option)
It is using window.open in javascript to open a link. I still need to figure out how to catch that javascript call in QtWebkit 3.0 . It was easy in QtWebkit 1.0 but 3.0 comes only with a quarter of the features that 1.0 came with so it might be another hack that I need to use for this :P

llelectronics 2015-02-13 18:13

Re: [Announce] Webcat Browser
 
Small update. The current git master has a workaround for window.open calls so that they are treated as normal href links with target:_blank.
That makes TMO embedded picture opening work aswell as some other sites using window.open (it should work with all).

As it is a small fix it will go into 1.0.2 as bugfix. I just need to collect some more fixes before releasing 1.0.2

llelectronics 2015-02-17 11:14

Re: [Announce] Webcat Browser
 
Update:
Bugfix Release 1.0.2 is out now.

Changes:
  • Fixed some links (js window.open) were not clickable (like images on talk.maemo.org)
  • Added show youtube title in mediabar if found
  • Memory optimizations (devicePixelRatio Hack, mediaDetection seperated from userscript.js)
  • Hide suggestion box when link clicked or enter pressed
  • Fixed typos in yt.js (prevented finding of some videos)

Get RPM on openrepos.net

pichlo 2015-02-17 21:40

Re: [Announce] Webcat Browser
 
Thanks, 1.0.2 has indeed fixed most yellow link banners. There is, however, some curious inconsistency. Some links open a new tab with the image, others - like e.g. this one - open a dowload manager.

There are also a few other minor things, like e.g. some buttons not working. Presumably another JS issue? The easier way to reproduce is trying to type a post to TMO, like this one. Most buttons in the toolbar do not work. They are highlighted like when pressed but nothing happens. The "Manage Attachments" button I reported earlier now does something, but only to open a blank page with a 404 error.

Other minor things:
  • Some small rendering issues, like e.g. the Quick Reply box below.
  • When typing in an edit box, the browser zooms in a bit too much. The stock browser (SB) IMO hits the spot about right.
  • Most user probably won't notice this, but the lucky few of us with a modified VKB with cursor arrows will: when in the edit box, the cursor keys scroll the cursor as expected, until the cursor hits the end. After that, it scrolls the whole screen.
  • Swiping up/down inside an edit box with a lot of text does not scroll the text. I need to use the arrows (which most people won't have).
  • The tabs in the tab manager are actually very nice, I would say better than in SB. But they are not immediately obvious. It confused me anyway ;) Some dividers might help.

Some positive things:
  • I like some controls, like check boxes. They look better than in SB.
  • The memory management is much better than in SB. No reloading when switching away from and back to a tab. Hurrah!
  • You can select and copy a paragraph and it works without patches and both in the page as well as in the edit boxes. Double yey!
  • There was some noticeable jerking when scrolling pages such as TMO up/down but that seems to have mostly gone in 1.0.2.
  • Double click on a paragraph to zoom in seems to work better than in SB.
  • I have not yet managed to reproduce the click lottery bug known from SB. It was mostly fixed in Uitukka but still present sometimes. Not in Webcat though.

For me, the positives by far outweigh the minor issues. Especially the text selection and no page reloading make Wbcat a clear winner over SB, which I have firmly relegated to a Launcher folder. Webcat is now proudly the browser of choice on my Jolla.

If I may have just one request, it would be the "make default" option. So clicking a link in an email opens Webcat instead of SB. Is that doable?


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

vBulletin® Version 3.8.8