-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
google-chrome: Fix Qt support #375279
google-chrome: Fix Qt support #375279
Conversation
I'm a complete beginner at this, but at least I can attest to the changes working on my machine, related to #228751 |
1c0900c
to
1831d19
Compare
Alright! With this, it does build and work fine. I don't know why your suggested changes don't work, though. @aucub |
1831d19
to
6476bd0
Compare
Alright, no, finally NOW it works fine. |
Now, it does work, but it doesn't seem to export the menus the same way it did before, with the broken makeWrapper results... |
Up until now, the AllowQt feature and the "Use Qt" button on Chrome's settings simply did nothing, now, they work. Related to: NixOS#228751 Signed-off-by: stereomato <[email protected]>
6476bd0
to
ad370bf
Compare
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.
Tested locally and seems to work, thank you!
Successfully created backport PR for |
Nice! There's a problem though, while this does work and enables the QT support on Chrome, I'm still not able to see the menu entries in the KDE global menu. It worked before when I used other settings in the derivation, but the result of the derivation would have ./result/bin/google-chrome-stable be all messed up. Any ideas? |
Are you using Wayland? If yes, global menus are not supported in Electron/Chromium based apps in Wayland sessions. (Upstream bug: electron/electron#34335) |
Ah, indeed, when using the broken derivation, it runs on X11. Thanks. |
Basically, up until now Google Chrome simply wasn't capable of using the Qt engine support. Clicking on the "Use Qt" button on Appearance settings would do nothing.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.