bicodrex opened a new pull request, #9219:
URL: https://github.com/apache/netbeans/pull/9219

   The previous implementation opened the generated ZIP file directly after 
export, leading to inconsistent and undesirable behavior across platforms:
   
   - Windows: Behavior depends on the configured default handler. The default 
is Explorer, which shows the archive view, but third-party tools open their own 
archive UI, making it harder to locate the parent directory.  
   - macOS: Opening a ZIP file triggers automatic extraction by default, so the 
exported archive would be immediately unpacked.  
   - Linux (most distributions): The ZIP file opens in the configured archive 
manager, showing its contents instead of the containing folder.  
   
   This change opens the parent directory of the exported ZIP, providing more 
consistent behavior across platforms. It also aligns with how 
`Desktop.getDesktop().open(...)` is used elsewhere in the repository, for 
example in 
[DiscoPlatformIt.java](https://github.com/apache/netbeans/blob/7c3467371f935edb2accf8acf8b6bdd0605d8117/java/java.disco/src/org/netbeans/modules/java/disco/DiscoPlatformIt.java#L147).


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to