! 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 !
Add an option to add panel items from a file.
Status:
RESOLVED: MOVED
Product:
Xfce4-panel

Comments

Description lockywolf 2019-06-01 10:33:09 CEST
I am doing a bit of bug-search in xfce in my free time.

Sometimes before submitting a but I want to check if the bug is still present in the master git HEAD.

I don't really want to make a package reinstall it every time I want to test some version of a package.
It's cumbersome at best, and becomes a genuine pain when doing a git bisect.

Would it be possible to add an option (ideally a gui button in the "Add new items" window to load panel plugins from files?
Comment 1 Andre Miranda editbugs 2019-06-01 21:09:03 CEST
What about https://git.xfce.org/apps/xfce4-panel-profiles/ ?
Comment 2 lockywolf 2019-06-04 10:58:34 CEST
I am sorry, I don't entirely understand how it can help with this task...
Comment 3 Andre Miranda editbugs 2019-06-04 16:42:47 CEST
You can use xfce4-panel-profile (install it via your distro's package manager if available or build from git master) to save and restore panel configurations.
IMHO it's much more useful than what was requested.
Comment 4 lockywolf 2019-06-04 19:48:48 CEST
I am sorry, but I entirely don't understand in which way a panel configuration may be a substitute for loading a plugin from file.

I don't care a slightest bit about the number of panels or the order of widgets. I don't plan to imitate Gnome or Redmond, or anyone else.

What I need is to be able to check out the source code for an obsolete plugin, compile it and load into the current panel without restarting anything. Then I would like to try and fix a bug, compile the plugin again, load the new .so (or whatever is the format of a plugin) and compare the behaviour of the new guy and the old guy on the same panel.
Comment 5 Andre Miranda editbugs 2019-07-30 03:13:39 CEST
(In reply to lockywolf from comment #4)
> What I need is to be able to check out the source code for an obsolete
> plugin, compile it and load into the current panel without restarting
> anything. Then I would like to try and fix a bug, compile the plugin again,
> load the new .so (or whatever is the format of a plugin) and compare the
> behaviour of the new guy and the old guy on the same panel.

Using symlinks as described in [1] you get two versions of the same plugin at the same time, but you still need to restart the panel or kill the wrapper process.

1 - https://wiki.xfce.org/dev/howto/panel_plugins#testing_and_releasing_the_plugin
Comment 6 Git Bot editbugs 2020-05-28 02:10:52 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/222.

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 #15517

Reported by:
lockywolf
Reported on: 2019-06-01
Last modified on: 2020-05-28

People

Assignee:
Xfce Bug Triage
CC List:
1 user

Version

Version:
4.12.2

Attachments

Additional information