notepad4 icon indicating copy to clipboard operation
notepad4 copied to clipboard

Bug: matepath/metapath can't be minimized by clicking on it's icon in the taskbar

Open Shakil-Shahadat opened this issue 1 year ago • 4 comments

matepath/metapath doesn't have a minimize button. Thus it becomes very annoying to use it if it can't be minimized in usual ways. Clicking on the top left corner icon and then minimize works though. Thanks.

Shakil-Shahadat avatar Jun 01 '24 10:06 Shakil-Shahadat

I think this by design: image

The minimize and maximize button can be shown (has no effect on clicking) by changing WS_MATEPATH: https://github.com/zufuliu/notepad4/blob/5a504cfdc922be399813a6b39c333d8e74159c13/matepath/src/matepath.h#L27-L29

 #define WS_MATEPATH ((WS_OVERLAPPEDWINDOW ^ \
-                                         (WS_MINIMIZEBOX | WS_MAXIMIZEBOX)) | \
+                                         (/*WS_MINIMIZEBOX | */WS_MAXIMIZEBOX)) | \
                                         (WS_CLIPCHILDREN | WS_POPUP))

zufuliu avatar Jun 01 '24 10:06 zufuliu

So, can this be changed? I was gonna ask for the minimize/maximize button once this is solved. Thanks for looking into this.

Shakil-Shahadat avatar Jun 01 '24 10:06 Shakil-Shahadat

Support minimize/maximize buttons would require some extra code changes other than WS_MATEPATH.

zufuliu avatar Jun 01 '24 10:06 zufuliu

Then please fix minimize/maximize(view window) by clicking on the taskbar icon for now if possible.

Shakil-Shahadat avatar Jun 01 '24 10:06 Shakil-Shahadat