! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Cannot remove second panel
Status:
RESOLVED: MOVED
Product:
Xfce4-panel

Comments

Description John 2018-03-29 19:48:36 CEST
Created attachment 7652 
Screencap of Settings Editor

Hello all,

I normally have just one panel. 

I wanted to test the practicality of having the workspace switcher on a separate panel, and created a new panel with the switcher. I didn't like it, so I moved the switcher back to panel 1, and wanted to remove panel 2.

I could not find any (working) way to do this. Each time I remove the panel using the '-' in the panel dialog, it disappears, end reappears. At the moment panel 2 disappears, panel 1 also briefly disappears, then both reappear again. 

Using the Settings-editor, I can't seen to find a way to remove panel 2 either (attached screenshot of panel 2 data).
Comment 1 Andre Miranda editbugs 2018-03-30 03:58:22 CEST
On a terminal, run:
xfce4-panel -q
xfce4-panel

Now try to remove the second panel, check if any error message is given.
Comment 2 John 2018-03-30 15:35:05 CEST
Hello Andre,

This is the result:
--------------------------
libpager-Message: Setting the pager rows returned false. Maybe the setting is not applied.

(xfce4-panel:30646): xfce4-panel-CRITICAL **: Received unknown plugin property 17 for xfce4-sensors-plugin-11

(xfce4-panel:30646): xfce4-panel-CRITICAL **: Received unknown plugin property 17 for xfce4-mixer-plugin-12

(xfce4-panel:30646): Gtk-WARNING **: Allocating size to panel-tasklist-arrow 0xc87b70 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(wrapper-2.0:30656): Gtk-WARNING **: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner XfceArrowButton)

(wrapper-2.0:30650): Gtk-WARNING **: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node border, owner GtkFrame)
Comment 3 Andre Miranda editbugs 2018-03-30 23:49:28 CEST
By your description of the panels disappearance, it's very likely that it crashes when you try to remove the second panel, but nothing suspicious is to be found from the terminal output you provided.
It reminds me of bug #14144, since we're talking about the workspace plugin, but that bug is for the gtk3 version of xfce4-panel.
Unfortunately I can't reproduce this bug with neither 4.13 nor 4.12 versions.
Comment 4 John 2018-03-31 18:19:34 CEST
Maybe useful experiences:

- By accident, I clicked on the '+' butt and added a new panel. Now I cannot close that panel either.

- I tried to remove the panel switcher from Panel 1, but xfce4-panel crashed and I had to restart it from a terminal

- As there was no easy way to hide the extra panels, I went looking for the configuration file, (and found it at ~/.config/xfce4/xfconf/xfce-perchannel-xml). Indeed, there were 3 panels defined, so I removed the sections for Panel 2 and 3. On restart, they re-appeared. I noticed a strange definition at the 'panels' section of the xml:

    <value type="int" value="1"/>
    <value type="int" value="2"/>
    <value type="int" value="3"/>

So, I suspected this were the panel IDs (though they have other names assigned), and deleted 2 and 3 (and re-deleted panel 2 and 3). 

After a restart, I'm back to 1 panel - hurray. 

Re-added the workspace switcher, and I'm back to normal (for now)
Comment 5 Git Bot editbugs 2020-05-28 02:05:22 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfce4-panel/-/issues/186.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #14311

Reported by:
John
Reported on: 2018-03-29
Last modified on: 2020-05-28

People

Assignee:
Nick Schermer
CC List:
1 user

Version

Version:
4.12.0

Attachments

Screencap of Settings Editor (15.03 KB, image/png)
2018-03-29 19:48 CEST , John
no flags

Additional information