You are not logged in.

#601 2012-01-29 11:44:42

bloom
Member
Registered: 2010-08-18
Posts: 749
Website

Re: dwb - a webkit web browser

Thanks but it doesn't seem to be necessary, I made the following rule in openbox:

<application class="Dwb">
    <maximized>Horizontal</maximized>
</application>

I understand your wish to keep the class identical but could you give a different instance name to the inspector's window (e.g. dwb_inspector)?


gh · da · ds

Offline

#602 2012-01-29 13:48:14

Shinryuu
Member
From: /dev/urandom
Registered: 2010-02-27
Posts: 339

Re: dwb - a webkit web browser

I have been thinking this for a while.. is it possible to disable auto focus when you open a new link in new window? Like, even you press "Open Link in New Window" it adds the new tab but your focus stays on the site you are currently reading etc.

Offline

#603 2012-01-29 13:59:13

c00kiemon5ter
Member
From: Greece
Registered: 2010-06-01
Posts: 562
Website

Re: dwb - a webkit web browser

you can disable single session from the settings, but that would disable tabs, try it and see.


.:[ git me! ] :.

Offline

#604 2012-01-29 14:08:21

thricedotted
Member
Registered: 2011-12-10
Posts: 1

Re: dwb - a webkit web browser

Shinryuu wrote:

I have been thinking this for a while.. is it possible to disable auto focus when you open a new link in new window? Like, even you press "Open Link in New Window" it adds the new tab but your focus stays on the site you are currently reading etc.

Enable background-tabs under Layout in the settings.

On an unrelated note:
Just dropping in to say that I've been using dwb for a few months now. I came off Chromium to experiment with minimalist browsers (minimalist meaning, to me, that the GUI is *completely* unobtrusive, even if it still uses as much RAM as any other browser), and after playing around with surf, luakit, vimprobable, and a few others I don't remember, dwb won my heart over with the huge amount of extremely accessible configuration.

Aside from webkit issues that weren't unique to dwb, the only problem I had with it over the past few months was that the Google talk plugin (google-talkplugin) and Soundcloud, among other things, wouldn't work. But this was because I had plugin-blocker enabled -- once I turned it off, everything was beautiful and nothing hurt.

Ideally, I'd love a whitelist where the the plugin blocker could be bypassed on certain sites only, but honestly, I'm just as okay with pausing Youtube videos before they load. smile

So thanks, portix! You are awesome!

Offline

#605 2012-01-29 14:18:19

Shinryuu
Member
From: /dev/urandom
Registered: 2010-02-27
Posts: 339

Re: dwb - a webkit web browser

Mhh.. both of your suggestions doesn't seem to work, I deleted my configurations and re-enabled settings but I see no effect. I wonder what I'm missing here wink

EDIT1. My apologies, it got fixed when I installed "dwb-hg" over dwb (2011.10.29-2) cool Also thanks a ton portix, this is pretty flexible browser and I prefer to use it over other webkit based browsers.

Last edited by Shinryuu (2012-01-29 14:24:19)

Offline

#606 2012-01-29 14:38:17

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

Re: dwb - a webkit web browser

thricedotted wrote:

Aside from webkit issues that weren't unique to dwb, the only problem I had with it over the past few months was that the Google talk plugin (google-talkplugin) and Soundcloud, among other things, wouldn't work. But this was because I had plugin-blocker enabled -- once I turned it off, everything was beautiful and nothing hurt.

Ideally, I'd love a whitelist where the the plugin blocker could be bypassed on certain sites only, but honestly, I'm just as okay with pausing Youtube videos before they load. smile

There is already a whitelist for the plugin blocker,  you can put/remove domains and urls on/from the whitelist on the fly with ph and pu, ph allows/disallow the whole domain, pu only allows/disallows a single url.

Offline

#607 2012-01-31 05:34:57

arbelt
Member
Registered: 2012-01-31
Posts: 3

Re: dwb - a webkit web browser

Thanks for the great browser!  I'm a bit of a newb, so maybe this is easily fixed, but the one thing that's bugging me is that the first character of multi-key bindings gets passed through into text fields in Normal mode.  For instance, on the google home page, the search field is autoselected on load, though the browser remains in Normal mode.  Opening a new tab with 'ga' passes "g" into the text field before opening the new tab.  Anybody else getting this behavior?

Offline

#608 2012-01-31 09:02:28

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

Re: dwb - a webkit web browser

arbelt wrote:

Thanks for the great browser!  I'm a bit of a newb, so maybe this is easily fixed, but the one thing that's bugging me is that the first character of multi-key bindings gets passed through into text fields in Normal mode.  For instance, on the google home page, the search field is autoselected on load, though the browser remains in Normal mode.  Opening a new tab with 'ga' passes "g" into the text field before opening the new tab.  Anybody else getting this behavior?

Are you using dwb or dwb-hg? This shouldn't happen with dwb-hg, so you probably should switch to dwb-hg.

Offline

#609 2012-01-31 15:56:27

arbelt
Member
Registered: 2012-01-31
Posts: 3

Re: dwb - a webkit web browser

portix wrote:

Are you using dwb or dwb-hg? This shouldn't happen with dwb-hg, so you probably should switch to dwb-hg.

I was originally using dwb-gtk3-hg, but I get the same behavior with dwb-hg.  I've not tried dwb yet...

Offline

#610 2012-01-31 16:02:25

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

Re: dwb - a webkit web browser

arbelt wrote:
portix wrote:

Are you using dwb or dwb-hg? This shouldn't happen with dwb-hg, so you probably should switch to dwb-hg.

I was originally using dwb-gtk3-hg, but I get the same behavior with dwb-hg.  I've not tried dwb yet...

This is strange, i cannot reproduce it neither with dwb-gtk3-hg nor with dwb-hg.

Offline

#611 2012-02-01 17:27:40

arbelt
Member
Registered: 2012-01-31
Posts: 3

Re: dwb - a webkit web browser

portix wrote:
arbelt wrote:
portix wrote:

Are you using dwb or dwb-hg? This shouldn't happen with dwb-hg, so you probably should switch to dwb-hg.

I was originally using dwb-gtk3-hg, but I get the same behavior with dwb-hg.  I've not tried dwb yet...

This is strange, i cannot reproduce it neither with dwb-gtk3-hg nor with dwb-hg.

With the stable checkout, I don't have this problem, but I continue to have it with the hg-builds.  I have libwebkit and libwebkit3 1.6.1-1, gtk2 2.25.9-2, and gtk3 3.2.3-2, which I think are the latest in the official repositories, and I'm running awesome wm over gnome, if that is of any relevance...

Offline

#612 2012-02-02 15:44:13

mhertz
Member
From: Denmark
Registered: 2010-06-19
Posts: 681

Re: dwb - a webkit web browser

Hi portix!

I can see that you've changed dwb's classhint-class to 'Dwb' instead of 'dwb'(classhint-name is still 'dwb' as usual), so I just wanted to know if this change is permanent, before I go and rebuild dwm to match? I always have tmux on tag1 and dwb on tag2, and now I have both on tag1...

Offline

#613 2012-02-02 19:17:44

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

Re: dwb - a webkit web browser

mhertz wrote:

Hi portix!

I can see that you've changed dwb's classhint-class to 'Dwb' instead of 'dwb'(classhint-name is still 'dwb' as usual), so I just wanted to know if this change is permanent, before I go and rebuild dwm to match? I always have tmux on tag1 and dwb on tag2, and now I have both on tag1...

Previously the class hint was explicitly set by dwb, now it is automatically set by gtk and i will stick with it, so if gtk doesn't change the class hint it will stay Dwb.

Offline

#614 2012-02-02 20:03:49

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

Re: dwb - a webkit web browser

Wow, I’ve recently discovered the adblock-filterlist-option and tried it out now! Although there are still some Adblock options not supported yet, the difference is already visible. Thanks for this great improvement. *going to remove privoxy from my system now*

Offline

#615 2012-02-03 14:19:45

bloom
Member
Registered: 2010-08-18
Posts: 749
Website

Re: dwb - a webkit web browser

bloom wrote:

I've got a little problem with the inspector window: it's initial size is too small...

Shouldn't default-width and default-height be applied to the inspector window?


gh · da · ds

Offline

#616 2012-02-04 13:45:57

mhertz
Member
From: Denmark
Registered: 2010-06-19
Posts: 681

Re: dwb - a webkit web browser

portix wrote:

Previously the class hint was explicitly set by dwb, now it is automatically set by gtk and i will stick with it, so if gtk doesn't change the class hint it will stay Dwb.

Ahh, I see! That makes sence completelly!

Thanks for your reply!

Offline

#617 2012-02-06 10:36:01

stryder
Member
Registered: 2009-02-28
Posts: 500

Re: dwb - a webkit web browser

Very often, like 4-5 times a day, pressing "d" to close a tab closes the whole window and I would have to restart. Does anyone else experience this? No pattern that I can see though. Using dwb-hg.

Offline

#618 2012-02-06 11:01:48

c00kiemon5ter
Member
From: Greece
Registered: 2010-06-01
Posts: 562
Website

Re: dwb - a webkit web browser

It happens here too. Usually things get slow, loading pages
stops at 10% and when I try to close that tab dwb closes.
The output is "Received SIGSEGV, trying to clean up"


.:[ git me! ] :.

Offline

#619 2012-02-06 11:07:31

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

Re: dwb - a webkit web browser

stryder wrote:

Very often, like 4-5 times a day, pressing "d" to close a tab closes the whole window and I would have to restart. Does anyone else experience this? No pattern that I can see though. Using dwb-hg.

I heard this from several people, i wasn't able to reproduce it yet and gdb backtrace would be really appreciated.

Offline

#620 2012-02-06 12:30:46

stryder
Member
Registered: 2009-02-28
Posts: 500

Re: dwb - a webkit web browser

portix wrote:
stryder wrote:

Very often, like 4-5 times a day, pressing "d" to close a tab closes the whole window and I would have to restart. Does anyone else experience this? No pattern that I can see though. Using dwb-hg.

I heard this from several people, i wasn't able to reproduce it yet and gdb backtrace would be really appreciated.

Sorry for being clueless. If you tell me what you want me to do I'll try to do so.

Offline

#621 2012-02-06 12:55:11

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

Re: dwb - a webkit web browser

stryder wrote:

Sorry for being clueless. If you tell me what you want me to do I'll try to do so.

You need an unstripped version of dwb, so you can either run a locally compiled version or you can add

options=(!strip)

to the PKGBUILD. Then you can run dwb inside gdb with the following steps:

$ gdb dwb

Then inside gdb

set logging on 
run 

And when dwb crashes you can produce a backtrace with

backtrace

The backtrace will then be logged in gdb.txt. Ideally you can attach the backtrace to a bugreport on bitbucket.

Offline

#622 2012-02-06 13:08:12

stryder
Member
Registered: 2009-02-28
Posts: 500

Re: dwb - a webkit web browser

I'll see what I can do.

Offline

#623 2012-02-06 19:34:12

c00kiemon5ter
Member
From: Greece
Registered: 2010-06-01
Posts: 562
Website

Re: dwb - a webkit web browser

alright, happened again. Here's the log and backtrace:
http://sprunge.us/MLMF?c

I was browsing github at that time, and opened a page with code
Viewing code on github makes dwb slow, in particular scrolling.
When viewing code(diffs) on github, on the left an icon appears which
When clicked allows you to add a comment to the line the cursor is.
When scrolling, dwb freezes for a few seconds, and that icon appears multiple times.
After a while it unfreezes and animates the scroll actions you did; that is,
say you scrolled twice down and once up, it half scroll down, freezes, unfreezes
and continues the scroll down, then up - like a video - and then it gets responsive again.

Last edited by c00kiemon5ter (2012-02-06 19:58:01)


.:[ git me! ] :.

Offline

#624 2012-02-06 20:32:43

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

Re: dwb - a webkit web browser

c00kiemon5ter wrote:

alright, happened again. Here's the log and backtrace:
http://sprunge.us/MLMF?c

Thanks, that is really helpful, the segfault when a tab is closed should be fixed now. I'm not completely sure because i couldn't reproduce it yet.

c00kiemon5ter wrote:

I was browsing github at that time, and opened a page with code
Viewing code on github makes dwb slow, in particular scrolling.
When viewing code(diffs) on github, on the left an icon appears which
When clicked allows you to add a comment to the line the cursor is.
When scrolling, dwb freezes for a few seconds, and that icon appears multiple times.
After a while it unfreezes and animates the scroll actions you did; that is,
say you scrolled twice down and once up, it half scroll down, freezes, unfreezes
and continues the scroll down, then up - like a video - and then it gets responsive again.

This may be a webkit issue because all the rendering is done internally by webkit, also the scrolling logic is the same on all sites except if frame-flattening is enabled, dwb just calls gtk's default scrolling function.  But i will have a a look into it.

Offline

#625 2012-02-07 00:01:51

stryder
Member
Registered: 2009-02-28
Posts: 500

Re: dwb - a webkit web browser

portix wrote:
c00kiemon5ter wrote:

alright, happened again. Here's the log and backtrace:
http://sprunge.us/MLMF?c

Thanks, that is really helpful, the segfault when a tab is closed should be fixed now. I'm not completely sure because i couldn't reproduce it yet.

Well that was quick--it's morning here and I just woke up. Does this mean there is no point doing the gdb thing now? I will have to recompile and that will pull in your latest fixes.

Offline

Board footer

Powered by FluxBB