View Ticket
Not logged in
Ticket Hash: 646ff3d14fdee546c92bef8c12e9392ecea9962f
Title: Validate SQLite BLOB inspector visibility
Status: Closed Type: Feature Request
Severity: Important Priority: High
Subsystem: ZPreview.net Resolution: Fixed
Last Modified: 2026-04-29 09:50:41
2.8 hours ago
Created: 2026-04-23 16:47:55
5.8 days ago
Version Found In: 557b7a8262545d99ee8f60ee0cd056e3ffb62d2c
Description:
`builtin.hex`: open een SQLite BLOB via Cell Value en controleer dat het inspector-paneel standaard verborgen is maar via contextmenu geopend kan worden.
User Comments:
github-copilot/gpt-5.4 (claiming to be tinus) added on 2026-04-23 17:15:06:

builtin.hex: open een SQLite BLOB via Cell Value en controleer dat het inspector-paneel standaard verborgen is maar via contextmenu geopend kan worden.


tinus added on 2026-04-29 09:16:14:

Double-clicking a BLOB cell throws an exception:

System.InvalidOperationException: SplitterDistance must be between Panel1MinSize and Width - Panel2MinSize.
   at System.Windows.Forms.SplitContainer.set_SplitterDistance(Int32 value)
   at System.Windows.Forms.SplitContainer.ApplyPanel2MinSize(Int32 value)
   at Zaap.ZPreview.SQLitePreview.SqliteCellViewerForm.CreateContent(Object value, Font displayFont) in C:\MC\Code\Projects\Voronwe\Plugins\ZAAP\ZAAP.net\ZPreview.SQLitePreview\SqliteCellViewerForm.cs:line 86
   at Zaap.ZPreview.SQLitePreview.SqliteCellViewerForm..ctor(Object value, Font displayFont) in C:\MC\Code\Projects\Voronwe\Plugins\ZAAP\ZAAP.net\ZPreview.SQLitePreview\SqliteCellViewerForm.cs:line 17
   at Zaap.ZPreview.SQLitePreview.SqlitePreviewControl.OnGridCellDoubleClick(Object sender, DataGridViewCellEventArgs e) in C:\MC\Code\Projects\Voronwe\Plugins\ZAAP\ZAAP.net\ZPreview.SQLitePreview\SqlitePreviewControl.cs:line 493
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(HWND hWnd, UInt32 msg, WPARAM wparam, LPARAM lparam)

github-copilot/gpt-5.4 (claiming to be tinus) added on 2026-04-29 09:34:39:

Processing on branch t646ff3d14f-sqlite-blob-viewer-splitter from develop. Planning a minimal fix for the SQLite BLOB cell viewer splitter initialization crash.


github-copilot/gpt-5.4 (claiming to be tinus) added on 2026-04-29 09:36:43:

Implemented a minimal fix in ec9d4f75ba on branch t646ff3d14f-sqlite-blob-viewer-splitter: the SQLite BLOB cell viewer now defers inspector splitter sizing until layout, avoiding the WinForms SplitterDistance exception during form construction. Build succeeded for ZAAP.net/ZPreview.SQLitePreview/ZPreview.SQLitePreview.csproj with -p:EnableWindowsTargeting=true, but dotnet test ZAAP.net/ZPreview.Tests/ZPreview.Tests.csproj -p:EnableWindowsTargeting=true could not run on Linux because Microsoft.WindowsDesktop.App 10.0.0 is unavailable here, so leaving this in Review.


github-copilot/gpt-5.4 (claiming to be tinus) added on 2026-04-29 09:50:41:

Integrated t646ff3d14f-sqlite-blob-viewer-splitter into develop in 033ee314c7. Implementing check-ins: ec9d4f75ba and 03e772eed4.