You are not logged in.

#2226 2014-09-11 07:53:25

icetonic
Member
From: Germany
Registered: 2008-10-21
Posts: 104

Re: dwb - a webkit web browser

I have a problem with dwb not showing images in Tiny Tiny RSS correctly, it shows either a partial HTML tag with the url or a broken image with a wrong url followed by a partial HTML tag... I tried with and without adblock, with dwb-git and dwb-gtk3-git, all the same. But it works without any problems in firefox with and without adblock and also in luakit (I tried because it also uses webkit?), no problems there...

So in my feed view is stuff like:
http://scienceblogs.de/plazeboalarm/files/2014/09/Bildschirmfoto-2014-09-11-um-08.18.56.png" target="_blank">

and

Not Found
The requested URL /<a class= was not found on this server.

Seems to me the parsing fails miserably...

Offline

#2227 2014-09-13 00:28:43

able16
Member
Registered: 2014-03-08
Posts: 1

Re: dwb - a webkit web browser

Anyone know why whenever I open YouTube, I get a black screen (in the video player) with the text "Click to enable flash." ? After clicking in the black space the video plays.

Offline

#2228 2014-09-13 01:28:09

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

Re: dwb - a webkit web browser

That's to disable automatic flash.  It's a feature, not a bug.


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

Offline

#2229 2014-09-15 14:21:43

Theta91
Member
Registered: 2014-08-21
Posts: 13

Re: dwb - a webkit web browser

I've been using dwb on and off for a month or so now, and it's just an utterly fantastic browser. To say I was blown away would be pretty accurate - I'd never imagined a browser could be this good before.

Thank you, portix.

Offline

#2230 2014-09-15 15:20:58

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

Re: dwb - a webkit web browser

able16 wrote:

Anyone know why whenever I open YouTube, I get a black screen (in the video player) with the text "Click to enable flash." ? After clicking in the black space the video plays.

You can set 'plugin-blocker=false' to disable blocking.

Offline

#2231 2014-09-16 21:55:33

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

Re: dwb - a webkit web browser

I must say I use the heck out of dwb.


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

Offline

#2232 2014-09-17 15:26:49

volimsir
Member
Registered: 2014-09-17
Posts: 3

Re: dwb - a webkit web browser

shutdown -h now wrote:

The html5 video crashing problem got finally fixed! The culprit was cairo.

Get the proposed patch from this bugreport. Save it as cairo_webkit.patch. And compile cairo-git with the following PKGBUILD (I've only added the patch):

Tested it for about 5 videos and haven't had a segfault yet.

Hey, thanks for the fix! I managed to get it working, but I had to edit out the 'cairo-1.10.0-buggy_gradients.patch', because it didn't download with the PKGBUILD. Did I do something wrong? Should I have just used cairo-git, since it has been updated after your posted the fix?

EDIT:
Also, now, when I go fullscreen on youtube, if dwb is using HTML5, both the tab selection, and the status bar below are visible, and sometimes the video restarts upon changing the size from fullscreen to windowed, and vice-versa.

Last edited by volimsir (2014-09-17 19:50:40)

Offline

#2233 2014-09-17 22:51:03

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

Re: dwb - a webkit web browser

$ cower -d dwb-git && cd $_ && makepkg -si
:: dwb-git downloaded to /home/karol/test
==> Making package: dwb-git 2014.03.04.g5088db1-1 (Wed Sep 17 23:37:15 CEST 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning dwb git repo...
Cloning into bare repository '/home/karol/test/dwb-git/dwb'...
remote: Counting objects: 15345, done.
remote: Compressing objects: 100% (3921/3921), done.
remote: Total 15345 (delta 11406), reused 15003 (delta 11115)
Receiving objects: 100% (15345/15345), 2.76 MiB | 1.12 MiB/s, done.
Resolving deltas: 100% (11406/11406), done.
Checking connectivity... done.
==> Validating source files with md5sums...
    dwb ... Skipped
==> Extracting sources...
  -> Creating working copy of dwb git repo...
Cloning into 'dwb'...
done.
==> Starting pkgver()...
==> Updated version: dwb-git 2014.07.02.g6224470-1
==> Starting build()...
Build options:
CC = cc
CFLAGS = -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -Werror=format-security -pipe --ansi -
std=c99 -D_POSIX_C_SOURCE=200112L -O2 -g -D_BSD_SOURCE -D_NETBSD_SOURCE -D__BSD_VISIBLE -pthread -I/usr/include/webkitgtk-1.0 -I/usr/include/
gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/includ
e/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/u
sr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/libsoup-2.4 -I/usr/include/libxml
2 -I/usr/include/webkitgtk-1.0 -I/usr/include/p11-kit-1 -I/usr/include/json-c -I/usr/include/libsecret-1 -I/usr/include/glib-2.0 -I/usr/lib/g
lib-2.0/include -DWITH_LIBSOUP_2_38=1
LDFLAGS = -Wl,-O1,--sort-common,--as-needed,-z,relro -lwebkitgtk-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pix
buf-2.0 -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreetype -lsoup-2.4 -ljavascriptcoregtk-1.0 -lgnutls -ljson-c -lsecret-1 -lgio-2.0 -lgobjec
t-2.0 -lglib-2.0 -lpthread -lm -lX11
CPPFLAGS = -D_FORTIFY_SOURCE=2 -DWITH_LIBSECRET
make[1]: Entering directory '/home/karol/test/dwb-git/src/dwb/src/util'
cc convert_transport_security.c
In file included from /usr/include/stdio.h:27:0,
                 from convert_transport_security.c:25:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^
convert_transport_security.c: In function ‘handle_pinsets’:
convert_transport_security.c:256:9: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wde
precated-declarations]
         if((name_obj = json_object_object_get(pin_list, "name")) == NULL || !json_object_is_type(name_obj, json_type_string))

convert_transport_security.c:263:9: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wde
precated-declarations]
         good_hashes = json_object_object_get(pin_list, "static_spki_hashes");
         ^
convert_transport_security.c:264:9: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wde
precated-declarations]
         bad_hashes = json_object_object_get(pin_list, "bad_static_spki_hashes");
         ^
convert_transport_security.c: In function ‘handle_entries’:
convert_transport_security.c:297:9: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wde
precated-declarations]
         if((name_obj = json_object_object_get(entry, "name")) == NULL ||
         ^
convert_transport_security.c:307:9: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wd$
precated-declarations]
         json_object *mode = json_object_object_get(entry, "mode");
         ^
convert_transport_security.c:315:9: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wd$
precated-declarations]
         json_object *include_subdomains = json_object_object_get(entry, "include_subdomains");
         ^
convert_transport_security.c:327:9: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wd$
precated-declarations]
         if((entry_pins = json_object_object_get(entry, "pins")) != NULL)
         ^
convert_transport_security.c: In function ‘parse_json’:
convert_transport_security.c:371:5: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wd$
precated-declarations]
     if((pinsets = json_object_object_get(json, "pinsets")) == NULL || !json_object_is_type(pinsets, json_type_array) ||
     ^
convert_transport_security.c:380:5: warning: ‘json_object_object_get’ is deprecated (declared at /usr/include/json-c/json_object.h:290) [-Wd$
precated-declarations]
     if((entries = json_object_object_get(json, "entries")) == NULL || !json_object_is_type(entries, json_type_array) ||

gen hsts_preload.h
cc mktlds-header.c
In file included from /usr/include/stdio.h:27:0,
                 from mktlds-header.c:18:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^
gen tlds.h
make[1]: Leaving directory '/home/karol/test/dwb-git/src/dwb/src/util'
make[1]: Entering directory '/home/karol/test/dwb-git/src/dwb/exar'
cc exar.c
In file included from /usr/include/stdlib.h:24:0,
                 from exar.c:26:
/usr/include/features.h:148:3: error: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Werror=cpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^
cc1: all warnings being treated as errors
Makefile:21: recipe for target 'exar.o' failed
make[1]: *** [exar.o] Error 1
make[1]: Leaving directory '/home/karol/test/dwb-git/src/dwb/exar'
Makefile:22: recipe for target 'exar.subdir-buildfirst' failed
make: *** [exar.subdir-buildfirst] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

The comment on https://aur.archlinux.org/packages/sbase-git/ mentions _BSD_SOURCE. Can anyone post a patch?

Offline

#2234 2014-09-18 01:08:00

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

Re: dwb - a webkit web browser

I didn't run into that problem when I last compiled dwb-git.


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

Offline

#2235 2014-09-18 16:41:32

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

Re: dwb - a webkit web browser

Did you run into any problems now? Is your system up to date?
Compiling with the previous gllibc (2.19-5) works, but new glibc (2.20-2) moved to [core] a few days ago and now it doesn't work.

Offline

#2236 2014-09-18 16:49:31

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

Re: dwb - a webkit web browser

I keep seeing that dwb-git is still the same one I have installed, so I don't proceed any further.


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

Offline

#2237 2014-09-18 17:49:29

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

Re: dwb - a webkit web browser

How exactly are you building it? You probably have an already built dwb-git package in that directory.
Download the AUR package into a new directory and run makepkg.

Offline

#2238 2014-09-18 18:58:30

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

Re: dwb - a webkit web browser

I run yaourt -G dwb-git but when it gets to git it shows the same version that I already have installed.  Yaourt now asks to replace PKGBUILDs if the directory exists.  The dwb-git latest version is 2014-07-02-xxxxxxx

Last edited by nomorewindows (2014-09-18 18:59:38)


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

Offline

#2239 2014-09-18 19:00:35

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

Re: dwb - a webkit web browser

Aaaaaand what happens if you run makepkg?

Offline

#2240 2014-09-18 19:22:22

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

Re: dwb - a webkit web browser

The same thing you're getting, of course.


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

Offline

#2241 2014-09-19 01:19:23

mkaito
Member
From: Spain
Registered: 2010-06-12
Posts: 126
Website

Re: dwb - a webkit web browser

Does anyone happen to know how I can take a tab in dwb and save its URL to pocket?


Fear me! I have root! Sometimes...

Offline

#2242 2014-09-20 03:50:16

HamsterStyle
Member
Registered: 2014-09-06
Posts: 2

Re: dwb - a webkit web browser

karol wrote:

Did you run into any problems now? Is your system up to date?
Compiling with the previous gllibc (2.19-5) works, but new glibc (2.20-2) moved to [core] a few days ago and now it doesn't work.

Just jumping in, I was rebuilding dwb since I just got everything installed and dwb always segfaults on flash (especially in youtube).

When I recompile using the source I've cloned, I'm getting the same warning for _BSD_SOURCE and yadda yadda are deprecated.

Offline

#2243 2014-09-20 06:48:24

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

Re: dwb - a webkit web browser

Jupp, confirmed!

Offline

#2244 2014-09-20 09:10:28

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

Re: dwb - a webkit web browser

I have fixed the compilation error with glibc-2.20.

Offline

#2245 2014-09-20 21:21:55

oktorok
Member
From: San Francisco, Ca
Registered: 2014-06-18
Posts: 70

Re: dwb - a webkit web browser

I've seen here and there some discussion about webkit browsers not being able to load certain pages.  Currently two important sites to me, mit.edu and wolframalpha.com get stuck at 10%.   Is there any clarity around why this happens,  is it webkit that needs to catch up, or is it the websites that need to catch up?  Do people expect it to be fixed later on?

{edit} I just downloaded firefox, and the sites don't load on there either, maybe this is not a dwb related question then.  Can this be moved this to a general newbie corner issue please?

Last edited by oktorok (2014-09-20 21:30:40)

Offline

#2246 2014-09-20 21:51:30

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: dwb - a webkit web browser

oktorok wrote:

{edit} I just downloaded firefox, and the sites don't load on there either, maybe this is not a dwb related question then.  Can this be moved this to a general newbie corner issue please?

I cannot move the thread as this is (a) not your thread, and (b) it is quite lengthy and belongs here anyway. smile

Feel free to start a new thread, however.   I am using Firefox on Arch and have no trouble loading mit.edu or wolramalpha.com.  No trouble with mit.org and dwb either.
Mayhaps when you start that thread, include information about your kernel, network configuration and window manager


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#2247 2014-09-21 22:56:19

oktorok
Member
From: San Francisco, Ca
Registered: 2014-06-18
Posts: 70

Re: dwb - a webkit web browser

Thanks ewaller, will do. smile

Offline

#2248 2014-09-24 01:17:46

HamsterStyle
Member
Registered: 2014-09-06
Posts: 2

Re: dwb - a webkit web browser

volimsir wrote:

Should I have just used cairo-git, since it has been updated after your posted the fix?

Just for reference, this is what I tried, and it worked. The latest update to cairo-git does seem to have the fix that was linked earlier by shutdown -h now. No need for rebuilding dwb.

dwb now runs all html5 video (youtube, etc) smoothly and there's no more segfaults (it was not flash; I was mistaken in my earlier post).

Offline

#2249 2014-09-26 11:19:51

tomxtobin
Member
Registered: 2010-10-07
Posts: 22

Re: dwb - a webkit web browser

It looks like dwb is a dead project:

portix: dwb is currently unmaintained and i dont merge any pull requests.

https://bitbucket.org/portix/dwb/pull-r … nt-3217936

This is an incredibly disappointing development. I can't imagine going back to another browser after dwb.

If anyone has the C chops (and I certainly don't!), would they consider forking and continuing the project? And maybe move it to GitHub for better exposure? Ideally, I'd like to see two or more developers coordinating instead of it being a one-man show (with the corresponding bus factor).

Offline

#2250 2014-09-26 15:15:15

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

Re: dwb - a webkit web browser

tomxtobin wrote:

It looks like dwb is a dead project:

portix: dwb is currently unmaintained and i dont merge any pull requests.

https://bitbucket.org/portix/dwb/pull-r … nt-3217936

This is an incredibly disappointing development. I can't imagine going back to another browser after dwb.

If anyone has the C chops (and I certainly don't!), would they consider forking and continuing the project? And maybe move it to GitHub for better exposure? Ideally, I'd like to see two or more developers coordinating instead of it being a one-man show (with the corresponding bus factor).

Somewhere in this thread it is mentioned that portix is working on a new browser that I believe said is using a mozilla back end instead of a webkit back end. I hope that it's true.

Offline

Board footer

Powered by FluxBB