Local sim results window pops behind the main VCell window
Thought this bug had been fixed. I was using Windows Alpha 63
duplicate of #261
Reopened on 8/21/23. This happens on my windows machine, but not on my mac. (which I think is the reverse of the past behavior)
doesn't usually happen on my macbook - @jcschaff @lesloew - does this still happen?
happened today on my pc
From: Jim Schaff @.> Sent: Monday, November 6, 2023 2:21 PM To: virtualcell/vcell @.> Cc: Loew,Leslie M. @.>; Mention @.> Subject: Re: [virtualcell/vcell] Local sim results window pops behind the main VCell window (Issue #429)
*** Attention: This is an external email. Use caution responding, opening attachments or clicking on links. ***
doesn't usually happen on my macbook - @jcschaffhttps://urldefense.com/v3/__https:/github.com/jcschaff__;!!Cn_UX_p3!lNDtBuut5pqS_F2RvbCJq5N-f2GcRyz4WkOnsCZzDDL_0v043gtAbjLypEDmiBaVF6k6yX3Lsmd-eIlz6olf$ @lesloewhttps://urldefense.com/v3/__https:/github.com/lesloew__;!!Cn_UX_p3!lNDtBuut5pqS_F2RvbCJq5N-f2GcRyz4WkOnsCZzDDL_0v043gtAbjLypEDmiBaVF6k6yX3Lsmd-eJq5E2Aw$ - does this still happen?
— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/virtualcell/vcell/issues/429*issuecomment-1796113838__;Iw!!Cn_UX_p3!lNDtBuut5pqS_F2RvbCJq5N-f2GcRyz4WkOnsCZzDDL_0v043gtAbjLypEDmiBaVF6k6yX3Lsmd-eKvXzOR7$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AZNOKMHB2FLVUDUUBVWK67TYDE2CZAVCNFSM6AAAAAAQYZ6662VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJWGEYTGOBTHA__;!!Cn_UX_p3!lNDtBuut5pqS_F2RvbCJq5N-f2GcRyz4WkOnsCZzDDL_0v043gtAbjLypEDmiBaVF6k6yX3Lsmd-eKyQPXiB$. You are receiving this because you were mentioned.Message ID: @.@.>>
Frank tried to fix this multiple times without success. Fixing it on one platform was pushing the bug to another platform, circularly between Mac and Windows.
Looked into this (Hackaton: Jan 7, '25); It appears that the cause is from some mechanism within Swing / Windows OS. The code within ClientSimManager: "showing results..." seems to be working fine. It is after LWManager::ChildWindow.open() is called that something happens, forcing the main window in front. But no VCell code is directly responsible for it.
We'll probably need to look into the finer interactions between windows and the "focused" window, to see if we have an inheritance or settings issue preventing the desired behavior.