You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(screenshot): enable PNG export on all platforms and fix blob URL icons (GNS3#1534)
Enable PNG screenshot export on all platforms (Linux/macOS/Windows) and fix
missing icons when exporting custom symbols cached as blob URLs.
Changes:
- Remove Windows-only restriction for PNG export (isPngAvailable = true)
- Remove DeviceDetectorService dependency (no longer needed)
- Fix blob URL icons not appearing in PNG exports:
* Detect blob URLs vs server symbol URLs
* Fetch blob content directly from browser cache
* Use importNode to properly inline SVG with viewBox
- Improve PNG export robustness:
* Use cloneNode() to avoid modifying original SVG
* Add try-catch error handling with user feedback
* Process embedded images with better error recovery
- Add ToasterService for error notifications
ResolvesGNS3#1534
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments