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

Port to Gtk4 #53

Merged
merged 53 commits into from
Jan 15, 2023
Merged

Port to Gtk4 #53

merged 53 commits into from
Jan 15, 2023

Conversation

marbetschar
Copy link
Member

@marbetschar marbetschar commented May 4, 2022

Fixes #45
Fixes #52
Closes #60

Todos:

@marbetschar
Copy link
Member Author

@Marukesu how to test the Access portal? portal-test does not seem to support it atm: flatpak/libportal#95

@danirabbit
Copy link
Member

@marbetschar you could crash Mail 😂 or its also used for the confirmation dialog when you change display settings

@Marukesu
Copy link
Contributor

Marukesu commented Jun 1, 2022

@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.

@marbetschar
Copy link
Member Author

From a functionality point of view this PR works. However, the AccessDialog is unusually large (in its height). Does anyone have an idea why? I don't seem to be able to figure out the root cause of this (tested in a eOSv7 VirtualBox VM):

Screenshot from 2022-06-06 18-32-36@2x

@marbetschar marbetschar requested a review from a team June 6, 2022 16:39
@marbetschar
Copy link
Member Author

@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

@danirabbit
Copy link
Member

@marbetschar definitely a bug in Granite. Looking into that now...

@danirabbit
Copy link
Member

elementary/granite#616

Copy link
Contributor

@Marukesu Marukesu left a 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.

src/Access/Dialog.vala Outdated Show resolved Hide resolved
src/AppChooser/AppButton.vala Outdated Show resolved Hide resolved
src/AppChooser/Dialog.vala Show resolved Hide resolved
src/AppChooser/Dialog.vala Outdated Show resolved Hide resolved
src/AppChooser/Dialog.vala Show resolved Hide resolved
src/ExternalWindow.vala Show resolved Hide resolved
src/AppChooser/Dialog.vala Outdated Show resolved Hide resolved
src/AppChooser/Dialog.vala Outdated Show resolved Hide resolved
src/AppChooser/Dialog.vala Outdated Show resolved Hide resolved
src/AppChooser/Dialog.vala Outdated Show resolved Hide resolved
@danirabbit
Copy link
Member

@Marukesu I think I addressed all of your review points. Not sure if you'd still like to merge #62 first or not

Co-authored-by: Gustavo Marques <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

AppChooser doesn't work with mouse Port Portals to GTK4
5 participants