You are not logged in.

#2051 2014-03-29 22:52:01

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,403

Re: dwb - a webkit web browser

Can you do multiple proxy servers in dwb?
I've separated them by commas, but I'm not sure if it's working.
Using wireshark seems to indicate that doesn't work.

Last edited by nomorewindows (2014-03-29 23:53:06)


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#2052 2014-03-30 00:17:54

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,403

Re: dwb - a webkit web browser

Flash problems aren't limited to youtube for me, but anything that has flash on it.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#2053 2014-04-06 14:53:10

sekret
Member
Registered: 2013-07-22
Posts: 289

Re: dwb - a webkit web browser

Following links, which open a new tab, with hints doesn't work anymore. I'm not sure when it started, but I can dig into it if required.

Offline

#2054 2014-04-06 14:57:20

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: dwb - a webkit web browser

sekret wrote:

Following links, which open a new tab, with hints doesn't work anymore. I'm not sure when it started, but I can dig into it if required.

What version are you using?

Offline

#2055 2014-04-06 15:26:50

jakob
Member
From: Berlin
Registered: 2005-10-27
Posts: 419

Re: dwb - a webkit web browser

To help digging, I'm using this version and opening new tabs with hints works fine still:

2014.03.24.g4566d58-1

Offline

#2056 2014-04-06 17:17:32

sekret
Member
Registered: 2013-07-22
Posts: 289

Re: dwb - a webkit web browser

I use the same version jakob does, it's the most recent git snapshot and I also tried with a completely new ~/.config/dwb. There's no output on the terminal. It just doesn't do anything.

Last edited by sekret (2014-04-06 17:19:40)

Offline

#2057 2014-04-06 19:52:05

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: dwb - a webkit web browser

$ pacman -Q dwb-git
dwb-git 2014.03.24.g4566d58-1

Hints work, opening tabs via hints works. I can use 'F' and ;b' just fine: the former opens a new tab and switches to it immediately and the latter opens a tab in the background.

Offline

#2058 2014-04-06 20:12:00

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,403

Re: dwb - a webkit web browser

Hints gets stuck, but it's not the only feature that tends to stick.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#2059 2014-04-06 20:13:06

sekret
Member
Registered: 2013-07-22
Posts: 289

Re: dwb - a webkit web browser

I think you misunderstood me:

Create a file named test.html with this content

<a href="https://archlinux.org" target="_blank">archlinux</a>

open it with dwb and hit f. Nothing happens. It works with F and ;b, yes, but the intended behavior is, that dwb either follows the link in the current tab (the old behavior of browsing with hints) or in a new window/tab (the behavior of the last weeks / months). Now just nothing happens.

Offline

#2060 2014-04-06 20:16:51

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,403

Re: dwb - a webkit web browser

I've used both of them.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#2061 2014-04-06 20:56:45

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: dwb - a webkit web browser

sekret wrote:

I think you misunderstood me:

Create a file named test.html with this content

<a href="https://archlinux.org" target="_blank">archlinux</a>

open it with dwb and hit f. Nothing happens. It works with F and ;b, yes, but the intended behavior is, that dwb either follows the link in the current tab (the old behavior of browsing with hints) or in a new window/tab (the behavior of the last weeks / months). Now just nothing happens.

';;' - 'follow links' works.
Nope, it works only after I've tried 'F'.


Edit: Strange, I've tried 'wf' and now 'f' seems to work, but just once.

Last edited by karol (2014-04-06 21:03:22)

Offline

#2062 2014-04-07 08:38:57

sekret
Member
Registered: 2013-07-22
Posts: 289

Re: dwb - a webkit web browser

Ok I also tried 'wf' and then 'f'. Now it works, BUT the link is opened in the same tab, not in a new one.

Offline

#2063 2014-04-09 03:00:35

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: dwb - a webkit web browser

I think 'f' opens in the same tab, 'F' in a new one.

Offline

#2064 2014-04-09 07:04:55

sekret
Member
Registered: 2013-07-22
Posts: 289

Re: dwb - a webkit web browser

For normal links, yes. That's not the intended behavior because of the target="_blank", but that would be ok, that's how it worked for a long time. But at one point a few months ago (I'm not sure when exactly) the hinting script seems to have been updated to open links with target="_blank" in a new tab, even if 'f' was being used.

But now dwb doesn't do a thing.

Looks like I should find the last working version and look what has been changed. But no promises, I'm no coder wink

Offline

#2065 2014-04-09 09:27:35

portix
Member
Registered: 2009-01-13
Posts: 757

Re: dwb - a webkit web browser

sekret wrote:

For normal links, yes. That's not the intended behavior because of the target="_blank", but that would be ok, that's how it worked for a long time. But at one point a few months ago (I'm not sure when exactly) the hinting script seems to have been updated to open links with target="_blank" in a new tab, even if 'f' was being used.

But now dwb doesn't do a thing.

Looks like I should find the last working version and look what has been changed. But no promises, I'm no coder wink

You could try to do a bisect, i currently don't have enough spare time to look into it, so if you could do a bisect it would be great. You only have to clone the repository, then do a

git bisect start
git bisect bad

If you know a revision where it worked you can run

git bisect good <revision>

Then run

make runsandbox 

If it works you can mark the revision as working with

git bisect good

if it doesn't work you must run

git bisect bad

After each bisect command you have to run make runsandbox and test if it works until the bisect is finished.

Last edited by portix (2014-04-09 09:28:02)

Offline

#2066 2014-04-09 12:44:41

sekret
Member
Registered: 2013-07-22
Posts: 289

Re: dwb - a webkit web browser

I'll look into it this evening. Thanks portix!

Offline

#2067 2014-04-11 21:21:21

Chrishas
Member
Registered: 2012-11-03
Posts: 26

Re: dwb - a webkit web browser

Hi,

First of all thanks for this amazing browser.

I've got a few issues which didn't exist in the past. I'm using version 2014.03.07-1 from the community repo and in order to go to the previous page I need to press H multiple times in quick succession . If I only press it once or just a few times it reloads the current page. This didn't happen in the past but I'm not sure which version it started from.

Another issue is the increase in RAM usage which I think has been reported previously as a webkit problem.

Thanks in advance,

Chris

Offline

#2068 2014-04-11 21:26:55

portix
Member
Registered: 2009-01-13
Posts: 757

Re: dwb - a webkit web browser

That's a bug in webkit and it will only happen if you use the adblocker or requestpolicy or some other script that blocks requests. With the current webkit version in the repo it isn't possible to block requests without breaking the history of a tab, in dwb-git there is a workaround for it which works in most cases, but still the history will be broken when a request is blocked on a site where the workaround must be used.

Offline

#2069 2014-04-12 09:48:12

sekret
Member
Registered: 2013-07-22
Posts: 289

Re: dwb - a webkit web browser

Ok, so I found the commit, on which the old behavior was still there. With "old behavior" I mean, that using hints on links with target="_blank", which open in a new window / tab, are being loaded in the current tab. This commit was

commit 282db29f44755cd7f07eb251a987231b9fd22ff7
Author: portix <portix@gmx.net>
Date:   Fri Nov 22 00:32:49 2013 +0100
    Using sec_memset to nullify passwords

The next commit

commit 3d047e7ab9fd1919f892db5f1c2640a285b13c3f
Author: portix <portix@gmx.net>
Date:   Sun Nov 24 14:43:35 2013 +0100
    Adding command hints_selector, updating api manpage

leads to the current behavior.

Until now I didn't manage to find the last commit with a working "new behavior", where using hints on links with target="_blank" behaves the same way the browser behaves when using the mouse on links. I'll dig into that later. Or am I just imagining this "new behavior"?

Offline

#2070 2014-04-13 08:45:21

F34R
Member
From: /dev/loliland
Registered: 2012-02-05
Posts: 245

Re: dwb - a webkit web browser

Why dwb slow at page load on same webpage ? I having post and every thread open in new tab , but because process the sending period dwb very slow. The message show some seconds later, and i cannot move to other tab at this moment.  What i trying for ?

dwb-gtk2 latest git pull on Archlinux.

Offline

#2071 2014-04-13 08:59:53

sw2wolf
Member
From: China
Registered: 2009-06-08
Posts: 99
Website

Re: dwb - a webkit web browser

The newest dwb-git encountered webkit error when visiting http://news.xinhuanet.com/overseas/2014 … 389800.htm
$gdb dwb
GNU gdb 6.1.1 [FreeBSD]
...
(gdb) r
Starting program: /home/sw2wolf/dwb/bin/dwb
[New LWP 100083]
[New Thread 2f004300 (LWP 100083/dwb)]
[New Thread 2f006100 (LWP 100403/dwb)]
[New Thread 2f006700 (LWP 100404/dwb)]
[New Thread 2f006a00 (LWP 100405/dwb)]
D-Bus-registration failed, using fallback mode
[New Thread 2f006d00 (LWP 100406/dwb)]
[New Thread 30409500 (LWP 100407/dwb)]
[New Thread 30409200 (LWP 100408/dwb)]
[New Thread 2f008e00 (LWP 100409/dwb)]
[New Thread 2f367300 (LWP 100410/dwb)]
[New Thread 2f368200 (LWP 100411/dwb)]
[New Thread 2f368500 (LWP 100412/dwb)]
[New Thread 2f368800 (LWP 100413/dwb)]
[New Thread 2f368b00 (LWP 100414/dwb)]
[New Thread 2f368e00 (LWP 100415/dwb)]
[New Thread 2f369100 (LWP 100416/dwb)]
[New Thread 2f369400 (LWP 100417/dwb)]
[Thread 2f368800 (LWP 100413/dwb) exited]
[New Thread 2f368800 (LWP 100413/dwb)]
[Thread 2f368500 (LWP 100412/dwb) exited]
[Thread 2f368b00 (LWP 100414/dwb) exited]

;open the given URL here

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 2f004300 (LWP 100083/dwb)]
0x28f30ca2 in WTF::HashMap<WTF::AtomicString, WTF::String, WTF::CaseFoldingHash, WTF::HashTraits<WTF::AtomicString>, WTF::HashTraits<WTF::String> >::set () from /usr/local/lib/libwebkitgtk-3.0.so.0
(gdb) bt
#0  0x28f30ca2 in WTF::HashMap<WTF::AtomicString, WTF::String, WTF::CaseFoldingHash, WTF::HashTraits<WTF::AtomicString>, WTF::HashTraits<WTF::String> >::set () from /usr/local/lib/libwebkitgtk-3.0.so.0
#1  0x28f448f2 in WebCore::ResourceResponse::updateFromSoupMessage () from /usr/local/lib/libwebkitgtk-3.0.so.0
#2  0x28f41f4c in WebCore::gotHeadersCallback () from /usr/local/lib/libwebkitgtk-3.0.so.0
#3  0x2a1b604f in g_cclosure_marshal_VOID__VOID () from /usr/local/lib/libgobject-2.0.so.0
#4  0x2a1b3cc0 in g_closure_invoke () from /usr/local/lib/libgobject-2.0.so.0
#5  0x2a1c94ca in g_signal_has_handler_pending () from /usr/local/lib/libgobject-2.0.so.0
#6  0x2a1cb86f in g_signal_emit_valist () from /usr/local/lib/libgobject-2.0.so.0
#7  0x2a1cbf85 in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.0
#8  0x2a03219f in soup_message_got_headers () from /usr/local/lib/libsoup-2.4.so.1
#9  0x2a037e8c in io_read () from /usr/local/lib/libsoup-2.4.so.1
#10 0x2a038007 in io_run_until () from /usr/local/lib/libsoup-2.4.so.1
#11 0x2a047966 in try_run_until_read () from /usr/local/lib/libsoup-2.4.so.1
#12 0x2a047be7 in read_ready_cb () from /usr/local/lib/libsoup-2.4.so.1
#13 0x2a037579 in message_source_dispatch () from /usr/local/lib/libsoup-2.4.so.1
#14 0x2a55b644 in g_main_context_dispatch () from /usr/local/lib/libglib-2.0.so.0
#15 0x2a55d6d9 in g_main_context_acquire () from /usr/local/lib/libglib-2.0.so.0
#16 0x2a55d7c0 in g_main_context_iteration () from /usr/local/lib/libglib-2.0.so.0
#17 0x2a1196b4 in g_application_run () from /usr/local/lib/libgio-2.0.so.0
#18 0x0806038a in application_run (argc=0x1, argv=0xbfbfec58) at application.c:584
#19 0x08068a0c in main (argc=0xd10f0, argv=0x2f004300) at dwb.c:5401

Regards!

Last edited by sw2wolf (2014-04-18 00:56:38)


e^(π⋅i) + 1 = 0

Offline

#2072 2014-04-13 15:57:16

ball
Member
From: Germany
Registered: 2011-12-23
Posts: 164

Re: dwb - a webkit web browser

Looking at https://www.cloudflarechallenge.com/heartbleed in dwb from [community] it seems that certificate revocation does not work.

I played with the settings ssl-use-system-ca-file and ssl-strict but that had no effect. Do I miss something?

Offline

#2073 2014-04-14 19:49:32

dieelt
Member
Registered: 2008-10-12
Posts: 18

Re: dwb - a webkit web browser

Greate browser! However, I've found one minor inconvenience namely the ordering of history items in the TAB completion list when entering addresses. I suggest a strategy, which could of course be a setting, where the most general address is shown first as the major selection. For example, when pressing "o" followed by "bbs.ar<TAB>" the first suggestion, which is also the most general, should be "bbs.archlinux.org".

I was planning to implement it my self, but could not find where the ordering was defined - so I thought of asking here instead. Given a pointer, I could perhaps provide a pull request.

Offline

#2074 2014-04-14 19:59:19

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: dwb - a webkit web browser

dieelt wrote:

Greate browser! However, I've found one minor inconvenience namely the ordering of history items in the TAB completion list when entering addresses. I suggest a strategy, which could of course be a setting, where the most general address is shown first as the major selection. For example, when pressing "o" followed by "bbs.ar<TAB>" the first suggestion, which is also the most general, should be "bbs.archlinux.org".

I was planning to implement it my self, but could not find where the ordering was defined - so I thought of asking here instead. Given a pointer, I could perhaps provide a pull request.

The history is defined by the text file ~/.config/dwb/default/history and is read from top to bottom. The history length is defined by the setting history-length. Similarly bookmarks are in ~/.config/dwb/default/bookmarks and are read the same. Bookmarks actually get sorted in memory when one is added though, which is a bit of a pain if one has theirs in the order that they want them.

Offline

#2075 2014-04-17 12:58:12

Beini
Member
From: Finland
Registered: 2007-06-06
Posts: 78

Re: dwb - a webkit web browser

Can anybody else reproduce this behavior with "load-on-focus=true"? I use this script so tabs are not loaded on start-up: https://wiki.archlinux.org/index.php/Dwb#defer-loading. The thing is when I focus some of the tabs, dwb starts automatically focusing the next ones. Sometimes this is triggered by opening a new tab, scrolling on a page, pretty much any type of activity.


archlinux x86_64 user || My PKGBUILDs

Offline

Board footer

Powered by FluxBB