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)

n900user259 2015-02-21 08:42

Re: [Announce] Webcat Browser
 
Just wanted to mention a minor bug. When pressing 'clear cookies' the app restarts.

llelectronics 2015-02-21 09:08

Re: [Announce] Webcat Browser
 
Yes this is intended. In git master I already switched to a new clear cookies function which dies not need a restart. It will be coming in an update.

pichlo 2015-02-21 09:47

Re: [Announce] Webcat Browser
 
Sailfish update 11 has brokenated some visuals. The small square in the bottom left that shows the number of tabs is now showing up empty. It only displays the number briefly while pressed.

llelectronics 2015-02-21 10:28

Re: [Announce] Webcat Browser
 
Thanks for reporting. This is already fixed in master :)

tmi 2015-02-22 12:52

Re: [Announce] Webcat Browser
 
FEATURE REQUEST:
Any chance of an option in the settings to change the places of the New Tab button (+) and the Close Tab button (x)?
(This would probably also mean moving the (+) to the right side of the tab when only 1 tab is open)

I usually have a bunch of tabs open and when I'm done browsing/reading one, I close it and move on to the next tab to its right. This means I either slide back&forth to the (x) button (rare) or use the pulley menu (almost always). Both of these actions seem a bit "big" or "tasking" for as simple thing as closing a tab. In my situation having the (x) to the left of tab row would solve this.

Why can't I then start from the rightmost tab and move one by one to the left? Sure I can, but think of a situation where I have a feed of news subjects open in the first tab and I then open new tabs (say 8-10) in the background from it. All the new tabs open from left to right and it feels natural to also go through them from left to right.

Also, I've learned that in general, I have more use for the (x) than the (+) so switching their places would make perfect sense for me. Having the switch as an option would not bother those who are happy with the placement as they are now.

llelectronics 2015-02-22 14:03

Re: [Announce] Webcat Browser
 
@tmi: Note you don't have to swipe to the right to find and hit the X button to close a tab. You also don't need to use the pulldownmenu either.
You can just press and hold on one tab until the notice pops up that you need to swipe up to close this tab.
If you do that the tab should be closed.
It should allow you to go from left to right aswell in the tabs more easily.

tmi 2015-02-22 15:05

Re: [Announce] Webcat Browser
 
Quote:

Originally Posted by llelectronics (Post 1461673)
You can just press and hold on one tab until the notice pops up that you need to swipe up to close this tab.

Ah, yes... I had forgotten this. It may be due to the fact that it feels to be quicker to close the tab from the pulley than to wait for the pop up while holding. It's not quite what I was after, but thank you for the reminder.

I still stand by the idea of switching (+) & (x). The idea is not new to me, I had it since the first couple of tries with Webcat. I didn't mention it before because I figured I'd "see the light" eventually. Well, I haven't, really, but I have more or less learned to live with closing with the pulley. Once in a while, it occurs to me that the (+) could be put to "better" use.

I don't mean to strong-arm anything. You implement what you see fit.
Thanks for noticing! :)

llelectronics 2015-02-24 19:08

Re: [Announce] Webcat Browser
 
Just to keep you updated (if your not following my git commits [btw. you should :P])

I added the simple adblocking system from WebPirate (thx for that) and did some ui improvements here and there. This means the globally active ProgressCircle will now circle around in the gotobutton/tabbutton in the toolbar (this looks great with the new tab icon). I implemented a loading bar above the toolbar and put the stop + reload button back into the toolbar.
To make more space for it the toolbar urltext is now shortened (http[s]://www is basically cut out of it) and only appears when the urltext box is active.
To visually show when you are surfing on https:// sites the urltext switches to a lightgreen color.
The 'Clear Bookmarks' Button was added as requested and can be found in the settings under privacy (be aware clearing all out will automatically add the default bookmarks on reboot. If you don't want them add a bookmark before closing)
I also added support for multiple embedded youtube videos in the mediabar. As I rarely stumble upon such sites offering multiple embedded youtube videos I made a small video demonstration which also shows some of the other UI improvements (without directly talking about them):

https://www.youtube.com/watch?v=igrz...ature=youtu.be

The next version of webcat will be another major release.
And version 2.0 will include some more features aswell and will offer a device independent user interface so all users on non Jolla devices should have a pretty good scaled browser.

tmi 2015-03-04 20:58

Re: [Announce] Webcat Browser
 
Just remembered a little annoyance:
When typing IP number as an address everything works as suspected... say 192.168.0.1.
But when including the port (192.168.0.1:80, 192.168.0.1:9091, take your pick) then Webcat defaults the protocol to "file:" instead of "http:".
Not a big thing really to type in manually, but I always forget this when in my home LAN.

llelectronics 2015-03-04 21:45

Re: [Announce] Webcat Browser
 
New big version is coming.
The 1.9 devel version is out now in preperation of the 2.0 release with plenty new features and a revamped user Interface.

These are the new Features in an overview:
  • Reduce treshold for hide/show toolbar to 500
  • Prepared for new tab icon in 1.1.2
  • Detect click on video files and open them in video player
  • Updated UserAgents
    • Match default one with WebPirates Mobile User Agent
    • Firefox Desktop User Agent upgraded to version 35
  • Added simple adblocking system (very basic no loading of bloated rules list)
  • Added icons on overlay when long pressed on tabbuttons in Bookmarks/Tab Page
  • Added clear bookmarks button in settings (if left empty default ones are added after restart)
  • Revamped user interface:
    • Added Stop / Reload button in toolbar
    • Strip urltext when not in focus
    • Highlight urltext color when on https
    • Removed bar under urltext
    • Added loading rectangle above toolbar
    • Moved Progresscircle into toolbar on gotoButton
    • Added Horizontal Scroll Decorator
  • Added support for multiple embedded youtube videos (press on title to switch between)
  • Added simple file:/// protocol file manager
  • Use file manager as file picker component
  • Added about:, about:config, about:file shortcut handler
  • Added integrated Video Player (based on a stripped down version of LLs Video Player)
  • Use integrated Video Player by default (Allow usage of LLs Video Player if detected and External Video Player ticked in settings)
  • Fixed historySearch when entering url in urlbox
  • Fixed open rtsp, rtmp & mms opening
  • Added Dax89 developer of WebPirate to Credits in AboutPage
  • Added improved DownloadManager (with download list able to click and open downloaded files)
  • Added Show Downloadsfolder in DownloadManager (opens up file manager)
  • Use title as filename for youtube video downloads
  • Added support for 302 redirect links in DownloadManager

You can find the RPM on openrepos

For all translators. Attention there is a new translation file on transifex.
So you need to update your translations.

This version will go through internal testing and all users who download it via openepos. Harbour will only get the 2.0 final release not this 1.9 devel release.

Videodemo: http://youtu.be/WZXlqOrLKK8

n900user259 2015-03-06 16:31

Re: [Announce] Webcat Browser
 
Bug in Webcat version 1.9.9.
Copy selected text does not work. The Copy button doesn't work correctly.

Webcat:
1) Use a LONG press on a piece of text
Result 1) Text gets sort of highlighted with a blue border. This selection is copied to the clipboard and can be pasted where you want it.

2) Tap the highlighted text.
Result 2) Highlighted text gets displayed in a separate window. You have the option Copy or Cancel.

3) Tap on the text.
Result 3) The window the text is shown in activates (keyboard appears).

4) Long press a word and expand the highlighted parts at will and select the option Copy.
Result 4) BUG: The selected words should be copied to the clipboard which you can use to paste where you want it.
However the Copy option does not function correctly in this instance. It only works the first time you use it during a Webcat session.

llelectronics 2015-03-06 17:04

Re: [Announce] Webcat Browser
 
Quote:

BUG: The selected words should be copied to the clipboard which you can use to paste where you want it.
However the Copy option does not function in this instance. As in, it doesn't do anything.
Can you elaborate on this bug.

If you mark something in the text box it automatically is copied to the clipboard. This works also in Webcat.
But if you have something marked and slide right to copy it will copy the whole text that is shown in the text box and not only the marked part. (Did you mean that behavior ?)

n900user259 2015-03-06 18:56

Re: [Announce] Webcat Browser
 
Quote:

Originally Posted by llelectronics (Post 1463270)
If you mark something in the text box it automatically is copied to the clipboard. This works also in Webcat.

This I didn't even know. I checked it and yes it works.
A long press on text marks it with a blue border. This is copied to the clipboard.

Quote:

But if you have something marked and slide right to copy it will copy the whole text that is shown in the text box and not only the marked part. (Did you mean that behavior ?)
I don't quite understand what you mean with slide right.
If I tap the text within the blue border the text is shown in a separate window which comes from the right ( I guess you mean this).
When I highlight a word or a sentence from the text in this window and press Copy, it does not copy the highlighted part to clipboard every time (saw it working just now but only once).

Edit: Tried it a few times. The Copy button only works the first time you use it during a session. The times after that it doesn't work and you can only paste the result of the first initial copy action.

llelectronics 2015-03-06 21:59

Re: [Announce] Webcat Browser
 
The copy button copies not the marked text but all the text in the slide in new pages textbox.
If it does not copy on second or third try then it is clearly a silica bug as I use the clipboard and its copy function there.
It is wanky since version 1.0 and I guess there is an error in lipstick but I am not sure.

Update: Updated the package on openrepos due to a slight packaging problem that caused some qml files to be older than they actually should be.

Get the RPM from openrepos

Maybe the copying works better with this version.

n900user259 2015-03-07 09:36

Re: [Announce] Webcat Browser
 
It looks like it's working.
You don't even need to use the Copy button anymore.

1) Use a LONG press on a piece of text
Result 1) Text gets highlighted with a blue border. This selection is copied to the clipboard and can be pasted where you want it.

2) Tap the highlighted text.
Result 2) Highlighted text gets displayed in a separate window. You have the option Copy or Cancel.

3) Tap on the text.
Result 3) The window the text is shown in activates (keyboard appears).

4) Long press a word and expand the highlighted parts at will.
Result 4) Everything highlighted is copied to the clipboard which you can use to paste where you want it.

llelectronics 2015-03-17 12:27

Re: [Announce] Webcat Browser
 
Update: 2.0 final is out now. Get RPM from Openrepos

Some speed improvements were added and bugs were fixed in this version that were found in the 1.9.9 RC

I also submitted this version to harbour.

Enjoy.

llelectronics 2015-05-13 15:01

Re: [Announce] Webcat Browser
 
Update: 2.0.1 is out now.

Switched to Youtube API v3 for retrieving Youtube Video titles.
Youtube API v2 was turned off by Google.
API v3 has a quota and the key is shared with LLs Video Player.
If you encounter issues retrieving the Youtube Videotitle please tell me so I can check if it is hitting the quota limits.

Get RPM from here

Should land soon in Harbour

tmi 2015-05-13 18:32

Re: [Announce] Webcat Browser
 
I actually had this even before the update, but every file that I download ends up in the Downloads folder named as 'download' (and if it already exists then 'download0', 'download1'...) regardless of the original name.

Probably not relevant but I have private browsing on.

pichlo 2015-05-13 19:46

Re: [Announce] Webcat Browser
 
@tmi, you are not alone. It would be nice to have the proper file name.

llelectronics 2015-05-13 20:41

Re: [Announce] Webcat Browser
 
@tmi & @pichlo . Thanks for noticing.
Should be fixed with new rpm now.

Get RPM here

Also fixed is the 1.1.4 edge swiping behavior when starting in landscape should be fixed now

tmi 2015-05-13 21:17

Re: [Announce] Webcat Browser
 
Quote:

Originally Posted by llelectronics (Post 1470270)
@tmi & @pichlo . Thanks for noticing.
Should be fixed with new rpm now.

Fast, but no cigar. It seems now I can download once with a filename and every following different download gets the same filename (ending in files separated only in name by ending numbers).

I'll test some more...

EDIT: No change after closing Webcat or even a reboot. The first filename downloaded after starting the app sticks with the other downloads.

llelectronics 2015-05-14 09:48

Re: [Announce] Webcat Browser
 
I kind of missed that bug.
Thanks for reporting.
Should be fixed with the newest RPM.

Get RPM

tmi 2015-06-12 16:43

Re: [Announce] Webcat Browser
 
(Sorry, if this has come up before. At least I couldn't find anything with a quick search)

ATM, the only time the browser goes straight to bookmarks is at launch when Homepage is set to about:bookmarks. I find myself going between about:blank and bookmarks unnecessarily often with new tabs and I want to reduce that overhead.

Most of the time I'd like to open several tabs that should load pages that I have bookmarked. With every new tab, the browser first opens about:blank, then I have to go back to bookmarks to choose one, the browser opens the page and starts loading and I have to go back to bookmarks to repeat the process for each additional tab.

[Feature request]: Either open every new tab straight to bookmarks or make this optional... possibly between Homepage, about:blank & about:bookmarks.
As an additional option, I am hoping for a setting that would allow the bookmarks page to stay open even after a bookmark to load has been chosen for a tab.

llelectronics 2015-06-13 10:59

Re: [Announce] Webcat Browser
 
Yeah thats an interesting use case you describe there.

Currently it is possible to achieve what you want when you have bookmarks and hold on an entry and choose load in new tab. This will load the bookmark in the background and the bookmarksmenu stays open.
Not sure if you want to change your workflow to this. But you might want to try that.

tmi 2015-06-13 18:11

Re: [Announce] Webcat Browser
 
Quote:

Originally Posted by llelectronics (Post 1473468)
Yeah thats an interesting use case you describe there.

Sometimes, I do have my quirks...

Quote:

Originally Posted by llelectronics (Post 1473468)
Currently it is possible to achieve what you want when you have bookmarks and hold on an entry and choose load in new tab. This will load the bookmark in the background and the bookmarksmenu stays open.
Not sure if you want to change your workflow to this. But you might want to try that.

Whaddayaknow, somehow I have totally missed that possibility to open new tabs! As a matter of fact, it basically eliminates my request. There seems to be a minor visual bug, when the active tab indicator (blue line) grows to the length of the rest of the tabs with every other tab opened and shrinks back to the original one in between.

Ok, two more tab related wishes (bare with me):
1) Could the newly opened tab (by holding a bookmark) become the active tab and when more than 2-3 tabs are open, the tab bar would slide to the left so the active tab is visible despite the number of opened tabs?
(Alternatively, the new tab could open next to the (+) button and be active but maybe some would feel this confusing)

2) When closing tabs, could the bookmarks view stay open? I can see that people might prefer the current behavior so this might need to be an option to choose. I tried all 3 ways to close a tab and none of them stay on the bookmarks view.

llelectronics 2015-06-18 08:55

Re: [Announce] Webcat Browser
 
Quote:

1) Could the newly opened tab (by holding a bookmark) become the active tab and when more than 2-3 tabs are open, the tab bar would slide to the left so the active tab is visible despite the number of opened tabs?
(Alternatively, the new tab could open next to the (+) button and be active but maybe some would feel this confusing)
I will take a look at it. It should be possible. Though there was an request that explicetley did not want that.
So I have to take a look if I will implement it maybe in the settings.

Quote:

2) When closing tabs, could the bookmarks view stay open? I can see that people might prefer the current behavior so this might need to be an option to choose. I tried all 3 ways to close a tab and none of them stay on the bookmarks view.
This is technically not possible with the way the tabs are implemented. The bookmarksview is part of the current opened tab. So it will get destroyed if you destory the current tab.
And to destory any tab it becomes the active tab by default.
I think I was not thinking about that scenario when I wrote this tab implementation.

carepack 2015-06-18 09:21

Re: [Announce] Webcat Browser
 
The most important wish from my side would be a share options to jolla acccounts. Especially share to linksbag aka pocket. Everytime I visit a site with webcatand found it interesting but haven't time to read i have to switch the browser to put it in my pocket.

Hope this can be implemented. Thx for you're work

llelectronics 2015-06-18 10:51

Re: [Announce] Webcat Browser
 
Quote:

I will take a look at it. It should be possible. Though there was an request that explicetley did not want that.
So I have to take a look if I will implement it maybe in the settings.
Ok I checked it.
And sadly that is not possible without rewriting the whole tabbar implementation.
So it won't make it.


Quote:

The most important wish from my side would be a share options to jolla acccounts. Especially share to linksbag aka pocket. Everytime I visit a site with webcatand found it interesting but haven't time to read i have to switch the browser to put it in my pocket.

Hope this can be implemented. Thx for you're work
You mean the global sailfish os share functionality ?
I don't think that this exposed via the api or allowed in harbour/jolla store yet.
I hope that this will change with sailfish os 2.0 though.

vistaus 2015-06-18 11:01

Re: [Announce] Webcat Browser
 
I can share things from WebPirate to a system account so if WebPirate can do it, Webcat should be able to do it as well.

llelectronics 2015-06-18 11:11

Re: [Announce] Webcat Browser
 
Quote:

I can share things from WebPirate to a system account so if WebPirate can do it, Webcat should be able to do it as well.
WebPirate seems to have reimplemented the whole integration to the account.
I am not willing to do that. It might be a wasted effort when SF OS 2.0 comes with an easy api call.

Dax 2015-06-18 12:05

Re: [Announce] Webcat Browser
 
I have used Nemo Transfer Engine's DBus Interface (dbus/client/transferengine folder).

Feel free to use/integrate that source code in Webcat if you want :)

kaari 2015-06-21 11:44

Re: [Announce] Webcat Browser
 
Hi, would it be possible for TOHKBD users to have key shortcuts to work(backspace to previous page, ctrl+l to write link, etc). Also now when typing message hotkeys makes it impossible, cause ex. l key jumps to bookmarks.

llelectronics 2015-06-22 09:11

Re: [Announce] Webcat Browser
 
Quote:

Originally Posted by kaari (Post 1474336)
Hi, would it be possible for TOHKBD users to have key shortcuts to work(backspace to previous page, ctrl+l to write link, etc). Also now when typing message hotkeys makes it impossible, cause ex. l key jumps to bookmarks.

Shortcut keys were integrated for TOHKBD some time ago though as I am still waiting for my TOHKBD I was not able to test it only in the emulator so far.
Seems like the shortcuts are conflicting with the normal text input.
And yes there are shortcuts already for marking text in urlbar (pressing u) and pressing p for going to the previous site.
Basically I integrated all BBOS 10 keyboard shortcuts.
I'll investigate it but I fear only if I have my TOHKBD I can really debug this as it is running fine in the emulator like I said before.

llelectronics 2015-06-22 10:24

Re: [Announce] Webcat Browser
 
Ok after a bit of more investigation I found a problem with my implementation of text input and text area detection which is the main cause of the issue you describe. I hope this is fixed now with the current git version.
If you have time feel free to test it. I will add this fix also in the next bugfix version of the browser but this will be released soonest on the next weekend.

llelectronics 2015-06-27 08:46

Re: [Announce] Webcat Browser
 
Update: 2.0.5 is out now.

Including the fix of keyboard shortcuts and input and textarea detection which should help all TOHKBD users.
Thanks to Dax89 I also added a share menu using the same dbus methods that WebPirate uses.
Some speed improvements and smoother animation especially for the virtual keyboard animation were added aswell.

Here is the full Changelog:
  • Added swedish translation by Åke Engelbrektson (Thanks)
  • Don't copy marked text twice
  • Fixed input and textarea detection (no more interfering with keyboard shortcuts)
  • Fixed keyboard shortcuts (especially important for TOHKBD users)
  • Added share menu (Thx to Dax89s WebPirate implementation)
  • Seperated videoPlayerComponents in own directory (faster loading)
  • Seperated browserComponents in own directory (faster loading)
  • Fixed virtual keyboard animation slow and stuttery
  • Added open and close animation to contextmenus
  • Bumped version number in rpm to 2.0.5

Get the RPM from openrepos.
Should arrive also in Jolla Store soon.

carepack 2015-06-27 09:22

Re: [Announce] Webcat Browser
 
thx for adding the share menu. Also posted this on the jolla store. the new version is not starting anymore. The app disappears imediately. That's it. someone else experiencing this?
THANK YOU!

llelectronics 2015-06-27 10:02

Re: [Announce] Webcat Browser
 
Should be fixed with newest RPM: https://openrepos.net/sites/default/...-2.armv7hl.rpm

edit: The cause was some missing import.
Strangely enough I only found that error by resetting the emulator and start with a clean new one.
(I did not want to wipe my device for testing that)

carepack 2015-06-27 10:12

Re: [Announce] Webcat Browser
 
edit:

thx. it's working now!

How to access the share option? Couldn't find it :-)

Dax 2015-06-27 10:52

Re: [Announce] Webcat Browser
 
Quote:

Originally Posted by llelectronics (Post 1474963)
Should be fixed with newest RPM: https://openrepos.net/sites/default/...-2.armv7hl.rpm

edit: The cause was some missing import.
Strangely enough I only found that error by resetting the emulator and start with a clean new one.
(I did not want to wipe my device for testing that)

It happens when you rename or move files, probably, when deploying, the destination folder is not recreated and files are simply added inside of it (in fact you can still find deleted/renamed files) and some qml files can refer to these old/deleted files.

If you are deploying the project without an RPM package, it's sufficient to manually delete the folder in /opt/sdk/projectname
Instead if you deploy it as RPM package you'll need to delete the folder located in /usr/share/projectname

This issue can also happen in the Jolla device :(

tmi 2015-06-27 11:58

Re: [Announce] Webcat Browser
 
When downloading attachments here in TMO the downloaded filename is 'attachment.php'. I noticed a similar behaviour with box.com, only the filename is 'download'.

Normal (i.e. no server-side script handling the file) downloads are named correctly.

EDIT: When long pressing a link then hitting 'Copy Link' nothing seems to happen and the link is not copied to the clipboard. Tried after a device reboot - same thing.


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

vBulletin® Version 3.8.8