! 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 !
Removing a panel does not work
Status:
RESOLVED: DUPLICATE
Product:
Libxfce4ui
Component:
General

Comments

Description Adam Purkrt 2017-09-29 12:09:18 CEST
Removing a panel does not work

Steps to reproduce:
1) start with default xfce4 config (two panels)
2) try to remove one of the panels (panel preferences, remove ("-"))
3) all the panels briefly disappear, then reappears - nothing is removed

Adding a panel works fine.
Comment 1 Simon Steinbeiss editbugs 2017-09-30 00:31:45 CEST
Strange, I cannot reproduce this problem with 4.13.1.

Which version of xfconf do you have?
Also, if you run the panel from the terminal with "PANEL_DEBUG=1 xfce4-panel" what's the output when trying to remove the second panel?
Comment 2 Adam Purkrt 2017-09-30 00:54:43 CEST
(In reply to Simon Steinbeiss from comment #1)
> Strange, I cannot reproduce this problem with 4.13.1.
> 
> Which version of xfconf do you have?
> Also, if you run the panel from the terminal with "PANEL_DEBUG=1
> xfce4-panel" what's the output when trying to remove the second panel?

xfconf is 4.13.4

if I run "xfwm4 &" manually and then run panel with "PANEL_DEBUG=1 xfce4-panel", then after trying to remove the bottom panel in the default two panel config the panel crashes with:

(xfce4-panel:5858): Gtk-ERROR **: failed to add UI: The resource at “/org/xfce/libxfce4ui/libxfce4ui-dialog-ui.ui” does not exist
Trace/breakpoint trap
xfce4-panel(systray): unregistered manager



There is also couple of warnings in the startup of xfce4-panel, namely:

(xfce4-panel:6113): Gtk-WARNING **: Allocating size to panel-tasklist-arrow 0x151e590 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?
xfce4-panel(struts): 0x139d480: bottom=49, start_x=475, end_x=804
xfce4-panel(external): systray-6: child is embedded; 5 properties in queue
xfce4-panel(systray): registered manager on screen 0

(wrapper-2.0:6118): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -1 and height 28

(wrapper-2.0:6118): Gtk-WARNING **: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node border, owner GtkFrame)
xfce4-panel(external): actions-2: child is embedded; 5 properties in queue
Comment 3 Skunnyk editbugs 2017-10-01 15:37:55 CEST
`(xfce4-panel:5858): Gtk-ERROR **: failed to add UI: The resource at “/org/xfce/libxfce4ui/libxfce4ui-dialog-ui.ui” does not exist`


It's a bug with libxfce4ui 4.13.2 and libxfce4ui 4.13.3 releases where ui files are not provided in the tarball (due to bug in the --enable-maintainer-mode I suppose ). 
I guess you have the same problem if you press "F1" in xfce4-terminal application for example.

You can try with libxfce4ui 4.13.1 or the git version.

Reassigned to libxfce4ui component.
Comment 4 Adam Purkrt 2017-10-01 19:11:42 CEST
You are right about the "F1" in xfce4-terminal - same problem.

I now reinstalled the git version (of everything xfce) in a separate environment and it works fine.
Comment 5 Rion 2017-10-04 08:22:04 CEST
oh why did you tell about F1? It just broke compilation of libreoffice when it's almost finished :-D
Comment 6 Rion 2017-10-04 08:27:08 CEST
btw libxfce4ui-4.13.3 is here and it crashes.
Comment 7 Simon Steinbeiss editbugs 2017-10-15 22:43:16 CEST
@Rion: So you can reproduce the problem? If so, do you get the same error message?
Comment 8 Rion 2017-10-15 22:45:26 CEST
Yes. error is the same.
Comment 9 Rion 2017-10-16 10:15:56 CEST
What other info do you need?
Comment 10 Simon Steinbeiss editbugs 2017-10-16 23:09:28 CEST
You probably misread, let me repeat:
It's a known bug with libxfce4ui 4.13.2 and libxfce4ui 4.13.3.

So if you have 4.13.3 then the error/bug is expected.

You can try with either git master or 4.13.1 - in both of those the bug is corrected.
Comment 11 Rion 2017-10-17 05:53:24 CEST
I unerstand that. I just noticed NEEDINFO status on the bug.
Comment 12 Skunnyk editbugs 2017-10-19 11:55:16 CEST
Fixed by https://bugzilla.xfce.org/show_bug.cgi?id=13705 , and libxfce4ui need a new release :)

*** This bug has been marked as a duplicate of bug 13705 ***

Bug #13888

Reported by:
Adam Purkrt
Reported on: 2017-09-29
Last modified on: 2017-10-19

People

Assignee:
Eric Koegel
CC List:
5 users

Version

Version:
4.13.3

Attachments

Additional information