Xfce Forum

Sub domains
 

You are not logged in.

#1 2020-01-19 20:46:08

Jamie Michelle
Member
From: USA
Registered: 2019-08-26
Posts: 16
Website

Buttons Are Disheveled on xfce4-panel 4.14.3

Hi, everyone. With xfce4-panel 4.14.3, the Applications Menu button is incongruously non-square, i.e., its vertical length is longer than the horizontal length; whereas with xfce4-panel 4.14.1, it was square along with all the other buttons other than the Clock button (which is non-square due to the length of the text within it).

Also, the icon buttons in the Notification Area are not centered when the "Show frame" option is checked, but are instead shifted to the bottom right.

Here is a screenshot of how said elements appear with xfce4-panel 4.14.3:

* https://ibb.co/DgGqSMM , https://web.archive.org/web/20200118180 … -11-18.png , https://archive.is/4vwlt .

It doesn't matter what theme I have tested this with, the results are the same.

And here is a screenshot of said elements' congruous appearance with xfce4-panel 4.14.1 (the Notification Area "Show frame" option with this version does nothing):

* https://raw.githubusercontent.com/Jamie … -GTK-2.png , https://web.archive.org/web/20200108204 … -GTK-2.png , https://archive.is/NEGTE .

I filed the following bug-report on this issue:

* Jamie Michelle, "Buttons Are Disheveled on xfce4-panel 4.14.3", Bug 16392, Jan. 18, 2020, https://bugzilla.xfce.org/show_bug.cgi?id=16392 .

My present solution is to downgrade to xfce4-panel 4.14.1. But if anyone knows how to get the old congruous behavior with xfce4-panel 4.14.3 then that would also be useful to know. Thank you for your time on this matter.


Creator of the Computing Machine desktop theme.

Offline

#2 2020-01-19 21:57:16

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

Re: Buttons Are Disheveled on xfce4-panel 4.14.3

Jamie Michelle wrote:

With xfce4-panel 4.14.3, the Applications Menu button is incongruously non-square, i.e., its vertical length is longer than the horizontal length; whereas with xfce4-panel 4.14.1, it was square along with all the other buttons other than the Clock button (which is non-square due to the length of the text within it).

It looks like the plugin is missing the padding. Try adding the following to /.config/gtk-3.0/gtk.css to see if it fixes it:

#applicationmenu-button { padding: 4px; }

... you might need to adjust the "4" - but 4px works for me. The only commit between 4.14.1 and 4.14.3 that would affect the appmenu's icon size is appmenu: Use panel's icon size. A git bisect would be able to confirm it.

I'll have a look at the second issue as well.


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 2020-01-19 22:22:23

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

Re: Buttons Are Disheveled on xfce4-panel 4.14.3

Jamie Michelle wrote:

Also, the icon buttons in the Notification Area are not centered when the "Show frame" option is checked, but are instead shifted to the bottom right.

This one is also a bug. Not sure when it was introduced though. You can also try working around it with something like this:

#systray-5>frame>box { padding-bottom: 4px; padding-right: 2px;}

...where the number '5' in "#systray-5" is the actual widget name number that you can get with:

xfconf-query -c xfce4-panel -lv | grep systray | awk '{print $1}' | awk -F "-" '{print $2}'

You can also modify the padding values to fit.

I notice that you've created bug reports for these issues - that is the best way to get them fixed.


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

#4 2020-01-20 18:41:15

Jamie Michelle
Member
From: USA
Registered: 2019-08-26
Posts: 16
Website

Re: Buttons Are Disheveled on xfce4-panel 4.14.3

ToZ wrote:
Jamie Michelle wrote:

With xfce4-panel 4.14.3, the Applications Menu button is incongruously non-square, i.e., its vertical length is longer than the horizontal length; whereas with xfce4-panel 4.14.1, it was square along with all the other buttons other than the Clock button (which is non-square due to the length of the text within it).

It looks like the plugin is missing the padding. Try adding the following to /.config/gtk-3.0/gtk.css to see if it fixes it:

#applicationmenu-button { padding: 4px; }

... you might need to adjust the "4" - but 4px works for me. The only commit between 4.14.1 and 4.14.3 that would affect the appmenu's icon size is appmenu: Use panel's icon size. A git bisect would be able to confirm it.

I'll have a look at the second issue as well.

ToZ wrote:
Jamie Michelle wrote:

Also, the icon buttons in the Notification Area are not centered when the "Show frame" option is checked, but are instead shifted to the bottom right.

This one is also a bug. Not sure when it was introduced though. You can also try working around it with something like this:

#systray-5>frame>box { padding-bottom: 4px; padding-right: 2px;}

...where the number '5' in "#systray-5" is the actual widget name number that you can get with:

xfconf-query -c xfce4-panel -lv | grep systray | awk '{print $1}' | awk -F "-" '{print $2}'

You can also modify the padding values to fit.

I notice that you've created bug reports for these issues - that is the best way to get them fixed.

Thank you for your information, ToZ. Hopefully these bugs are fixed soon, particularly the incongruity with the Applications Menu button, since one can get around the Notification Area issue by unselecting the "Show frame" option.

For now, I'll continue to use xfce4-panel 4.14.1, since that's the simplest fix presently.


Creator of the Computing Machine desktop theme.

Offline

Board footer

Powered by FluxBB