Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Shared panel feature
Depends on #13055, #13057
Implementation for feature request Mirror Panels for Multiple Displays.
The purpose of this feature is to provide an option to create shared panels which shares panel settings, applets, and applet configurations.
Adding a shared panel
You can add as many shared panels as you like by right clicking on existing shared panels and clicking "Add a shared panel" again. The option is disabled on regular panels if there are already existing shared panels.
After adding a shared panel, panel settings, applets, and applet settings will be duplicated onto the new panel.
Adding/Removing/Moving applets
Shared panels will respond to adding, removing and moving applets. Adding/removing an applet from a shared panel will add/remove the corresponding applets on all other shared panels. Moving an applet on a shared panel will move the corresponding applets on the other shared panels as well. Moving an applet off of a shared panel is akin to removing it.
The cinnamon-settings applet menu has been changed to reflect this behavior. All shared panels will be highlighted at once and they will behave as one panel when clicking the next and previous panel buttons. This also means that the next and previous panel buttons will be hidden if you only have shared panels.
Changing Settings
The panel settings and applet configurations on all shared panels will be kept in sync.
Panel settings
In the panel settings menu, selecting a shared panel will highlight all shared panels. The next and previous panel buttons will treat all shared panels as one panel. The next and previous panel buttons will be disabled if only shared panels exist.
Applet configuration
Opening the configuration menu for an applet on a shared panel will highlight all corresponding applets on all shared panels, and they will behave as one applet when going to the next and previous instances. The next and previous instance arrows will be hidden if there is only one applet of that uuid on a shared panel.
Any settings changes in the applet configuration menu of a shared panel will update the corresponding applets on all the other shared panels. If an applet setting that is not listed in the configuration menu of an applet changes (Such as the pinned favorites setting of the grouped window list applet), the corresponding applets on the shared panels will be re-instantiated to show the updated setting.