Skip to content

Conversation

AntonDevil
Copy link
Contributor

@AntonDevil AntonDevil commented Oct 11, 2025

"Show JSON Viewer" docking/dialog panel does not show up or disappears or inactive.
When you open "Show JSON Viewer", it renders the panel and content but it is inactive and panel disappears when you hover mouse over it.
Not sure what the exact root cause is but updating external/npp files helped.
Tested in Notepad++ v8.8.6 (64-bit) on Windows 11 and plugin works fine now.

Copies are from plugintemplate:426b36a3 2025-10-11:

  1. Update all external npp dependencies.
  2. Replaced DEPRECATED NPPM_ADDTOOLBARICON with NPPM_ADDTOOLBARICON_FORDARKMODE in NppJsonPlugin.cpp reusing same m_hMenuIcon.hToolbarIcon for toolbarIconsWithDarkMode for dark mode
  3. Replaced DERPECATED NPPM_GETENABLETHEMETEXTUREFUNC with direct call to EnableThemeDialogTexture in SettingsDlg.cpp
  4. Added uxtheme.lib as AdditionalDependencies to NPPJSONViewer.vcxproj to link newly added EnableThemeDialogTexture

References:

@AntonDevil
Copy link
Contributor Author

AntonDevil commented Oct 12, 2025

Alternative solution: #223

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant