-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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/pantheon, nixos/cinnamon: Drop qgnomeplatform #248544
Conversation
qt.enable = true; | ||
qt.platformTheme = "gnome"; | ||
qt.style = "adwaita"; |
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.
Specifically for Cinnamon, @mkg20001 do you have a preference on whether this should default to fusion or gtk2? I am aware that Mint use gtk2 though this can look ugly if gtk2 theme is missing. I personally have no preference here.
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.
fusion is a gtk3 theme? or both and gtk2 is just a name? i would prefer a gtk3 theme, because its newer
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 think there is gtk3 the platformtheme in qtbase, I don't think this needs to be specified and you are all set if opening a Qt app uses your icon theme set in cinnamon-settings and opening a file from e.g. kate uses a native GTK file chooser.
But there is no gtk3 the style, I don't think Qt is willing to do it, the default style will be Fusion. Which means this cannot make your Qt apps look and feel matches your GTK theme.
The gtk2 platformtheme & style are third party projects, that can make Qt apps look and feel matches your GTK theme, but implementation will actually depend on gtk2.
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 don't feel qualified enough to give a last word, but the matching theme feature sounds nice.
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.
the matching theme feature sounds nice
Ugh, so to be clear shall we apply the gtk2 platformtheme & style by default or do you think asking users to do that in their NixOS config is okay? 😂 We actually should have fair reasons to do either
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.
by default sounds fine, maybe disable if other desktop environments are enabled
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.
maybe disable if other desktop environments are enabled
Not sure if I get your idea right, I think both gtk2 and fusion are used in at least one desktops right now I think (e.g. budgie for gtk2 and xfce for fusion).
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.
by default sounds fine
Okay I filed #249712
2c760e1
to
68b5c53
Compare
68b5c53
to
61b2db7
Compare
The upstream is not maintained, and qadwaitadecoration does not seem to be xorg-related. We should have proper shadows when using SSD.
The upstream is not maintained, and qadwaitadecoration does not seem to be xorg-related. We should have proper shadows when using SSD.
61b2db7
to
ddd4973
Compare
Description of changes
#245166 (comment)
The upstream is officially not maintained, and qadwaitadecoration does not seem to be xorg-related. We should have proper shadows when using server side decoration.
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)