Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Q: Strange behavior creating a dockable dialog using PythonScript plugin #13835

Open
Ekopalypse opened this issue Jun 27, 2023 · 0 comments
Open

Comments

@Ekopalypse
Copy link
Contributor

Description of the Question

Doackable dialogs created with Python and the PythonScript plugin behave strangely because they are either not "themed" or embedded controls "visually" disappear unless you hover over them.
As far as I know, a docked dialog is automatically "themed", which can be seen even if the controls are not visible, but this is not the case if I do a print output inside the WM_PAINT, but then the controls are visible !??.
The test dialog contains only 2 standard buttons, no user specific controls.

Does anyone have any idea why this is happening?

Debug Information

Notepad++ v8.5.4 (64-bit)
Build time : Jun 17 2023 - 20:42:45
Path : D:\Tests\npp\854\x64\notepad++.exe
Command Line :
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 10 Pro (64-bit)
OS Version : 22H2
OS Build : 19045.2728
Current ANSI codepage : 1252
Plugins :
mimeTools (2.9)
NppConverter (4.5)
NppExport (0.4)
PythonScript (3.0.16)

test_dockable_dialog

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

No branches or pull requests

1 participant