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

[DRAFT] Workaround fractional scaling completely breaking top_margin positioning #102

Closed

Conversation

Ferdi265
Copy link
Contributor

@Ferdi265 Ferdi265 commented Sep 11, 2024

This moves the anchor point to the bottom screen edge if the top_margin value is greater than 0.5. This makes issue #101 less noticeable when the top_margin value is close to 0 or close to 1 (like the default 0.85), but doesn't fix the issue. The issue is still very apparent when the top_margin value is 0.5 or close to it.

I'm not sure this issue can be fixed completely as long as GTK doesn't support fractional scaling.

This PR is still WIP as I'm also working on finding a fix for the inconsistent window size issue when notification content changes and these issues should probably be fixed together.

This moves the anchor point to the bottom screen edge if the top_margin
value is greater than 0.5. This makes the issue less noticeable when the
top_margin value is close to 0 or close to 1 (like the default 0.85),
but doesn't fix the issue. The issue is still very apparent when the
top_margin value is 0.5 or close to it.
@Ferdi265 Ferdi265 force-pushed the workaround-margin-fractional-scale branch from c9d1484 to e9b8dbc Compare October 24, 2024 22:16
@ErikReider
Copy link
Owner

Rebase off of main and is this still needed?

@Ferdi265
Copy link
Contributor Author

shouldn't be needed any more with GTK4

@Ferdi265 Ferdi265 closed this Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants