From 97fc02b601df5f8ac40531b9831a2b1bccdd9ad1 Mon Sep 17 00:00:00 2001 From: mschill Date: Tue, 16 Dec 2025 06:03:18 -0500 Subject: [PATCH 1/3] Code Cleanup - Added a debug for developers around Clipboard setting Data Objects via the StepTabRibbon. Will be verified during the internal vogtle cleanup. --- PROMS/Volian.Controls.Library/StepTabRibbon.cs | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/PROMS/Volian.Controls.Library/StepTabRibbon.cs b/PROMS/Volian.Controls.Library/StepTabRibbon.cs index 08618d12..482e4c1a 100644 --- a/PROMS/Volian.Controls.Library/StepTabRibbon.cs +++ b/PROMS/Volian.Controls.Library/StepTabRibbon.cs @@ -1667,7 +1667,18 @@ namespace Volian.Controls.Library } } Clipboard.Clear(); - Clipboard.SetDataObject(myDO, true); // this saves the cleaned up information to the Windows clipboard + + //Try to update the data object to persist beyond PROMS life + //if can't, log it and use old method of scoping clipboard to PROMS life + try + { + Clipboard.SetDataObject(myDO, true); // this saves the cleaned up information to the Windows clipboard + } + catch (Exception ex) + { + _MyLog.Warn($"Error Setting Clipboard Object to Persist beyond PROMS. Clipboard will be scoped to PROMS. Error:{ex.Message}"); + Clipboard.SetDataObject(myDO); // this saves the cleaned up information to the Windows clipboard + } } iData = Clipboard.GetDataObject(); bool noEquationData = true; From d12e5d19c93fc01ac49935ef9c316231aeb9d21c Mon Sep 17 00:00:00 2001 From: mschill Date: Tue, 16 Dec 2025 14:38:41 -0500 Subject: [PATCH 2/3] Rollback_B2025-064 - Rolling back changes for B2025-064 - that CSM item will be re-opened and revisited late January once vogtle is out. --- PROMS/Volian.Controls.Library/StepTabRibbon.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/PROMS/Volian.Controls.Library/StepTabRibbon.cs b/PROMS/Volian.Controls.Library/StepTabRibbon.cs index 482e4c1a..6e7204fe 100644 --- a/PROMS/Volian.Controls.Library/StepTabRibbon.cs +++ b/PROMS/Volian.Controls.Library/StepTabRibbon.cs @@ -1668,6 +1668,7 @@ namespace Volian.Controls.Library } Clipboard.Clear(); + _MyLog.Warn("Clipboard Copied"); //Try to update the data object to persist beyond PROMS life //if can't, log it and use old method of scoping clipboard to PROMS life try From 7d63e7e417bff6734d712a3af19242e339a12037 Mon Sep 17 00:00:00 2001 From: mschill Date: Tue, 16 Dec 2025 14:41:39 -0500 Subject: [PATCH 3/3] Rollback_B2025-064 - Rolling back changes for B2025-064 - that CSM item will be re-opened and revisited late January once vogtle is out. --- PROMS/Volian.Controls.Library/StepTabRibbon.cs | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/PROMS/Volian.Controls.Library/StepTabRibbon.cs b/PROMS/Volian.Controls.Library/StepTabRibbon.cs index 6e7204fe..7c5583b4 100644 --- a/PROMS/Volian.Controls.Library/StepTabRibbon.cs +++ b/PROMS/Volian.Controls.Library/StepTabRibbon.cs @@ -1668,18 +1668,7 @@ namespace Volian.Controls.Library } Clipboard.Clear(); - _MyLog.Warn("Clipboard Copied"); - //Try to update the data object to persist beyond PROMS life - //if can't, log it and use old method of scoping clipboard to PROMS life - try - { - Clipboard.SetDataObject(myDO, true); // this saves the cleaned up information to the Windows clipboard - } - catch (Exception ex) - { - _MyLog.Warn($"Error Setting Clipboard Object to Persist beyond PROMS. Clipboard will be scoped to PROMS. Error:{ex.Message}"); - Clipboard.SetDataObject(myDO); // this saves the cleaned up information to the Windows clipboard - } + Clipboard.SetDataObject(myDO); // this saves the cleaned up information to the Windows clipboard } iData = Clipboard.GetDataObject(); bool noEquationData = true;