! 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 !
inconsistent behaviour and lacking error messages
Status:
RESOLVED: FIXED
Product:
Xfce4-panel

Comments

Description Lasse Bigum 2005-01-23 23:47:49 CET
Actually this is a two-in-one bug/feature-request :-)

First, if I've already added one "Xfce clock" to a panel (I use the Xfce Panel itself instead of the 
taskbar) and I select "Add item", the plugin *will* be greyed out, indicating I cannot add it, and 
when I select it, the "Add" button deactivates. However, if (and I am a moron, or actually my buddy 
is, he was the one who found out :-D) you double-click the plugin, it tries to add it anyways. This is 
the "bug", next is the feature request:
The error dialog that shows up when doing this is really not very easy to get. It just displays "Could 
not create panel item: <name of item>" - instead of stating that you can actually only have one.

Reproducible: Always
Steps to Reproduce:
1. Add "Xfce clock" to a panel
2. Try to add another, this time by double-clicking the plugin, instead of just pressing add
3. Lame error :-)

Actual Results:  
Error dialog with silly error.

Expected Results:  
Not being able to add number two plugin in the first place, or: explain why it is not possible....
Comment 1 Lasse Bigum 2005-01-23 23:54:06 CET
Dammit, forgot something :)

Two more things actually:

First, if you have xftaskbar4 running with a systray in it, then when you try to add the systray plugin 
to the xfce panel, it is *not* grayed out. Removing it from the taskbar, adding it to the panel, and 
then trying to add it to the taskbar again gives a *very* good error dialog. One that even I 
understand :-)

Also, a small question, closing the systray, for instance from the panel to add it to the taskbar, will 
have you loose just about all icons in the systray. They seem not to register "back in" with the 
systray. Is this a malfunction that Xfce's implementation of the systray is cause of, or is it the 
applications themselves?
Comment 2 Jasper Huijsmans editbugs 2005-01-24 06:53:09 CET
1) double click bug: good catch! thanks.

2) systray plugin error message: agreed, could not add it earlier because of the
string freeze. Thanks for the reminder.

3) lost systray icons: not sure, I'll have a look.

Comment 3 Jasper Huijsmans editbugs 2005-03-14 21:12:20 CET
I can't reproduce in CVS HEAD, but I haven't tried in 4.2 yet.
Comment 4 Lasse Bigum 2005-03-15 07:56:26 CET
I think the problem might have been solved, but not sure of it. I've switched to Gentoo and almost all new 
configuration-files, so I might have had something messed up with my old system. The systray icons are 
showing for all the programs that I am using now.

Think you can change this to resolved....
Comment 5 Jasper Huijsmans editbugs 2005-03-15 08:03:28 CET
Ok, thanks, resolving this, please reopen when it happens again.

Bug #739

Reported by:
Lasse Bigum
Reported on: 2005-01-23
Last modified on: 2010-11-20

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Attachments

Additional information