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

fix: window overflowing small screens #4156

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

WofWca
Copy link
Collaborator

@WofWca WofWca commented Oct 1, 2024

...with high zoom level.

Closes #4063

I did not test this because for me setMinimumSize is not working. Though I played around with window sizes to determine the new numbers.

@WofWca WofWca force-pushed the wofwca/fix-overflow-on-smaller-screens branch from 723a7c6 to 6e6dc3a Compare October 1, 2024 09:23
@WofWca WofWca marked this pull request as ready for review October 1, 2024 12:00
@Simon-Laux
Copy link
Member

zoom and system dpi are 2 different scaling factors. maybe we should rather just remove the min size? or we somehow find out dpi and then somehow incorporate it into the calculation. Also this affects the other windows too, if I'm not mistaken?

@WofWca
Copy link
Collaborator Author

WofWca commented Oct 2, 2024

Also this affects the other windows too, if I'm not mistaken?

Yes. initMinWinDimensionHandling is also used for the help window and the HTML email viewer (but not webxdc).

maybe we should rather just remove the min size?

I was thinking about that as well, but wasn't sure if it's OK. WhatsApp, Signal, Telegram enforce min size. I'm worried that there might be a strong reason for that.

...with high zoom level.

Closes #4063
@WofWca WofWca force-pushed the wofwca/fix-overflow-on-smaller-screens branch from 6e6dc3a to 7023a34 Compare November 28, 2024 17:20
@nicodh nicodh merged commit f2dcdd5 into main Nov 28, 2024
10 checks passed
@nicodh nicodh deleted the wofwca/fix-overflow-on-smaller-screens branch November 28, 2024 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants