Bug 407198 - Cannot add to favourites in gnome
Summary: Cannot add to favourites in gnome
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 18.12.2
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-03 21:34 UTC by jakkubu
Modified: 2019-05-04 09:56 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 19.04.1


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jakkubu 2019-05-03 21:34:10 UTC
Cannot add to favourites in gnome.

SOLUTION
Modify org.kde.dolphin.desktop file and add

    StartupWMClass=dolphin

STEPS TO REPRODUCE
1. Install dolphin in fedora 29 (probably Ubuntu as well) via dnf
2. Open overview (system key)
3. Type dolphin
4. Right click on dolphin icon -  (in other apps there is an option 'add to favourites')

OBSERVED RESULT
There is no way of adding it to favourites

EXPECTED RESULT
Show an option 'add to favourites', as i other apps


SOFTWARE/OS VERSIONS
Fedora 29

ADDITIONAL INFORMATION
Related bugs:
https://bugs.kde.org/show_bug.cgi?id=390732
Comment 1 Elvis Angelaccio 2019-05-04 09:56:02 UTC
Git commit 9f1b6eb3f4275bbc9fd6b00a4127291bc9f16caf by Elvis Angelaccio.
Committed on 04/05/2019 at 09:53.
Pushed by elvisangelaccio into branch 'Applications/19.04'.

Fix dolphin cannot be added as favourite in GNOME

The StartupWMClass entry is needed because gnome-shell gets confused by
the mismatch between the desktop file basename ('org.kde.dolphin') and
the WM_CLASS window property ('dolphin').
FIXED-IN: 19.04.1

M  +1    -0    src/org.kde.dolphin.desktop

https://commits.kde.org/dolphin/9f1b6eb3f4275bbc9fd6b00a4127291bc9f16caf