Bug 453437

Summary: Add an UI to configure which plasma workspace belongs to which screen connector
Product: [Plasma] plasmashell Reporter: Alex <allo>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: kde, nate
Priority: NOR    
Version First Reported In: 5.24.4   
Target Milestone: 1.0   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Alex 2022-05-05 19:27:57 UTC
SUMMARY
When switching monitors, e.g., by plugging in a graphics tablet, it is sometimes complicated to understand which configured workspace (plasmoids, background image, etc.) is assigned to which monitor. Sometimes a whole workspace seems to be lost and would probably only be available when a very specific configuration of screens is plugged in again.

In particular, it happens to me that when I revert after working with another configuration to my usual two monitors, the secondary monitor has a new empty workspace. Currently, I edit .config/plasmashellrc as a workaround and assign the correct index to the correct screen connector to swap the workspaces around. Still, I have no idea which no longer used workspaces may exist and not belong to any monitor or how to control which workspace appears where.

My suggestion would be to add a control panel similar to the one for arranging screens (which one is left/right of which one), where one can assign existing workspaces to monitors. This could probably be combined with the activities framework, such that one can drag around workspaces between monitors and activities or assign each workspace a combination of monitor and activity. This would mean that one could have inactive workspaces, which can be assigned on demand, similar to the current implementation of activities, only that an activity defines the workspaces on all monitors instead of only one.


SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Graphics Platform: X11

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2022-05-05 22:13:36 UTC
Lucky you, we did this in Plasma 5.25! :)  When you're in Edit Mode, the toolbar has a button on it that says "Manage Desktops and Panels" that lets you do this.