-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Port to Gtk4 #53
Port to Gtk4 #53
Conversation
@Marukesu how to test the Access portal? portal-test does not seem to support it atm: flatpak/libportal#95 |
@marbetschar you could crash Mail 😂 or its also used for the confirmation dialog when you change display settings |
@marbetschar you can use the background portal, or the location portal. Alternatively, you can use d-spy/d-feet to call the access portal directly, this way you don't mess with permissions, but it's not as easy to test window parenting this way. |
@danrabbit any idea why we the AccessDialog's height is so large? Apart from that this PR is ready and will serve as ground work for me to (finally) start working on #19 |
@marbetschar definitely a bug in Granite. Looking into that now... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Happy New Year! and sorry for the really late review here. 😔
After the requested changes, this should be good to go.
Co-authored-by: Gustavo Marques <pushstarttocontinue@outlook.com>
Fixes #45
Fixes #52
Closes #60
Todos:
Turned out there is no set_keep_above anymore in Gtk4 and we don't know the window_parent in the non-working scenarios (maybe because of the Flatpak app calling the portal too early). That said, we can't do much here from a portals point of view. Therefore "Done" as we assume its the app's responsibility to call the portal at the correct point in time.