drawpile / Drawpile

A collaborative drawing program
http://drawpile.net/
GNU General Public License v3.0
1.03k stars 131 forks source link

Changing window size adjusts dock length #1349

Open vipperz opened 1 month ago

vipperz commented 1 month ago

I've noticed that whenever I try to drag a drawpile window to be smaller and drag it back up to cover the whole screen again, it changes how the docks were. Making some longer or small to the point they're shrunk all the way to where you can't tell where they are. Not sure if this has been brought up before.

https://github.com/user-attachments/assets/5f093678-c299-42f3-826a-244d85fbaba0

On a side note, would be nice to have Navigator, Palettes, and Color Wheel docks to have a limit to how far they can shrink.

askmeaboutlo0m commented 1 month ago

I guess this is arguably a bug, but kinda just how the underlying dock system from Qt works. So unsure if it's something we can actually do anything about.

Giving those docks a non-zero minimum size would definitely make sense though, since they're not useful when you squeeze them into unexistence.

askmeaboutlo0m commented 1 month ago

The mentioned docks now have a larger minimum size so that you can no longer shrink them out of existence, thanks for reporting that.

The thing with the docks is trickier. I looked at Krita, they seem to behave differently, so it may be something we can steal from there.

vipperz commented 1 month ago

Hopefully it won't be too jarring to implement it, if you're able to take it from Krita.

Thank you for the dock size limits. I sort of feel that the size limit for the Wheel is a little too small, but I do understand that screen resolutions come into play. I appreciate all your work!