JeremyYao opened a new issue, #1461:
URL: https://github.com/apache/daffodil-vscode/issues/1461

   ## Description
   
   Originally documented in 
https://github.com/apache/daffodil-vscode/issues/1389#issuecomment-3386577214. 
I found the issue happening in W11. 
   
   As of documenting this bug and on current version of main, attempting to 
open multiple data editor windows and then closing one results in the rest of 
the data editor windows are not able to Data Editor operations such as deleting 
a byte. 
   
   @CoverRyan, investigated this issue on W10 and Ubuntu. Noted it was 
happening on W10, but not Ubuntu. 
   
   ## Steps to Reproduce
   
   Multiple setups are documented below. Please try to replicate other similar 
test cases beyond example ones listed 
   
   ### Command Palette Only 
   
   1. Via command Palette, open up multiple DE windows pointing to different 
files 
   
   <img width="1556" height="1026" alt="Image" 
src="https://github.com/user-attachments/assets/4d503c32-38e1-4bb4-a697-743e9a207e9a";
 />
   
   2. Close a data editor window. Note the background `java` cmd window closes
   
   <img width="1472" height="943" alt="Image" 
src="https://github.com/user-attachments/assets/278f001e-93f9-4a29-b69e-6ca4e7cca291";
 />
   
   3. Try to make edits in DE. Example below shows deleting a byte doesn't do 
anything
   
   <img width="1258" height="846" alt="Image" 
src="https://github.com/user-attachments/assets/89ab1756-74c0-481b-9761-e1048cb0fa13";
 />
   
   ### Command Palette(s) first
   
   1. Open data editor window(s)
   
   <img width="3091" height="822" alt="Image" 
src="https://github.com/user-attachments/assets/9ed0da25-82e6-42f0-a6da-92c499948532";
 />
   
   2. Run a debugging configuration where `"openDataEditor": true,` in 
launch.json
   
   <img width="3076" height="824" alt="Image" 
src="https://github.com/user-attachments/assets/5b53e045-cac5-420d-ba90-48693696ac07";
 />
   
   3. Close one of the data editor windows created in step 1. Observe how the 
java cmd window is closed
   
   4. Debug as normal. You may see the data editor window for the debugging 
sessions be buggy 
   
   <img width="3061" height="828" alt="Image" 
src="https://github.com/user-attachments/assets/01b4ca7d-466c-417e-88f2-1a2c67322cf8";
 />
   
   
   ## Expected Behavior
   
   The data editors should function correctly after one is closed on W10/W11
   
   ## Actual Behavior
   
   See Steps to Reproduce section
   
   ## Additional Notes and Screenshots (optional) 
   
   Having data editor open before a DFDL debugging sessions seems to result in 
odd behaviors beyond what's documented in this ticket. 
   
   For example, if you have multiple DE windows open, the red highlighted 
square can be seen on all DE windows. It may be bugged. 
   
   See Steps to Reproduce section 
   
   ## Environment
   
   - Operating System(s): W11/W10
   
   - Browser/VS Code version:  
   
   <img width="356" height="277" alt="Image" 
src="https://github.com/user-attachments/assets/2d8f566d-6c2d-48d2-9adc-a31ac8f4f208";
 />
   
     
   - Extension version: 1.4.2 SNAPSHOT
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to