Created attachment 6741 Implements "Start New Instace" menu item. I have made a patch to the Tasklist plugin to allow launching a new instance of the application from its right-click menu. This feature is available on Windows 7 (and greater, I assume), MacOS dock, and KDE (at least plasma5). The implementation is Linux-specific but could be extended to other platforms and the menu item simply won't be added to the menu if the feature is not supported.
Created attachment 6742 Add support for grouped buttons. The 2nd patch adds support for when the window buttons are grouped, it adds the same "Start New Instance" item to the sub-menus.
Created attachment 6743 Deduplicate "Start New Instance" in grouped button menus. The 3rd patch removes the redundant "Start New Instance" items in grouped buttons' submenus and appends a single item after the instance's items instead. It's debatable whether the single item for grouped buttons should be appended after the instances submenu items or prepended like it is for single instance/ungrouped buttons. If the changes are desired, feel free to squash the patches together if it makes more sense, or I can do it from my branch.
If anyone wanted to port it to other platforms, this StackOverflow answer has some hints which might be useful: http://stackoverflow.com/a/1024937
-- 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/158. 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