Navigation Menu

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

qt5ct: fix missing app icon and name when running under Wayland #67559

Merged
merged 1 commit into from Aug 28, 2019

Conversation

lightbulbjim
Copy link
Contributor

Motivation for this change

The app icon and name were missing when running under Wayland (QT_QPA_PLATFORM=wayland). Xorg/XWayland (QT_QPA_PLATFORM=xcb) were unaffected.

The patch has been upstreamed and can be removed once a new release is available.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.
Notify maintainers

cc @Ralith

@lightbulbjim
Copy link
Contributor Author

Upstream patch: https://sourceforge.net/p/qt5ct/tickets/69/

@Ralith
Copy link
Contributor

Ralith commented Aug 27, 2019

Would be nice to put the URL of the submitted patch in the comment, so someone coming along a year from now can easily determine whether it's out of date or not.

@lightbulbjim
Copy link
Contributor Author

Fair enough, updated.

Since I opened the PR the upstream dev has committed the change (https://sourceforge.net/p/qt5ct/code/549/) so I've updated the included patch to match it more closely. It doesn't look like Sourceforge has a raw diff view that we can slurp unfortunately.

Copy link
Contributor

@Ralith Ralith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems sane.

@teto
Copy link
Member

teto commented Aug 28, 2019

I don't use wayland but looks ok.

@teto
Copy link
Member

teto commented Aug 28, 2019

@GrahamcOfBorg build qt5ct

@teto teto merged commit 75214a9 into NixOS:master Aug 28, 2019
@sikmir sikmir mentioned this pull request Sep 16, 2019
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants