nuttyartist / notes

Fast and beautiful note-taking app written in C++. Write down your thoughts.
https://notes-foss.com
Mozilla Public License 2.0
3.72k stars 326 forks source link

Resizing the window causes the width of the 'All Notes' panel to be reset #482

Closed guihkx closed 1 year ago

guihkx commented 1 year ago

I'm not sure if this is supposed to be intended behavior, but after we adjust the width of the 'All Notes' panel and then resize the window, the width gets reset:

https://user-images.githubusercontent.com/626206/219869627-b73252be-9733-4877-912a-bb25b704dce7.mp4


Should be reproducible on all platforms.

Feel free to close if this is intended behavior.

zjeffer commented 1 year ago

This happens with the 2.0.0 release as well. I'm not sure if it's intended, but I also think it shouldn't work like this. Not sure what the best solution is, though.

nuttyartist commented 1 year ago

Oyy, this is definitely not the intended behavior. Only the text editor should change in size.

Good catch.

zjeffer commented 1 year ago

This happens to both the left and middle pane btw, not just the All Notes pane.

After some more debugging I found that the splitter sizes get reset to the value that's in the settings, even before the resizeEvent method is called.