Bug 407198

Summary: Cannot add to favourites in gnome
Product: [Applications] dolphin Reporter: jakkubu <jakub.buczak>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: elvis.angelaccio
Priority: NOR    
Version First Reported In: 18.12.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In: 19.04.1
Sentry Crash Report:

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