[kget] [Bug 400367] Cannot launch Kget via apps launcher. It launches via terminal.

Wolfgang Bauer bugzilla_noreply at kde.org
Thu Dec 20 21:37:38 GMT 2018


https://bugs.kde.org/show_bug.cgi?id=400367

Wolfgang Bauer <wbauer at tmo.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |18.12.1
      Latest Commit|                            |https://commits.kde.org/kge
                   |                            |t/80adf24c1091115e2fa483965
                   |                            |0a5708b2d4672c8
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #9 from Wolfgang Bauer <wbauer at tmo.at> ---
Git commit 80adf24c1091115e2fa4839650a5708b2d4672c8 by Wolfgang Bauer.
Committed on 20/12/2018 at 21:29.
Pushed by wbauer into branch 'Applications/18.12'.

Set window icon in code instead of in the desktop file

%i is expanded to "--icon xxx", but Qt only supports that option on
xcb, not Wayland. Therefore kget couldn't be started from the
application launcher/menu on Wayland.
See
https://community.kde.org/Guidelines_and_HOWTOs/Wayland_Porting_Notes#Application_Icon
.

Instead, use QApplication::setWindowIcon() to set the window icon
(necessary to have a window icon on other desktops than Plasma). This
also has the advantage that the proper window icon is set when running
kget from a shell (and not passing the --icon or -qwindowicon options).
FIXED-IN: 18.12.1

M  +1    -1    desktop/org.kde.kget.desktop.cmake
M  +1    -0    main.cpp

https://commits.kde.org/kget/80adf24c1091115e2fa4839650a5708b2d4672c8

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KGet mailing list