You are not logged in.
That's odd. Any idea what could cause this on my side?
Fear me! I have root! Sometimes...
Offline
Interestingly I can confirm portix' experience: while I often have to press Ctrl-O twice in order to go back in history once only, on your link, it just works! (newes dwb-hg)
Offline
Interestingly I can confirm portix' experience: while I often have to press Ctrl-O twice in order to go back in history once only, on your link, it just works! (newes dwb-hg)
For whatever reason, the link I posted no longer causes any issues for me either. Wat...
I've tested this several times now, and it always causes the behavior I describe. Please try:
Go to reddit. Click on any "comments" link. Try to go back.
EDIT: I followed a link to an article at the washington post, where this happened too. I had to 4H to get back to reddit.
RE-EDIT: And clicking on the link I just posted has the same effect. Easier testing for you
Last edited by mkaito (2013-04-05 21:40:18)
Fear me! I have root! Sometimes...
Offline
nope, neither of the things you describe needs more than one Ctrl-o to go back on my computer… funny!
Offline
Funny indeed. Well, any ideas about why this could be happening?
Fear me! I have root! Sometimes...
Offline
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...
Apr 06 23:36:15 asusntb wmfs[2213]: DWB SCRIPT EXCEPTION: in line 44: 'undefined' is not a function (evaluating 'wv.getPrivate("id", this)')
Apr 06 23:36:15 asusntb wmfs[2213]: Received SIGSEGV, trying to clean up.
Apr 06 23:36:15 asusntb wmfs[2213]: Last 44 stack frames:
Apr 06 23:36:15 asusntb wmfs[2213]: 44: dwb() [0x40f300]
Apr 06 23:36:15 asusntb wmfs[2213]: 43: dwb() [0x42778f]
Apr 06 23:36:15 asusntb wmfs[2213]: 42: /usr/lib/libpthread.so.0(+0xf0e0) [0x7fa2726e40e0]
Apr 06 23:36:15 asusntb wmfs[2213]: 41: dwb() [0x42edb8]
Apr 06 23:36:15 asusntb wmfs[2213]: 40: /usr/lib/libwebkitgtk-1.0.so.0(webkit_marshal_BOOLEAN__OBJECT_OBJECT_OBJECT_OBJECT+0x9c) [0x7fa27526dccc]
Apr 06 23:36:15 asusntb wmfs[2213]: 39: /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x190) [0x7fa2735841a0]
Apr 06 23:36:15 asusntb wmfs[2213]: 38: /usr/lib/libgobject-2.0.so.0(+0x215b0) [0x7fa2735955b0]
Apr 06 23:36:15 asusntb wmfs[2213]: 37: /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x9cb) [0x7fa27359d13b]
Apr 06 23:36:15 asusntb wmfs[2213]: 36: /usr/lib/libgobject-2.0.so.0(g_signal_emit_by_name+0x500) [0x7fa27359dbc0]
Apr 06 23:36:15 asusntb wmfs[2213]: 35: /usr/lib/libwebkitgtk-1.0.so.0(+0x3faf8d) [0x7fa275238f8d]
Apr 06 23:36:15 asusntb wmfs[2213]: 34: /usr/lib/libwebkitgtk-1.0.so.0(+0xa08516) [0x7fa275846516]
Apr 06 23:36:15 asusntb wmfs[2213]: 33: /usr/lib/libwebkitgtk-1.0.so.0(+0x9da7d1) [0x7fa2758187d1]
Apr 06 23:36:15 asusntb wmfs[2213]: 32: /usr/lib/libwebkitgtk-1.0.so.0(+0x9dab86) [0x7fa275818b86]
Apr 06 23:36:15 asusntb wmfs[2213]: 31: /usr/lib/libwebkitgtk-1.0.so.0(+0x9dad3b) [0x7fa275818d3b]
Apr 06 23:36:15 asusntb wmfs[2213]: 30: /usr/lib/libwebkitgtk-1.0.so.0(+0x9dae07) [0x7fa275818e07]
Apr 06 23:36:15 asusntb wmfs[2213]: 29: /usr/lib/libwebkitgtk-1.0.so.0(webkit_web_frame_load_uri+0x211) [0x7fa275253dd1]
Apr 06 23:36:15 asusntb wmfs[2213]: 28: dwb() [0x4252f3]
Apr 06 23:36:15 asusntb wmfs[2213]: 27: dwb() [0x42eabc]
Apr 06 23:36:15 asusntb wmfs[2213]: 26: dwb() [0x4250f8]
Apr 06 23:36:15 asusntb wmfs[2213]: 25: dwb() [0x42aa47]
Apr 06 23:36:15 asusntb wmfs[2213]: 24: /usr/lib/libgtk-x11-2.0.so.0(+0x135229) [0x7fa274946229]
Apr 06 23:36:15 asusntb wmfs[2213]: 23: /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x190) [0x7fa2735841a0]
Apr 06 23:36:15 asusntb wmfs[2213]: 22: /usr/lib/libgobject-2.0.so.0(+0x215b0) [0x7fa2735955b0]
Apr 06 23:36:15 asusntb wmfs[2213]: 21: /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x9cb) [0x7fa27359d13b]
Apr 06 23:36:15 asusntb wmfs[2213]: 20: /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x82) [0x7fa27359d6b2]
Apr 06 23:36:15 asusntb wmfs[2213]: 19: /usr/lib/libgtk-x11-2.0.so.0(+0x24d3ee) [0x7fa274a5e3ee]
Apr 06 23:36:15 asusntb wmfs[2213]: 18: /usr/lib/libgtk-x11-2.0.so.0(gtk_window_propagate_key_event+0xeb) [0x7fa274a72dab]
Apr 06 23:36:15 asusntb wmfs[2213]: 17: /usr/lib/libgtk-x11-2.0.so.0(+0x26471b) [0x7fa274a7571b]
Apr 06 23:36:15 asusntb wmfs[2213]: 16: /usr/lib/libgtk-x11-2.0.so.0(+0x135229) [0x7fa274946229]
Apr 06 23:36:15 asusntb wmfs[2213]: 15: /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x190) [0x7fa2735841a0]
Apr 06 23:36:15 asusntb wmfs[2213]: 14: /usr/lib/libgobject-2.0.so.0(+0x21330) [0x7fa273595330]
Apr 06 23:36:15 asusntb wmfs[2213]: 13: /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x9cb) [0x7fa27359d13b]
Apr 06 23:36:15 asusntb wmfs[2213]: 12: /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x82) [0x7fa27359d6b2]
Apr 06 23:36:15 asusntb wmfs[2213]: 11: /usr/lib/libgtk-x11-2.0.so.0(+0x24d3ee) [0x7fa274a5e3ee]
Apr 06 23:36:15 asusntb wmfs[2213]: 10: /usr/lib/libgtk-x11-2.0.so.0(gtk_propagate_event+0x197) [0x7fa274944667]
Apr 06 23:36:15 asusntb wmfs[2213]: 9: /usr/lib/libgtk-x11-2.0.so.0(gtk_main_do_event+0x28b) [0x7fa2749448fb]
Apr 06 23:36:15 asusntb wmfs[2213]: 8: /usr/lib/libgdk-x11-2.0.so.0(+0x5c53c) [0x7fa2745bb53c]
Apr 06 23:36:15 asusntb wmfs[2213]: 7: /usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x135) [0x7fa272c46845]
Apr 06 23:36:15 asusntb wmfs[2213]: 6: /usr/lib/libglib-2.0.so.0(+0x47b78) [0x7fa272c46b78]
Apr 06 23:36:15 asusntb wmfs[2213]: 5: /usr/lib/libglib-2.0.so.0(g_main_context_iteration+0x34) [0x7fa272c46c34]
Apr 06 23:36:15 asusntb wmfs[2213]: 4: /usr/lib/libgio-2.0.so.0(g_application_run+0x1bc) [0x7fa27385c5ec]
Apr 06 23:36:15 asusntb wmfs[2213]: 3: dwb() [0x432458]
Apr 06 23:36:15 asusntb wmfs[2213]: 2: /usr/lib/libc.so.6(__libc_start_main+0xf5) [0x7fa272349a15]
Apr 06 23:36:15 asusntb wmfs[2213]: 1: dwb() [0x40f3c9]
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)...
Last edited by lahwaacz (2013-04-06 22:19:47)
Offline
I have switched from mercurial to git, the packages dwb-hg and dwb-gtk3-hg no longer exist, instead there is dwb-git and dwb-gtk-git in the AUR.
Edit: The old repository is still available under https://bitbucket.org/portix/dwb-hg, but won't be updated anymore.
Last edited by portix (2013-04-08 02:53:08)
Offline
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
Why is it always me who hits the really super weird bugs? xD
Fear me! I have root! Sometimes...
Offline
I have switched from mercurial to git, the packages dwb-hg and dwb-gtk3-hg no longer exist, instead there is dwb-git and dwb-gtk-git in the AUR.
Edit: The old repository is still available under https://bitbucket.org/portix/dwb-hg, but won't be updated anymore.
I think you mean dwb-gtk3-git for the second one.
Offline
getting this error when performing a search on a website. (don't want to give you the website because it has adult content ;-)
andreas@andreas-pc ~ $ dwb
(dwb:7998): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(dwb:7998): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(dwb:7998): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(dwb:7998): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(dwb:7998): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(dwb:7998): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(dwb:7998): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(dwb:7998): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(dwb:7998): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(dwb:7998): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(dwb:7998): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(dwb:7998): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(dwb:7998): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(dwb:7998): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(dwb:7998): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(dwb:7998): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(dwb:7998): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(dwb:7998): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(dwb:7998): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(dwb:7998): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(dwb:7998): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(dwb:7998): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(dwb:7998): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(dwb:7998): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(dwb:7998): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(dwb:7998): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(dwb:7998): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(dwb:7998): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(dwb:7998): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(dwb:7998): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(dwb:7998): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(dwb:7998): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(dwb:7998): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(dwb:7998): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(dwb:7998): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(dwb:7998): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(dwb:7998): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(dwb:7998): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(dwb:7998): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(dwb:7998): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(dwb:7998): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(dwb:7998): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(dwb:7998): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(dwb:7998): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(dwb:7998): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(dwb:7998): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(dwb:7998): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(dwb:7998): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(dwb:7998): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(dwb:7998): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(dwb:7998): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(dwb:7998): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(dwb:7998): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(dwb:7998): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(dwb:7998): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(dwb:7998): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(dwb:7998): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(dwb:7998): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(dwb:7998): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(dwb:7998): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(dwb:7998): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(dwb:7998): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(dwb:7998): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(dwb:7998): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(dwb:7998): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(dwb:7998): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(dwb:7998): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(dwb:7998): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(dwb:7998): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(dwb:7998): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(dwb:7998): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(dwb:7998): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(dwb:7998): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(dwb:7998): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(dwb:7998): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(dwb:7998): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(dwb:7998): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(dwb:7998): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(dwb:7998): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(dwb:7998): GLib-GObject-CRITICAL **: g_signal_emit_by_name: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
Received SIGSEGV, trying to clean up.
Last 22 stack frames:
22: dwb() [0x40f3b0]
21: dwb() [0x42995f]
20: /usr/lib/libpthread.so.0(+0xf0e0) [0x7fe6c992c0e0]
19: /usr/lib/libwebkitgtk-1.0.so.0(+0x3fd800) [0x7fe6cc483800]
18: /usr/lib/libwebkitgtk-1.0.so.0(+0xa15f80) [0x7fe6cca9bf80]
17: /usr/lib/libwebkitgtk-1.0.so.0(+0xa13e8c) [0x7fe6cca99e8c]
16: /usr/lib/libwebkitgtk-1.0.so.0(+0x9fe60f) [0x7fe6cca8460f]
15: /usr/lib/libwebkitgtk-1.0.so.0(+0x10b7bab) [0x7fe6cd13dbab]
14: /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x190) [0x7fe6ca7cc1a0]
13: /usr/lib/libgobject-2.0.so.0(+0x215b0) [0x7fe6ca7dd5b0]
12: /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0xdac) [0x7fe6ca7e551c]
11: /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x82) [0x7fe6ca7e56b2]
10: /usr/lib/libsoup-2.4.so.1(+0x6ff10) [0x7fe6cadccf10]
9: /usr/lib/libsoup-2.4.so.1(+0x7021b) [0x7fe6cadcd21b]
8: /usr/lib/libsoup-2.4.so.1(+0x702d8) [0x7fe6cadcd2d8]
7: /usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x135) [0x7fe6c9e8e845]
6: /usr/lib/libglib-2.0.so.0(+0x47b78) [0x7fe6c9e8eb78]
5: /usr/lib/libglib-2.0.so.0(g_main_context_iteration+0x34) [0x7fe6c9e8ec34]
4: /usr/lib/libgio-2.0.so.0(g_application_run+0x1bc) [0x7fe6caaa45ec]
3: dwb() [0x417c99]
2: /usr/lib/libc.so.6(__libc_start_main+0xf5) [0x7fe6c9591a15]
1: dwb() [0x40f479]
Speicherzugriffsfehler (Speicherabzug geschrieben)
Offline
@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.
Offline
*lol* Facebook paniced today http://ompldr.org/vaTF2Mw It's because until yesterday I used dwb-hg, now it's dwb-git
Offline
Hi portix, nice browser!
I'm having a little trouble with website fonts, they are ugly. If someone can give me directions, I'd appreciate.
Thanks!
-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --
-- usr edit: ok, I'll! [thi] --
Last edited by thi (2013-04-14 10:45:13)
Offline
@thi
I used to have that problem, I remember fixing it by installing a certain font package. It might have been ttf-win7-fonts, ttf-dejavu, or ttf-liberation.
Offline
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!
Last edited by thi (2013-04-14 10:49:53)
Offline
@thi: if it doesn't work on other sites you can also try https://bbs.archlinux.org/viewtopic.php … 5#p1239275.
Offline
@Army: have you tried to set a different useragent? The useragent has changed in dwb-git. Also bitbucket was not loadable with the new default useragent, so i now changed it to a new useragent.
Offline
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.
Offline
@portix
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...)
Thanks in advance!
Last edited by mhertz (2013-04-14 16:25:03)
Offline
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.
Offline
Very much appreciated! Thanks alot mate!
Offline
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:
120: <80><E0><C2>^B
121: <D0>y^V^D
122: P<CE><F3>^B
123: P<B1>,^C
124: ^P<F6>M^A
125: <E5>\^D
126: p\X^C
127:
128: Ы<F0>^D
129: <B0><86><D6>^C
130: golem
131: articles
132: default
133: *linux
Offline
Offline
@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.
Offline
Thanks alot for that, mate!
CU, Martin.
Offline