Bug 2272474 - gnome-shell dash shows two icons of Transmission when the app is running
Summary: gnome-shell dash shows two icons of Transmission when the app is running
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: transmission
Version: 42
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-04-01 13:22 UTC by Sébastien Wilmet
Modified: 2025-09-26 00:19 UTC (History)
13 users (show)

Fixed In Version: transmission-4.0.6-12.fc42 transmission-4.0.6-12.fc41 transmission-4.0.6-12.fc43
Clone Of:
Environment:
Last Closed: 2025-09-19 01:38:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Screenshot with two icons of Transmission in the GNOME dash (104.71 KB, image/png)
2024-04-01 13:24 UTC, Sébastien Wilmet
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github transmission transmission issues 5067 0 None open 4.0.1 GTK wayland client has wrong wmclass 2024-05-30 10:07:26 UTC

Description Sébastien Wilmet 2024-04-01 13:22:34 UTC
gnome-shell dash shows two icons of Transmission when the app is running.

Reproducible: Always

Steps to Reproduce:
1. With GNOME in the overview mode, 'Pin to Dash' the Transmission application.
2. Launch Transmission by clicking on its icon in the dash.

Actual Results:  
The GNOME dash now has two Transmission icons.

Expected Results:  
When Transmission is running, GNOME should indicate it in the dash under the primary Transmission icon.

I will attach a screenshot showing the problem.

Comment 1 Sébastien Wilmet 2024-04-01 13:24:29 UTC
Created attachment 2024550 [details]
Screenshot with two icons of Transmission in the GNOME dash

Comment 2 Sébastien Wilmet 2024-04-01 13:29:50 UTC
I'm on Fedora Workstation 40 (Prerelease).

I have the following "transmission" packages installed:
```
transmission-common-4.0.5-3.fc40.x86_64
transmission-gtk-4.0.5-3.fc40.x86_64
transmission-4.0.5-3.fc40.x86_64
```

Comment 3 Gwyn Ciesla 2024-04-02 19:40:51 UTC
Interesting. I can reproduce this, but only with gtk, not qt. qt behaves as expected. Do you see that too?

Comment 4 Sébastien Wilmet 2024-04-02 21:23:08 UTC
Yes same behavior here, qt doesn't have the problem.

Comment 5 Adam Williamson 2024-04-11 20:54:49 UTC
I'm observing some other symptoms which I suspect all have the same ultimate cause, and it's probably to do with the unbundling changes by Yaakov. Running on GNOME, with transmission-gtk.

When I click a torrent in Firefox, Transmission launches, but it does not show the 'where do you want this torrent to go' dialog as it's configured to, and the torrent does not appear in the main window. If I then quit transmission and run it again, the torrent is suddenly there (though I don't know where it's downloading to). The first time I right click it, the 'remove this torrent' option doesn't appear, I have to right click it again to see that. Also, on the alt-tab menu, Transmission's name is 'com.transmiss...' , not Transmission.

To workably download torrents, I have to run Transmission from the overview, copy the URL from Firefox, and use File / Open URL... . That behaves correctly (gives me the dialog to choose the download location, then the torrent immediately appears in the main window and works).

Comment 6 lievergenieten 2024-04-25 18:51:18 UTC
same here, after installing Fedora 40 Transmission 4.0.5 does show 2 icons in the tray (1 refers to com) and magnets are not working (using Edge)
was all fine on Fedora 39 
that right click option on the torrent is a bit disturbing though, that's a context menu

Comment 7 Didier G 2024-04-28 22:12:22 UTC
Same problems with Fedora 40 and transmission-4.0.5-3.fc40:

- double icons in dash-to-dock
- legacy Trays icons does not work 

I downgraded to transmission-4.0.5-2.fc40 and this previous version works fine.

Comment 8 Gwyn Ciesla 2024-04-29 16:32:31 UTC
Interesting, the only major change in that release is the move from gtk3 to gtk4.

Comment 9 lievergenieten 2024-04-29 18:38:02 UTC
rollback to 4.0.5.2 or 4.0.5.1 did not resolve the issue for me ; 4.0.4.1 got removed from repo library 
so as long as I'm on Fedora 40 I seem to have this issue ; so probably not gtk related - more likely something else

Comment 10 Didier G 2024-05-01 13:33:57 UTC
So, if I upgrade to:

transmission-common-4.0.5-3.fc40.x86_64
transmission-4.0.5-3.fc40.x86_64

but does not upĝrade: 

transmission-gtk-4.0.5-2.fc40.x86_64

Everything seems works fine !

Comment 11 Gwyn Ciesla 2024-05-13 18:19:32 UTC
That does point to a change in behavior under gtk4.

Comment 12 Didier G 2024-05-26 10:51:42 UTC
Problem still exists after upgrade to gtk4-4.14.4-2.fc40.x86_64

Comment 13 Sébastien Wilmet 2024-05-27 22:52:06 UTC
The first thing I would look at to fix this bug is the *.desktop file.

See https://www.freedesktop.org/wiki/Specifications/desktop-entry-spec/

Comment 14 Gwyn Ciesla 2024-05-28 19:05:49 UTC
Nothing stands out, and desktop-file-validate is silent.

Comment 15 Sébastien Wilmet 2024-05-29 10:55:03 UTC
I no longer have the bug!

I have uninstalled all transmission packages, then re-installed it. 'Pin to Dash' again. The problem has disappeared.

$ rpm -qa | grep transmission
transmission-common-4.0.5-3.fc40.x86_64
transmission-gtk-4.0.5-3.fc40.x86_64
transmission-4.0.5-3.fc40.x86_64

transmission-4.0.5-3 is not new, it was from 2024-03-19:
https://koji.fedoraproject.org/koji/packageinfo?packageID=4013

So to have the bug fix it probably comes from another package (gnome-shell?).

Comment 16 Peter Wu 2024-05-30 03:37:42 UTC
This problem may be related to this upstream bug:

https://github.com/transmission/transmission/issues/5067

Comment 17 Sébastien Wilmet 2024-05-30 10:07:27 UTC
(In reply to Sébastien Wilmet from comment #15)
> I no longer have the bug!

It was because I used the X11 GNOME session. The bug happens only on Wayland.

(In reply to Peter Wu from comment #16)
> This problem may be related to this upstream bug:
> 
> https://github.com/transmission/transmission/issues/5067

Indeed this is the upstream bug, with more technical details.

Comment 18 Didier G 2024-05-31 17:50:08 UTC
Both problems - Dash to Dock and AppIndicator and KStatusNotifierItem Support - still exists with transmission-gtk-4.0.6-1.fc40.x86_64.rpm under Wayland.

transmission-gtk-4.0.5-2.fc40.x86_64.rpm

works fine with 

transmission-4.0.6-1.fc40.x86_64.rpm
transmission-common-4.0.6-1.fc40.x86_64.rpm

Comment 19 Andre Vehreschild 2024-06-10 05:36:14 UTC
With transmission-gtk-4.0.6-1.fc39.x86_64 I see no dock icon at all on Fedora 39 with cinnamon-6.0.4-5.fc39.x86_64. Installing the Qt package at least allows for tray icon again.

Comment 20 Aoife Moloney 2025-04-25 10:24:09 UTC
This message is a reminder that Fedora Linux 40 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 40 on 2025-05-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '40'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 40 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 21 David Auer 2025-09-14 21:42:50 UTC
I think this patch would help with all the icon issues: https://github.com/transmission/transmission/pull/7669
Unfortunately, upstream developers don't seem to active, should we try to apply it downstream?

Comment 22 Gwyn Ciesla 2025-09-17 19:21:51 UTC
This worked, thank you! I'll get updates out.

Comment 23 Fedora Update System 2025-09-17 19:49:22 UTC
FEDORA-2025-60724187bd (transmission-4.0.6-12.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-60724187bd

Comment 24 Fedora Update System 2025-09-17 19:49:22 UTC
FEDORA-2025-c9d3e2dd58 (transmission-4.0.6-12.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-c9d3e2dd58

Comment 25 Fedora Update System 2025-09-18 01:49:55 UTC
FEDORA-2025-c9d3e2dd58 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-c9d3e2dd58`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-c9d3e2dd58

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 26 Fedora Update System 2025-09-18 02:15:45 UTC
FEDORA-2025-013d249fbe has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-013d249fbe`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-013d249fbe

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 27 Fedora Update System 2025-09-18 02:50:53 UTC
FEDORA-2025-60724187bd has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-60724187bd`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-60724187bd

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 28 Fedora Update System 2025-09-19 01:38:25 UTC
FEDORA-2025-013d249fbe (transmission-4.0.6-12.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 29 Fedora Update System 2025-09-20 16:58:45 UTC
FEDORA-2025-60724187bd (transmission-4.0.6-12.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 30 Fedora Update System 2025-09-26 00:19:29 UTC
FEDORA-2025-c9d3e2dd58 (transmission-4.0.6-12.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.