Bug 452149 - [Wayland] The icon for More actions for this window in the upper left is a generic Wayland icon.
Summary: [Wayland] The icon for More actions for this window in the upper left is a ge...
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: 21.12.3
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-01 14:28 UTC by Marco Parillo
Modified: 2022-04-25 14:54 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Parillo 2022-04-01 14:28:46 UTC
SUMMARY
***
On Wayland the icon for More actions for this window in the upper left is a generic Wayland icon.
***


STEPS TO REPRODUCE
1. Start Konqueror, look in the upper left. 

OBSERVED RESULT
I see a generic Wayland icon.

EXPECTED RESULT
I would like to see a Konqueror icon (a world in a gear)

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.17.1-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i7 CPU M 620 @ 2.67GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics

ADDITIONAL INFORMATION
Comment 1 David Faure 2022-04-04 18:37:57 UTC
Git commit 6d55c26d36c4ee81279c37139e5a36710a31f42a by David Faure, on behalf of Stefano Crocco.
Committed on 04/04/2022 at 18:37.
Pushed by dfaure into branch 'master'.

Make Konqueror have correct icon on Wayland

It seems that on Wayland the icon for Konqueror can't be found because
the org.kde.konqueror.desktop is installed in kservices5 instead of in
applications

In `CMakeLists.txt`, it mentions that there's a reason for installing it there; because of this I installed the file in both places. I know it's not optimal, but I don't know if there's another way to fix the problem on Wayland.

M  +3    -0    CMakeLists.txt

https://invent.kde.org/network/konqueror/commit/6d55c26d36c4ee81279c37139e5a36710a31f42a
Comment 2 Marco Parillo 2022-04-23 13:13:29 UTC
How can I tell which release includes the git commit?
I do not see any releases in https://invent.kde.org/network/konqueror/-/releases

Reason I ask is that I have just updated to Version 22.04.0 and the generic Wayland icon is still used.
Comment 3 Stefano Crocco 2022-04-25 14:54:10 UTC
Unfortunately, it seems that it was left out from version 22.04. To see what changes went into each relaease, you need to click on "Repository", then on "Branches" and on "relaeses/version_number" (for example, "releases/22.04"). Clicking on the "History" tab will show you all the commits which entered the release.

Fixing this issue is, however, very easy: you just need to copy (maybe a symlink will also work) the file /usr/share/kservices5/org.kde.konqueror.desktop to /usr/share/applications/org.kde.konqueror.desktop (I don't know if these paths can change depending on your distribution, but it shouldn't be hard to figure the correct one).