Xfce Forum

Sub domains
 

You are not logged in.

#1 2015-10-09 17:17:38

rick71
Member
Registered: 2014-03-04
Posts: 27

scrollbar images in gtk3 themes

I am using XFCE 4.12 in opensuseuse Tumbleweed.

At the moment I am using an edited Adwaita for my theme.

No matter what gtk3 theme I use, I can't get them to use the scrollbar/slider images in the asset folders. I have been able to change the slider width, length and color. Te one time I succeeded (and I don't remember how I did it) the image just repeated itself in the scrollbars.

The gtk2 parts of the theme work fine.

Can anyone point me to a solution?

Offline

#2 2015-10-09 20:09:39

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: scrollbar images in gtk3 themes

What version of GTK3 are you using? And are you talking about the Overlay Scrollbars (which can be disabled via export GTK_OVERLAY_SCROLLING=0).

Perhaps an screenshot might help.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2015-10-09 20:56:36

rick71
Member
Registered: 2014-03-04
Posts: 27

Re: scrollbar images in gtk3 themes

ToZ wrote:

What version of GTK3 are you using?

3.16.6-1.1. At least that is the version showing in my package manager.

ToZ wrote:

And are you talking about the Overlay Scrollbars (which can be disabled via export GTK_OVERLAY_SCROLLING=0).

I have no idea. I installed from an opensuse intall disk and chose XFCE as the DE. I have changed any environment variables.

ToZ wrote:

Perhaps an screenshot might help.

http://islocus.net/images/screenshot.png

I don't know how to put images into posts. Can you point me to directions?

The screenshot shows Mozilla Firefox (gtk2) using a graphic for the scrollbar. On top is LibreOffice 5 (gtk3) with widened scrollbars, using a color for the slider. I'd like to be able to use images that are in the assets folder.

Thanks

Offline

#4 2015-10-09 21:27:22

MountainDewManiac
Member
From: Where Mr. Bankruptcy is Prez
Registered: 2013-03-24
Posts: 1,115

Re: scrollbar images in gtk3 themes

rick71 wrote:

I don't know how to put images into posts. Can you point me to directions?

It's easy. Just enclose the image's address within IMG tags:

[img]http://islocus.net/images/screenshot.png[/img]

And you end up with this:

screenshot.png

Regards,
MDM


Mountain Dew Maniac

How to Ask for Help <=== Click on this link

Offline

#5 2015-10-09 21:38:34

rick71
Member
Registered: 2014-03-04
Posts: 27

Re: scrollbar images in gtk3 themes

Thanks :-)

Offline

#6 2015-10-09 22:24:03

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: scrollbar images in gtk3 themes

Is it just libreoffice that is causing you this problem? If so, version 5 of libreoffice implemented some new sort of themeing that doesn't work quite right (still experimental). You can test the differences by running it as such:

SAL_USE_VCLPLUGIN=gen lowriter
SAL_USE_VCLPLUGIN=kde4 lowriter
SAL_USE_VCLPLUGIN=gtk lowriter
SAL_USE_VCLPLUGIN=gtk3 lowriter

I ended up using "SAL_USE_VCLPLUGIN=gtk" to get it to display correctly. In Arch, the libreoffice package shipped with am /etc/profile.d/libreoffice*.sh file that allowed you to set this value system-wide.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#7 2015-10-10 00:23:24

rick71
Member
Registered: 2014-03-04
Posts: 27

Re: scrollbar images in gtk3 themes

It's not just LibreOffice. The other gtk3 based apps are doing the same thing.

Offline

#8 2015-10-10 01:18:00

MountainDewManiac
Member
From: Where Mr. Bankruptcy is Prez
Registered: 2013-03-24
Posts: 1,115

Re: scrollbar images in gtk3 themes

Maybe the developers broke something the last time they released an update for Gtk3 (now that would be a surprise[/sarcasm])? Have you tried reverting to a previous version? Or checking to see if there is a newer one?

Regards,
MDM


Mountain Dew Maniac

How to Ask for Help <=== Click on this link

Offline

#9 2015-10-10 01:25:53

rick71
Member
Registered: 2014-03-04
Posts: 27

Re: scrollbar images in gtk3 themes

MountainDewManiac wrote:

Maybe the developers broke something the last time they released an update for Gtk3 (now that would be a surprise[/sarcasm])? Have you tried reverting to a previous version? Or checking to see if there is a newer one?

Regards,
MDM

I'm running openSuse Tumbleweed, so Im not going to try to downgrade. I do keep the distro update.

Offline

#10 2015-10-10 08:34:33

sixsixfive
Member
From: behind you
Registered: 2012-04-08
Posts: 579
Website

Re: scrollbar images in gtk3 themes

you need to use css3 eg border images for example:

no images just css drawing: https://github.com/sixsixfive/Glare/blo … ollbar.css
border images: https://github.com/sixsixfive/Glare/blo … tebook.css
background widgets new gtk-scale: https://github.com/sixsixfive/Glare/blo … ton.css#L3
background widgets old background way: https://github.com/sixsixfive/Glare/blo … le.css#L24

also expect everything to break in gtk 3.18

Offline

Board footer

Powered by FluxBB