-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
nixos/sway: add wlr portal back with mkDefault #352193
base: master
Are you sure you want to change the base?
Conversation
@ofborg test sway |
# Use xdg-desktop-portal-gtk for every portal interface... | ||
default = "gtk"; | ||
# ... except for the ScreenCast, Screenshot and Secret | ||
default = lib.mkDefault [ "wlr" "gtk" ]; |
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.
Do we want to use mkDefault here? If people specify a value, then the list of wlr and gtk is dropped instead of added.
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.
default = lib.mkDefault [ "wlr" "gtk" ]; | |
default = [ "wlr" "gtk" ]; |
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.
I keep forgetting that string and lists behave differently. And I kind of agree.
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.
Thank you for creating this PR. I'd like to try to understand the problem in the linked issue before reverting things.
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.
I tested #348792 with the wlr and gtk portals in default
but unfortunately just noticed now that the PR removed that since my local configuration was overriding it. I also think that we don't need mkDefault
here, though.
Because of the bug in |
# Use xdg-desktop-portal-gtk for every portal interface... | ||
default = "gtk"; | ||
# ... except for the ScreenCast, Screenshot and Secret | ||
default = lib.mkDefault [ "wlr" "gtk" ]; |
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.
default = lib.mkDefault [ "wlr" "gtk" ]; | |
default = [ "gtk" ]; |
I wonder why though, doesn't
|
@JohnRTitor The original PR has the context you are looking for. There is a linked bug in
|
Why was this closed and deleted? |
@JohnRTitor This still needed to be merged. So this was unnecessarily closed. |
I was just cleaning my branches. And then there's no response to #352193 (comment) |
@JohnRTitor Yes, it does. Hence why I made #352188 |
@JohnRTitor Is it possible that you can bring back the branch? Deleting branches for open PRs is usually not a good idea. |
Regression from #348792
Fixes #352188.
@teutat3s please confirm that idle inhibit issues do not reoccur with this.
Pinging @midirhee12 for testing.