-
Notifications
You must be signed in to change notification settings - Fork 190
[Gtk4] Fix Shell.computeSize to take header bar into account #2895
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
Conversation
|
This fixes initial size of Eclipse main window and dialogs, resizing is still broken. Fixes github.com//issues/2826 |
Test Results (linux) 56 files - 32 56 suites - 32 10m 34s ⏱️ - 3m 50s For more details on these failures, see this check. Results for commit 137fa30. ± Comparison against base commit c891c43. This pull request removes 39 tests.♻️ This comment has been updated with latest results. |
981eee6 to
f184dc3
Compare
8e440a0 to
124d5e5
Compare
43e26e1 to
9e9ba83
Compare
5e82cc3 to
f1bb5fa
Compare
78d05c3 to
7b7d9b9
Compare
137fa30 to
db3bed4
Compare
HeaderBar is part of the regular window size in Gtk 4 on Wayland BUT gtk_window_get_headerbar returns 0 if it is not set by the application but drawn internally by Gtk itself and thus it's size can not be queried. Add a "default" GtkHeaderBar explicitly for that and take its size into account when computing Shell size. Mark CTabFolder test_iconWrappedOnNextLine test as gtk4-todo to allow to progress now.
Test Results 173 files - 3 173 suites - 3 25m 33s ⏱️ - 3m 16s Results for commit 413bded. ± Comparison against base commit c891c43. This pull request removes 1 test.This pull request skips 1 test. |
|
Merging to be able to continue with more noticeable problems. |
HeaderBar is part of the regular window size in Gtk 4 on Wayland BUT gtk_window_get_headerbar returns 0 if it is not set by the application but drawn internally by Gtk itself and thus it's size can not be queried. Add a "default" GtkHeaderBar explicitly for that and take its size into account when computing Shell size.