KnowledgeCanvas / knowledge

Knowledge is a tool for saving, searching, accessing, exploring and chatting with all of your favorite websites, documents and files.
Apache License 2.0
1.31k stars 91 forks source link

[Bug] Maximizing the window covers the taskbar #95

Closed NxDs closed 1 year ago

NxDs commented 1 year ago

On Windows (tested on Win10) clicking on the button to maximize the window will resize Knowledge to fit the whole screen covering the taskbar as well, this does not happen when using Window's window snapping feature (dragging the Knowledge window to the top edge of the screen)

RobRoyce commented 1 year ago

This is actually a known issue and is due to the way Electron handles the window.maximize() method.

I think it will be more work than it's worth to try and address this issue, so I'm going to close this issue with the following note: one alternative is to just double click the title bar instead of clicking the maximize button.

If someone else wants to figure out how to achieve the desired functionality, please feel free.