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

Changing window size adjusts dock length #1349

Open
vipperz opened this issue Jul 21, 2024 · 3 comments
Open

Changing window size adjusts dock length #1349

vipperz opened this issue Jul 21, 2024 · 3 comments
Labels
bug Something is not working as intended

Comments

@vipperz
Copy link

vipperz commented Jul 21, 2024

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.

Screen.Recording.2024-07-21.144440.mp4

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 askmeaboutlo0m added the bug Something is not working as intended label Jul 21, 2024
@askmeaboutlo0m
Copy link
Member

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 added a commit that referenced this issue Jul 22, 2024
So that they can't be squished into oblivion. The minimum size is still
very small to avoid causing trouble for users with dinky resolutions,
but they now no longer at zero, where you could have a dock that's
confusingly just a header.

Relates to #1349.
@askmeaboutlo0m
Copy link
Member

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
Copy link
Author

vipperz commented Jul 22, 2024

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working as intended
Projects
None yet
Development

No branches or pull requests

2 participants