#829696 xfce4-panel: Panel displayed in wrong position on startup

Package:
xfce4-panel
Source:
xfce4-panel
Description:
panel for Xfce4 desktop environment
Submitter:
"Paul \"LeoNerd\" Evans"
Date:
2024-06-10 17:30:02 UTC
Severity:
normal
Tags:
#829696#5
Date:
2016-07-05 12:28:02 UTC
From:
To:
Dear Maintainer,

Immediately after logging in to xfce4, my panel that should be across
the top of the screen is in fact displayed vertically, heavily
truncated, down the side of the screen.

If I simply right-click it and hit "Panel Preferences", it works out
that it's in the wrong place and redraws correctly, thereafter working
fine.

To clarify: I don't have to edit any settings on the preferences dialog;
merely opening it is enough to fix it.

#829696#10
Date:
2016-08-14 16:33:57 UTC
From:
To:
I am having a problem with xfce4-panel not positioned on the top row of
the screen at startup.  The result is that maximized windows over(under)lap
the panel in for a few pixels.  This effect obscures title bars on open
xfce4-terminals and tab labels in chromium.

I don't know if this is an xfce4-panel problem, an xfwm4 problem, or
a combination of both.  It just started happening recently.  I had not
changed any of the settings for the top panel from the defaults, nor
had I changed the window manager tweaks.

#829696#15
Date:
2016-08-14 16:43:23 UTC
From:
To:
Fixed by repositioning panel to very top after unlocking.
#829696#20
Date:
2019-02-14 18:51:20 UTC
From:
To:
Any update on this? It's been 2.5 years now.

Anything I can do to assist debugging and eventually fixing it?

#829696#25
Date:
2019-02-16 10:53:00 UTC
From:
To:
In case it helps illustrate, attached are two screenshots

 panel-at-startup-1.png is immediately after login, showing the two
   panels as they started up. They are in the wrong place.

Right-clicking on each and hitting "Panel Preferences" is enough to jog
them back into the right position. Note I don't have to *change* any of
the preferences, simply opening the preferences dialog alone is enough
to correct them.

  panel-at-startup-2.png shows them in their now-correct places.

#829696#30
Date:
2019-02-21 12:41:23 UTC
From:
To:
No, sorry

Honestly, it'd be best to directly report this upstream.

Regards,

#829696#39
Date:
2022-11-10 04:20:23 UTC
From:
To:
Do you still face this problem? Sounds like a saved session issue.
Check if autosave is disabled:

$ xfconf-query --channel xfce4-session --property /general/AutoSave

and make sure the checkbox to save that appears on logout dialog is
also unticked. Then, clear out ~/.cache/sessions

Wouldn't also hurt to see your
~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml

#829696#44
Date:
2023-04-08 11:49:16 UTC
From:
To:
Yup, still happening.

$ xfconf-query --channel xfce4-session --property /general/AutoSave
Property "/general/AutoSave" does not exist on channel "xfce4-session".

Here:

<?xml version="1.0" encoding="UTF-8"?>

<channel name="xfce4-panel" version="1.0">
  <property name="panels" type="uint" value="2">
    <property name="panel-0" type="empty">
      <property name="position" type="string" value="p=6;x=683;y=16"/>
      <property name="length" type="uint" value="100"/>
      <property name="position-locked" type="bool" value="true"/>
      <property name="plugin-ids" type="array">
        <value type="int" value="1"/>
        <value type="int" value="14"/>
        <value type="int" value="9"/>
        <value type="int" value="3"/>
        <value type="int" value="6"/>
        <value type="int" value="5"/>
        <value type="int" value="2"/>
      </property>
      <property name="mode" type="uint" value="0"/>
      <property name="size" type="uint" value="32"/>
      <property name="background-style" type="uint" value="0"/>
      <property name="disable-struts" type="bool" value="false"/>
      <property name="span-monitors" type="bool" value="false"/>
      <property name="autohide-behavior" type="uint" value="0"/>
    </property>
    <property name="panel-1" type="empty">
      <property name="position" type="string" value="p=4;x=1325;y=601"/>
      <property name="size" type="uint" value="80"/>
      <property name="position-locked" type="bool" value="true"/>
      <property name="plugin-ids" type="array">
        <value type="int" value="4"/>
      </property>
      <property name="length" type="uint" value="23"/>
      <property name="mode" type="uint" value="1"/>
      <property name="autohide-behavior" type="uint" value="0"/>
      <property name="disable-struts" type="bool" value="false"/>
      <property name="length-adjust" type="bool" value="false"/>
      <property name="background-style" type="uint" value="0"/>
      <property name="icon-size" type="uint" value="0"/>
      <property name="span-monitors" type="bool" value="false"/>
    </property>
    <property name="dark-mode" type="bool" value="false"/>
  </property>
  <property name="plugins" type="empty">
    <property name="plugin-1" type="string" value="applicationsmenu">
      <property name="show-generic-names" type="bool" value="false"/>
    </property>
    <property name="plugin-3" type="string" value="tasklist">
      <property name="flat-buttons" type="bool" value="false"/>
      <property name="show-labels" type="bool" value="true"/>
      <property name="show-handle" type="bool" value="false"/>
      <property name="rotate-vertically" type="bool" value="true"/>
      <property name="grouping" type="uint" value="1"/>
      <property name="include-all-workspaces" type="bool" value="true"/>
      <property name="include-all-monitors" type="bool" value="true"/>
      <property name="show-only-minimized" type="bool" value="false"/>
      <property name="show-wireframes" type="bool" value="false"/>
      <property name="switch-workspace-on-unminimize" type="bool" value="false"/>
      <property name="window-scrolling" type="bool" value="true"/>
    </property>
    <property name="plugin-4" type="string" value="pager">
      <property name="rows" type="uint" value="1"/>
      <property name="miniature-view" type="bool" value="true"/>
    </property>
    <property name="plugin-6" type="string" value="systray">
      <property name="names-visible" type="array">
        <value type="string" value="google-musicmanager"/>
        <value type="string" value="wicd-client.py"/>
        <value type="string" value="gxmms2"/>
        <value type="string" value="ibus-ui-gtk3"/>
        <value type="string" value="notifications"/>
        <value type="string" value="remmina remote desktop client"/>
        <value type="string" value="orage"/>
        <value type="string" value="kerneloops-applet"/>
        <value type="string" value="xfce4-power-manager"/>
        <value type="string" value="ibus panel"/>
        <value type="string" value="skype"/>
        <value type="string" value="clipman"/>
        <value type="string" value="mumble"/>
        <value type="string" value="gmpc"/>
        <value type="string" value="thunar"/>
        <value type="string" value="wpa_gui"/>
        <value type="string" value="telegram-desktop"/>
      </property>
      <property name="names-ordered" type="array">
        <value type="string" value="zoom"/>
        <value type="string" value="kazam"/>
        <value type="string" value="system-config-printer"/>
        <value type="string" value="telegram-desktop"/>
        <value type="string" value="google-musicmanager"/>
        <value type="string" value="wicd-client.py"/>
      </property>
      <property name="known-legacy-items" type="array">
        <value type="string" value="gtkstatusicon.t"/>
        <value type="string" value="kazam"/>
        <value type="string" value="networkmanager applet"/>
        <value type="string" value="system-config-printer"/>
        <value type="string" value="wicd-client.py"/>
        <value type="string" value="ibus panel"/>
      </property>
      <property name="known-items" type="array">
        <value type="string" value="zoom"/>
      </property>
    </property>
    <property name="plugin-9" type="string" value="launcher">
      <property name="items" type="array">
        <value type="string" value="13716349761.desktop"/>
        <value type="string" value="13119470635.desktop"/>
      </property>
    </property>
    <property name="plugin-14" type="string" value="directorymenu">
      <property name="base-directory" type="string" value="/home/leo"/>
    </property>
    <property name="plugin-15" type="string" value="battmon"/>
    <property name="plugin-5" type="string" value="battery"/>
    <property name="plugin-7" type="string" value="xfce4-orageclock-plugin"/>
    <property name="plugin-10" type="string" value="mixer">
      <property name="sound-card" type="string" value="HDAIntelPCHAlsamixer"/>
      <property name="track" type="string" value="Master"/>
      <property name="command" type="string" value="xfce4-mixer"/>
      <property name="enable-keyboard-shortcuts" type="bool" value="true"/>
    </property>
    <property name="plugin-2" type="string" value="clock">
      <property name="digital-format" type="string" value="%Y-%m-%d %R"/>
      <property name="digital-time-format" type="string" value="%Y-%m-%d %R"/>
      <property name="digital-layout" type="uint" value="3"/>
    </property>
  </property>
  <property name="configver" type="int" value="2"/>
</channel>

#829696#49
Date:
2024-06-10 17:07:32 UTC
From:
To:
On Sat, 8 Apr 2023 12:49:16 +0100 "Paul \"LeoNerd\" Evans" <leonerd@leonerd.org.uk> wrote:

Hi there,

Bug is still happening in current version, 4.18.4-1+b1

One thing I notice is that the bug only happens if using sawfish as the
window manager. If using xfce's default of xfwm4 then it behaves as
expected.

Is there any further assistance I can provide in helping to fix it?