| Ticket Hash: | 69fb37dd6270dfe7944da491a3ccecb3860c9405 | ||
| Title: | Put current file name in the title bar | ||
| Status: | Verified | Type: | Feature Request |
| Severity: | Minor | Priority: | Low |
| Subsystem: | ZPreview.net | Resolution: | Open |
| Last Modified: |
2026-04-23 14:49:26 105 seconds ago |
Created: |
2026-04-23 11:25:11 3.4 hours ago |
| Version Found In: | |||
| User Comments: | ||||
tinus added on 2026-04-23 11:25:11:
Put the "{current file name} - ZPreview" in the title bar (so it also shows up in the taskbar button if so configured). If there is no current file name, just "ZPreview". When frozen, put "[Frozen] " in front. added on 2026-04-23 14:47:56:
Step 1 on branch [48228004324d]: extracted title text logic into a testable helper and added unit tests for file name and frozen-state title formatting. Determining projects to restore... /home/tinus/code/zaap/ZAAP.net/ZPreview.PreviewHandlers/ZPreview.PreviewHandlers.csproj : warning NU1510: PackageReference System.Text.Encoding.CodePages will not be pruned. Consider removing this package from your dependencies, as it is likely unnecessary. [/home/tinus/code/zaap/ZAAP.net/ZPreview/ZPreview.csproj] All projects are up-to-date for restore. /home/tinus/code/zaap/ZAAP.net/ZPreview.PreviewHandlers/ZPreview.PreviewHandlers.csproj : warning NU1510: PackageReference System.Text.Encoding.CodePages will not be pruned. Consider removing this package from your dependencies, as it is likely unnecessary. ZPreview.Abstractions -> /home/tinus/code/zaap/ZAAP.net/ZPreview.Abstractions/bin/Debug/net10.0-windows/ZPreview.Abstractions.dll ZaapSentinel -> /home/tinus/code/zaap/ZAAP.net/ZaapSentinel/bin/Debug/net10.0/Zaap.Sentinel.dll ZaapZTreeState -> /home/tinus/code/zaap/ZAAP.net/ZaapZTreeState/bin/Debug/net10.0/ZaapZTreeState.dll ZPreview.PreviewHandlers -> /home/tinus/code/zaap/ZAAP.net/ZPreview.PreviewHandlers/bin/Debug/net10.0-windows/ZPreview.PreviewHandlers.dll ZPreview.SQLitePreview -> /home/tinus/code/zaap/ZAAP.net/ZPreview.SQLitePreview/bin/Debug/net10.0-windows/ZPreview.SQLitePreview.dll ZPreview -> /home/tinus/code/zaap/ZAAP.net/ZPreview/bin/Debug/net10.0-windows/ZPreview.dll Build succeeded. /home/tinus/code/zaap/ZAAP.net/ZPreview.PreviewHandlers/ZPreview.PreviewHandlers.csproj : warning NU1510: PackageReference System.Text.Encoding.CodePages will not be pruned. Consider removing this package from your dependencies, as it is likely unnecessary. [/home/tinus/code/zaap/ZAAP.net/ZPreview/ZPreview.csproj] /home/tinus/code/zaap/ZAAP.net/ZPreview.PreviewHandlers/ZPreview.PreviewHandlers.csproj : warning NU1510: PackageReference System.Text.Encoding.CodePages will not be pruned. Consider removing this package from your dependencies, as it is likely unnecessary. 2 Warning(s) 0 Error(s) Time Elapsed 00:00:02.59 succeeded; test execution is blocked here because this Linux environment does not have Microsoft.WindowsDesktop.App 10.0 installed. added on 2026-04-23 14:49:26:
Step 2 on branch [6d7f81ba2a]: made the title logic platform-safe and hardened it for whitespace and trailing separator inputs. Determining projects to restore... /home/tinus/code/zaap/ZAAP.net/ZPreview.PreviewHandlers/ZPreview.PreviewHandlers.csproj : warning NU1510: PackageReference System.Text.Encoding.CodePages will not be pruned. Consider removing this package from your dependencies, as it is likely unnecessary. [/home/tinus/code/zaap/ZAAP.net/ZPreview/ZPreview.csproj] All projects are up-to-date for restore. /home/tinus/code/zaap/ZAAP.net/ZPreview.PreviewHandlers/ZPreview.PreviewHandlers.csproj : warning NU1510: PackageReference System.Text.Encoding.CodePages will not be pruned. Consider removing this package from your dependencies, as it is likely unnecessary. ZPreview.Abstractions -> /home/tinus/code/zaap/ZAAP.net/ZPreview.Abstractions/bin/Debug/net10.0-windows/ZPreview.Abstractions.dll ZaapSentinel -> /home/tinus/code/zaap/ZAAP.net/ZaapSentinel/bin/Debug/net10.0/Zaap.Sentinel.dll ZPreview.PreviewHandlers -> /home/tinus/code/zaap/ZAAP.net/ZPreview.PreviewHandlers/bin/Debug/net10.0-windows/ZPreview.PreviewHandlers.dll ZaapZTreeState -> /home/tinus/code/zaap/ZAAP.net/ZaapZTreeState/bin/Debug/net10.0/ZaapZTreeState.dll ZPreview.SQLitePreview -> /home/tinus/code/zaap/ZAAP.net/ZPreview.SQLitePreview/bin/Debug/net10.0-windows/ZPreview.SQLitePreview.dll ZPreview -> /home/tinus/code/zaap/ZAAP.net/ZPreview/bin/Debug/net10.0-windows/ZPreview.dll Build succeeded. /home/tinus/code/zaap/ZAAP.net/ZPreview.PreviewHandlers/ZPreview.PreviewHandlers.csproj : warning NU1510: PackageReference System.Text.Encoding.CodePages will not be pruned. Consider removing this package from your dependencies, as it is likely unnecessary. [/home/tinus/code/zaap/ZAAP.net/ZPreview/ZPreview.csproj] /home/tinus/code/zaap/ZAAP.net/ZPreview.PreviewHandlers/ZPreview.PreviewHandlers.csproj : warning NU1510: PackageReference System.Text.Encoding.CodePages will not be pruned. Consider removing this package from your dependencies, as it is likely unnecessary. 2 Warning(s) 0 Error(s) Time Elapsed 00:00:02.80 succeeded again; test execution remains blocked in this environment because Microsoft.WindowsDesktop.App 10.0 is not installed on this Linux host. | ||||