You are not logged in.

#1 2016-10-13 13:52:01

sasvari
Member
Registered: 2012-11-08
Posts: 4

Application background color of zathura pdf viewer - Gtk3 in general?

Since a couple of days (not exactly sure since when) the background of zathura is changed from black to gray without me changing anything:

I figure it has something to do with the settings for Gtk, but I'm unable to find out where I set it.

Anybody else having the same issue or can point me in the right direction?

Additionally I get the following warnings when launching zathura, but I don't know if that has anything to do with the problem:

$ zathura 

(zathura:8408): Gtk-WARNING **: Theme parsing error: <data>:12:26: Using Pango syntax for the font: style 
error: Unable to load CSS: <data>:12:8not a number

(zathura:8408): Gtk-WARNING **: Theme parsing error: <data>:12:26: Using Pango syntax for the font: style 
error: Unable to load CSS: <data>:12:8not a number

(zathura:8408): Gtk-WARNING **: Theme parsing error: <data>:12:26: Using Pango syntax for the font: style 
error: Unable to load CSS: <data>:12:8not a number

(zathura:8408): Gtk-WARNING **: Theme parsing error: <data>:12:26: Using Pango syntax for the font: style 
error: Unable to load CSS: <data>:12:8not a number

(zathura:8408): Gtk-WARNING **: Theme parsing error: <data>:12:26: Using Pango syntax for the font: style 
error: Unable to load CSS: <data>:12:8not a number

(zathura:8408): Gtk-WARNING **: Theme parsing error: <data>:12:26: Using Pango syntax for the font: style 
error: Unable to load CSS: <data>:12:8not a number

(zathura:8408): Gtk-WARNING **: Theme parsing error: <data>:12:26: Using Pango syntax for the font: style 
error: Unable to load CSS: <data>:12:8not a number

(zathura:8408): Gtk-WARNING **: Theme parsing error: <data>:12:26: Using Pango syntax for the font: style 
error: Unable to load CSS: <data>:12:8not a number

(zathura:8408): Gtk-WARNING **: Theme parsing error: <data>:12:26: Using Pango syntax for the font: style 
error: Unable to load CSS: <data>:12:8not a number

(zathura:8408): Gtk-WARNING **: Theme parsing error: <data>:12:26: Using Pango syntax for the font: style 
error: Unable to load CSS: <data>:12:8not a number

Gtk3 was last updated 2016-10-12, so maybe the problem lies there.

versions
  • zathura 0.3.6

  • extra/gtk3 3.22.1+8+ge11df6c-2 [installed] GObject-based multi-platform GUI toolkit

Offline

#2 2016-10-13 14:08:25

ayekat
Member
Registered: 2011-01-17
Posts: 1,589

Re: Application background color of zathura pdf viewer - Gtk3 in general?

What have you set for `default-bg` in your zathurarc?

-- edit --
Have you set it? Apparently, if you don't, it should stay black.

zathurarc (5) wrote:
   default-bg
       Defines the default background color

       · Value type: String

       · Default value: #000000

Otherwise, try asking on the zathura thread smile

-- edit 2 --
Oh, I just see that I'm not yet at the latest version of GTK3, so I can't tell whether what you experience is normal or not... I'm sorry.

Last edited by ayekat (2016-10-13 14:16:14)


pkgshackscfgblag

Offline

#3 2016-10-13 14:13:45

sasvari
Member
Registered: 2012-11-08
Posts: 4

Re: Application background color of zathura pdf viewer - Gtk3 in general?

I did not have any setting for it in my zathurarc, but setting it doesn't have any effect as well:

set default-bg #000000

changes nothing.

Offline

#4 2016-10-14 15:20:56

0x530302
Member
Registered: 2012-06-26
Posts: 15

Re: Application background color of zathura pdf viewer - Gtk3 in general?

A friend of mine and I are having the same issue, which is probably caused by the newest gtk3 update. At least rolling back to gtk3-3.20.9-1 seems fix the issue for us.

Offline

#5 2016-10-14 15:27:49

Dowefu
Member
Registered: 2014-03-25
Posts: 68

Re: Application background color of zathura pdf viewer - Gtk3 in general?

Not only that, but the appearance of the command line and the contents pane (press Tab) was also changed.

Offline

#6 2016-10-14 18:31:18

heyb0ss
Member
From: Grassina, Italy
Registered: 2016-10-14
Posts: 5

Re: Application background color of zathura pdf viewer - Gtk3 in general?

I have the same issue here. Just updated all the packages, but still application background is grey and command line looks like a normal gtk2 text field.
Downgrade to gtk3-3.20.9-1 suggested by 0x530302 seems to work fine.
Looking for a smarter way to solve the problem smile .


[Was bedeutet das alles?]

Offline

#7 2016-10-14 18:32:06

xsmile
Member
Registered: 2012-03-31
Posts: 31

Re: Application background color of zathura pdf viewer - Gtk3 in general?

@sasvari and others:

Switching to the development version of girara fixes display issues of zathura. You can use the girara-git package from the AUR.

Offline

#8 2016-10-16 15:06:12

heyb0ss
Member
From: Grassina, Italy
Registered: 2016-10-14
Posts: 5

Re: Application background color of zathura pdf viewer - Gtk3 in general?

New version of girara (0.2.6-3) released and works fine with zathura (0.3.6-3).
Zathura now has a tiny left padding in the command bar.
@sasvari please mark thread as [SOLVED].

Last edited by heyb0ss (2016-10-16 15:07:59)


[Was bedeutet das alles?]

Offline

#9 2016-10-16 17:15:09

Dowefu
Member
Registered: 2014-03-25
Posts: 68

Re: Application background color of zathura pdf viewer - Gtk3 in general?

heyb0ss wrote:

New version of girara (0.2.6-3) released and works fine with zathura (0.3.6-3).

No, it doesn't. It applies the ‘default-bg’ setting not to the whole “canvas”, but to the border around it. (At the picture, the ‘default-bg’ setting is set to the orange color, however, as you can see, it wasn't applied to the canvas, so it stayed black.)

@sasvari, please, don't mark the thread as [SOLVED].

Offline

#10 2016-10-16 19:45:48

heyb0ss
Member
From: Grassina, Italy
Registered: 2016-10-14
Posts: 5

Re: Application background color of zathura pdf viewer - Gtk3 in general?

Dowefu wrote:
heyb0ss wrote:

New version of girara (0.2.6-3) released and works fine with zathura (0.3.6-3).

No, it doesn't. It applies the ‘default-bg’ setting not to the whole “canvas”, but to the border around it. (At the picture, the ‘default-bg’ setting is set to the orange color, however, as you can see, it wasn't applied to the canvas, so it stayed black.)

@sasvari, please, don't mark the thread as [SOLVED].

He's right, I'm sorry. Don't mark it as solved.
Screenshot here: http://imgur.com/a/h4YOJ .


[Was bedeutet das alles?]

Offline

#11 2016-10-31 19:41:39

equant
Member
Registered: 2012-01-06
Posts: 7

Re: Application background color of zathura pdf viewer - Gtk3 in general?

FYI, This problem has gone away for me as of the latest -Syu I ran today (i.e. going from gtk3 3.22.1 to 3.22.2).  The completion-bg and default-bg in my zathurarc file are now applied/honoured.

Offline

Board footer

Powered by FluxBB