Xfce Forum

Sub domains
 

You are not logged in.

#1 2019-11-03 16:59:13

inparsian
Member
Registered: 2019-11-03
Posts: 7

xfce4-panel transparent pixels?

I use Manjaro 18.1.2 Juhraya, it has the Openbox window manager with the xfce4-panel (version 4.14.1).

I've noticed that most pixels on the top and bottom of the panel are transparent, while others are not, thus only 2% (30 pixels) of the panel are actually touching the very bottom of the screen.

Screenshot of problem (look closely at the top of the panel, the bottom does the same thing):
K6i9f4l.png

Is there any way to fix this? Thanks!

Last edited by inparsian (2019-11-03 17:27:28)

Offline

#2 2019-11-03 20:23:58

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,491

Re: xfce4-panel transparent pixels?

Hello and welcome.

Which appearance (GTK3) theme are you using and what size/height is the panel? 
Does it happen with all themes or just this one?
What plugin is being used right at the left of your screenshot? Whiskermenu?

Also, do you have any content in ~/.config/gtk-3.0/gtk.css?


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 2019-11-03 22:29:51

inparsian
Member
Registered: 2019-11-03
Posts: 7

Re: xfce4-panel transparent pixels?

ToZ wrote:

Hello and welcome.

Which appearance (GTK3) theme are you using and what size/height is the panel? 
Does it happen with all themes or just this one?
What plugin is being used right at the left of your screenshot? Whiskermenu?

Also, do you have any content in ~/.config/gtk-3.0/gtk.css?

The height of the panel is 30px. It happens when I set the panel to a solid color, and yes It's whiskermenu. I do have content in the gtk.css file.

Last edited by inparsian (2019-11-03 22:31:01)

Offline

#4 2019-11-03 23:05:16

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,491

Re: xfce4-panel transparent pixels?

Can you post the contents of the gtk.css file?

Also post back the results of:

xfconf-query -c xsettings -p /Net/ThemeName

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

#5 2019-11-03 23:24:46

inparsian
Member
Registered: 2019-11-03
Posts: 7

Re: xfce4-panel transparent pixels?

ToZ wrote:

Can you post the contents of the gtk.css file?

Also post back the results of:

xfconf-query -c xsettings -p /Net/ThemeName

gtk.css:

/* Custom styles */

/* select-off
@define-color selected_bg_color #398ee7;
@define-color selected_fg_color #eeeeee;
@define-color theme_selected_bg_color @selected_bg_color;
@define-color theme_selected_fg_color @selected_fg_color;
select-off */

/* panel-on */
@define-color panel_bg_color #cccccc;
@define-color panel_fg_color #333333;

PanelWidget,
PanelApplet,
PanelToplevel,
PanelSeparator,
PanelApplet > GtkMenuBar.menubar,
PanelApplet > GtkMenuBar.menubar.menuitem,
PanelMenuBar.menubar,
PanelMenuBar.menubar.menuitem,
PanelAppletFrame,
UnityPanelWidget,
.gnome-panel-menu-bar,
.unity-panel {
	background-image: -gtk-gradient(linear,left top,left bottom,from(shade(@panel_bg_color,1.2)),to(shade(@panel_bg_color,0.8)));
	color: @panel_fg_color;
}

.unity-panel.menuitem,
.unity-panel .menuitem {
	color: @panel_fg_color;
}

.unity-panel.menubar.menuitem:hover,
.unity-panel.menubar .menuitem *:hover {
	border-color: shade(@panel_bg_color, 0.7);
	border-image: none;
	background-image: -gtk-gradient(linear,left top,left bottom,from(shade(@panel_bg_color, 0.97)),to(shade(@panel_bg_color, 0.82)));
	color: @panel_fg_color;
}

PanelApplet .button {
	border-color: transparent;
	border-image: none;
	background-image: -gtk-gradient(linear,left top,left bottom,from(shade(@panel_bg_color,1.2)),to(shade(@panel_bg_color,0.8)));
	color: @panel_fg_color;
	box-shadow: none;
	text-shadow: none;
	-unico-inner-stroke-width: 0;
}

PanelApplet .button:active {
	border-color: shade(@panel_bg_color,0.8);
	border-image: none;
	background-image: -gtk-gradient(linear,left top,left bottom,from(shade(shade(@panel_bg_color,1.02),0.9)),to(shade(shade(@panel_bg_color,1.02),0.95)));
	color: @panel_fg_color;
	box-shadow: none;
	text-shadow: none;
	-unico-inner-stroke-width: 0;
}

PanelApplet .button:prelight {
	border-color: transparent;
	border-image: none;
	background-image: -gtk-gradient(linear,left top,left bottom,from(shade(@panel_bg_color,1.2)),to(shade(@panel_bg_color,1.0)));
	color: @panel_fg_color;
	box-shadow: none;
	text-shadow: none;
	-unico-inner-stroke-width: 0;
}

PanelApplet .button:active:prelight {
	border-color: shade(@panel_bg_color,0.8);
	border-image: none;
	background-image: -gtk-gradient(linear,left top,left bottom,from(shade(shade(@panel_bg_color,1.02),1.0)),to(shade(shade(@panel_bg_color,1.02),1.05)));
	color: @panel_fg_color;
	box-shadow: none;
	text-shadow: none;
	-unico-inner-stroke-width: 0;
}

WnckPager,
WnckTasklist {
	background-color: @panel_bg_color;
}

/* panel-on */

/* menu-off
@define-color menu_bg_color #eeeeee;
@define-color menu_fg_color #333333;

GtkTreeMenu.menu,
GtkMenuToolButton.menu,
GtkComboBox .menu {
	background-color: @menu_bg_color;
}

.primary-toolbar .button .menu,
.toolbar .menu,
.toolbar .primary-toolbar .menu,
.menu {
	border-style: none;
	background-image: none;
	background-color: @menu_bg_color;
	color: @menu_fg_color;
	box-shadow: none;
	text-shadow: none;
	-unico-inner-stroke-width: 0;
}

.menu.button:hover,
.menu.button:active,
.menu.button:active:insensitive,
.menu.button:insensitive,
.menu.button {
	background-color: @menu_bg_color;
	background-image: none;
}

GtkTreeMenu .menuitem * {
	color: @menu_fg_color;
}

.menuitem,
.menu .menuitem {
	background-color: transparent;
}

.menu .menuitem:active,
.menu .menuitem:hover {
	background-color: @theme_selected_bg_color;
}

.menuitem.check,
.menuitem.radio,
.menuitem.check:hover,
.menuitem.radio:hover,
.menuitem.check:active,
.menuitem.radio:active {
	background-color: transparent;
}

.menu .menuitem:insensitive,
.menu .menuitem *:insensitive {
	color: mix(@menu_fg_color,@menu_bg_color,0.5);
}

.menuitem.arrow {
	color: alpha(@menu_fg_color, 0.6);
}

.menuitem .entry {
	border-color: shade(@menu_bg_color,0.7);
	border-image: none;
	background-color: @menu_bg_color;
	background-image: none;
	color: @menu_fg_color;
}

.menuitem .accelerator {
	color: alpha(@menu_fg_color,0.6);
}

.menuitem .accelerator:insensitive {
	color: alpha(mix(@menu_fg_color,@menu_bg_color,0.5),0.6);
	text-shadow: none;
}

.menuitem.separator {
	background-color: transparent;
	color: shade(@menu_bg_color, 0.9);
}

.menuitem GtkCalendar,
.menuitem GtkCalendar.button,
.menuitem GtkCalendar.header,
.menuitem GtkCalendar.view {
	border-color: shade(@menu_bg_color,0.8);
	border-image: none;
	background-color: @menu_bg_color;
	background-image: none;
	color: @menu_fg_color;
}

.menuitem GtkCalendar:inconsistent {
	color: mix(@menu_fg_color,@menu_bg_color,0.5);
}

menu-off */

xfconf-query -c xsettings -p /Net/ThemeName:

Vertex-Light

Offline

#6 2019-11-04 00:59:40

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,491

Re: xfce4-panel transparent pixels?

I can't replicate this on a Manjaro 18.1.2 VM. Did you get the Vertex-Light theme for the "vertex-theme" package in the repositories?

Also, try renaming the gtk.css file (to something like gtk.css.bak) and restarting the panel:

xfce4-panel -r

...to see if it makes a difference without the file in place.


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 2019-11-04 01:05:23

inparsian
Member
Registered: 2019-11-03
Posts: 7

Re: xfce4-panel transparent pixels?

ToZ wrote:

Did you get the Vertex-Light theme for the "vertex-theme" package in the repositories?

Yes, I did

ToZ wrote:

Try renaming the gtk.css file (to something like gtk.css.bak) and restarting the panel:

xfce4-panel -r

...to see if it makes a difference without the file in place.

Tried it, no difference.

Offline

#8 2019-11-04 01:39:40

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,491

Re: xfce4-panel transparent pixels?

Hmmm. I just can't replicate this.

Can you try a few things:

1. Try another appearance theme - preferably Adwaita. Restart the panel (xfce4-panel -r) and see if it makes a difference.

2. Re-enable xfwm4 (xfwm4 --replace) and see if it makes a difference.

3. Create a test user and log in as that user. Change the theme to Vertex-Light, enable openbox, and restart the panel. Does the issue persist?

Edit: Are you using something like compton for compositing?

Last edited by ToZ (2019-11-04 01:42:41)


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

#9 2019-11-04 13:36:33

inparsian
Member
Registered: 2019-11-03
Posts: 7

Re: xfce4-panel transparent pixels?

ToZ wrote:

Hmmm. I just can't replicate this.

Can you try a few things:

1. Try another appearance theme - preferably Adwaita. Restart the panel (xfce4-panel -r) and see if it makes a difference.

2. Re-enable xfwm4 (xfwm4 --replace) and see if it makes a difference.

3. Create a test user and log in as that user. Change the theme to Vertex-Light, enable openbox, and restart the panel. Does the issue persist?

Edit: Are you using something like compton for compositing?

I use xcompmgr for compositing.

1. How do I change the appearance theme (sorry, i'm new to the xfce4-panel)?

2. Didn't help, issue persists.

3. Issue persists.

Offline

#10 2019-11-04 15:30:44

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,491

Re: xfce4-panel transparent pixels?

inparsian wrote:

1. How do I change the appearance theme (sorry, i'm new to the xfce4-panel)?

Settings Manager > Appearance > Style tab. Try with the "Adwaita" theme. Restart the panel to make sure.


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

#11 2019-11-04 17:00:46

inparsian
Member
Registered: 2019-11-03
Posts: 7

Re: xfce4-panel transparent pixels?

ToZ wrote:
inparsian wrote:

1. How do I change the appearance theme (sorry, i'm new to the xfce4-panel)?

Settings Manager > Appearance > Style tab. Try with the "Adwaita" theme. Restart the panel to make sure.

Tried the Adwaita and Adapta-Nokto theme, issue still persisted.

Offline

#12 2019-11-05 01:49:52

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,491

Re: xfce4-panel transparent pixels?

I can't seem to replicate this problem. Same distro. Running openbox and xcompmgr. I'm not sure what to say.

Perhaps you can open a bug report and see if the developer has some ideas on what might be happening here.

Edit: Just want to confirm that the same thing happens when running just xfwm4 and with openbox and xcompmgr not running.


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

#13 2019-11-05 02:14:19

inparsian
Member
Registered: 2019-11-03
Posts: 7

Re: xfce4-panel transparent pixels?

ToZ wrote:

I can't seem to replicate this problem. Same distro. Running openbox and xcompmgr. I'm not sure what to say.

Perhaps you can open a bug report and see if the developer has some ideas on what might be happening here.

Edit: Just want to confirm that the same thing happens when running just xfwm4 and with openbox and xcompmgr not running.

Where can I file a bug report, may I ask?

Offline

#14 2019-11-05 11:27:46

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,491

Re: xfce4-panel transparent pixels?

At the bug tracker under the xfce4-panel package.


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

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 9 queries executed - Memory usage: 612.66 KiB (Peak: 629.5 KiB) ]