! 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 !
Enhancement: Add "Start New Instance" item to right-click menu
Status:
RESOLVED: MOVED
Product:
Xfce4-panel
Component:
Window Buttons

Comments

Description Matthew Brush editbugs 2016-07-19 02:13:55 CEST
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.
Comment 1 Matthew Brush editbugs 2016-07-19 03:05:36 CEST
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.
Comment 2 Matthew Brush editbugs 2016-07-19 03:50:34 CEST
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.
Comment 3 Matthew Brush editbugs 2016-07-19 04:06:42 CEST
If anyone wanted to port it to other platforms, this StackOverflow answer has some hints which might be useful: http://stackoverflow.com/a/1024937
Comment 4 Git Bot editbugs 2020-05-28 02:01:18 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/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

Bug #12711

Reported by:
Matthew Brush
Reported on: 2016-07-19
Last modified on: 2020-05-28

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Version:
Unspecified

Attachments

Additional information