From b9423b523953eec00904c37e8f6ab3ed55f9c13c Mon Sep 17 00:00:00 2001 From: Adam Wulkiewicz Date: Mon, 31 Jan 2022 12:49:00 +0100 Subject: [PATCH] Add known issue and change description in readme --- CHANGELOG.md | 2 ++ README.md | 2 +- src/webview.ts | 6 ++++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a90a2d0..d20a344 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [Unreleased] +### Known issues +- The visualization is not shown after hiding the webview with another window and showing it again ## [0.3.0] ### Added diff --git a/README.md b/README.md index d3e1211..b89e4aa 100644 --- a/README.md +++ b/README.md @@ -53,4 +53,4 @@ This extension allows to display graphical representation of variables during de #### Known issues * The extension doesn't work for C++ variables defined with `typedef` with GDB, including classes defining member types, e.g. Boost.Geometry `polygon`. This issue [is known](https://github.com/microsoft/vscode-cpptools/issues/3038) and also affects the use of natvis files. If [this proposal](https://github.com/microsoft/MIEngine/issues/1236) was implemented it could potentially allow to work around this issue. -* Geographic polygons with holes are visualized incorrectly if an interior ring is in the viewport and the whole exterior ring is outside. This is a side effect of a workaround for an [issue in Plotly](https://github.com/plotly/plotly.js/issues/6044) which doesn't support geographic polygons with holes. \ No newline at end of file +* Holes of geographic polygons may be visualized incorrectly. This is a side effect of a workaround for an [issue in Plotly](https://github.com/plotly/plotly.js/issues/6044) which doesn't support geographic polygons with holes. \ No newline at end of file diff --git a/src/webview.ts b/src/webview.ts index 56e05b2..854c940 100644 --- a/src/webview.ts +++ b/src/webview.ts @@ -21,6 +21,12 @@ export class Webview { enableScripts: true, localResourceRoots: [vscode.Uri.file(path.join(this._context.extensionPath, 'resources'))] }); + // this._panel.onDidChangeViewState( + // (e) => { + // // TODO: handle hiding and showing again here? + // }, + // null, + // this._context.subscriptions); this._panel.onDidDispose( () => { this._panel = undefined;