Xfce Forum

Sub domains
 

You are not logged in.

#1 2020-02-12 09:37:18

etnetu
Member
Registered: 2019-03-12
Posts: 11

Shifted Places icon in panel

panel_places_bug
Why is the icon shifted, and how can I correct this?

Because I don't see the image in the preview, this is the url
https://imgur.com/dRZr5ic

Please note that in .xsession-errors
I got this messages, without others informations, then maybe unrelated,

Gtk-WARNING **: 08:45:12.729: Attempting to add a widget with type GtkToggleButton to a container of type XfcePanelPlugin, but
the widget is already inside a container of type XfcePanelPlugin, please remove the widget from its existing container first.

Gtk-WARNING **: 08:45:14.084: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owne
r PlacesButton)

Offline

#2 2020-02-12 11:43:33

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

Re: Shifted Places icon in panel

Which distro are you using and specifically, which version of xfce4-panel:

xfce4-panel -V

Which appearance (gtk) theme are you using?

Do you have any custom tweaks in either ~/.gtkrc-2.0 or ~/.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 2020-02-12 12:17:28

etnetu
Member
Registered: 2019-03-12
Posts: 11

Re: Shifted Places icon in panel

Linux Debian unstable
Linux  5.4.0-1-amd64 #1 SMP Debian 5.4.6-1 (2019-12-27) x86_64 GNU/Linux
xfce4-panel 4.14.1 (Xfce 4.14)

Settings->Appearance gives Adwaita  style and icons

no custom tweaks
in ~/.config/gtk-2.0  there is
gtkfilechooser.ini

Offline

#4 2020-02-12 23:47:54

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

Re: Shifted Places icon in panel

Interesting bug. It only seems to affect the Adwaita theme (works fine in Greybird).

To workaround the issue, add the following to ~/.config/gtk-3.0/gtk.css:

#places-16 { margin-left: -6px; }

...where:
   - "16" is the actual widget ID (hover over the plugin in the panel's Item tab to get the ID)
   - "-6px" is the margin offset - adjust to suit.


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.010 seconds, 7 queries executed - Memory usage: 529.7 KiB (Peak: 532.2 KiB) ]