Re: dwb - a webkit web browser

Re: dwb - a webkit web browser

I just got this from 'unique_tabs' extension (installed via dwbem, funny thing is that this extension is not listed in https://bitbucket.org/portix/dwb_extensions). The error occured when intentionally opening duplicate tab with 'autoFocus : true'. I guess the extension isn't (yet?) updated to new api, but since I can't find the source, I can't really tell...

edit: now I found it, it's in the main project under dwb/extensions. There are commits related to new Signal api, but I can't tell much...

edit 2: the first line is not related to unique_tabs extension (sorry for confusion), it was popping up again and again without causing crash, so I figured that it's from enforce_ssl snippet (which also obviously doesn't work)...

Re: dwb - a webkit web browser

I've cleared out my settings, extensions, etc, tried recompiling dwb from git head, and why not, also tried the gtk3 version, just in case. My history fadoodle is still present. On the bright side, I'm starting to remember which sites need what count to be prepended to the back command

Re: dwb - a webkit web browser

@andmars: Could you create a backtrace and post it on the bugtracker, if you don't know how to create a backtrace, there is a script in the repo that downloads the latest version, runs dwb in gdb and creates a backtrace if dwb crashes.

@all: Please don't post bugreports on the bbs, in the future i will simply ignore them, the problem with bugreports on the bbs is, if i don't fix them immediately i will forget about it one day after the post and i never read old posts on the bbs.

Re: dwb - a webkit web browser

Sinani201, installed ttf-ms-fonts then rebooted, and its butiful. thx edit, in fact, removed those ms-fonts, created the fontconfig file as portix's link down here does, rebooted, and its still cool, i'll use that way. cheers!

Re: dwb - a webkit web browser

No, everything was fine, facebook just told me, that I've been visiting with a browser I've never used before and I had to confirm that it's really me. The website works fine. But the new default useragent is fine too. This time facebook didn't complain about the change.

Re: dwb - a webkit web browser

I have defined 'cookies-store-policy=persistent', and sometimes dwb stops saving cookies(or atleast it dosen't use them as i'm not remembered on pages like this).

It just happened again yesterday, and I fixed it as always by simply closing dwb, deleting the cookies file, restarting dwb and then relogging in to the various pages again.

Before I deleted the cookies file, then I noticed that it was pretty big i.e. 1.7mb or so, and I think that this issue with dwb not saving, or not using cookies, comes whenever the cookies file becomes to big, which it easilly can become with the 'persistent' cookie setting enabled.

So, I would like to ask you if you could possibly do something so this won't happen anymore, like e.g. having a max size for the cookies file, and then truncating the file whenever it becomes to big, so the oldest cookies are deleted, or something like that?

What do you think about this? (Or maybe there allready is something like this defined, and the issue is something entirelly different, I dunno...)

Re: dwb - a webkit web browser

I just realized that expired cookies are never deleted, i'll fix that and also add an expiration option that will set the maximum expiration date on cookies if it is bigger than the expiration date of the cookie. The setting will be in seconds but it will also support h for hours, m for minutes and d for days. it will be available tomorrow at the latest.

Re: dwb - a webkit web browser

Re: dwb - a webkit web browser

portix wrote:

I just realized that expired cookies are never deleted, i'll fix that and also add an expiration option that will set the maximum expiration date on cookies if it is bigger than the expiration date of the cookie. The setting will be in seconds but it will also support h for hours, m for minutes and d for days. it will be available tomorrow at the latest.

Talking about purging files, in my case the biggest file in ~/.config/dwb/default/ is 'session' (about 390kB), and 'dwb -l' prints 133 sessions, I only use 4 of them. I have 'save-session=true', but it should save the session only under current name (or 'default') right? 'dwb -l | less' looks like this:

Re: dwb - a webkit web browser

Re: dwb - a webkit web browser

@mhertz: I have pushed the changes with the new cookie-expiration option, i also fixed some other issues in cookie handling (session cookies were sometimes also saved in the cookie file), if you use the new option you may need to delete the old cookie file, dwb won't modify existing cookies. Setting cookie-expiration to 0 will use the original expiration of the cookie, expired cookies are now really deleted from the file, so using cookie-expiration is not really needed for a smaller cookie file.