Bug 1553098 - No icon for open Remmina application
Summary: No icon for open Remmina application
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: remmina
Version: 27
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Pavel Alexeev
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-08 09:55 UTC by Juan Orti
Modified: 2018-03-30 12:55 UTC (History)
6 users (show)

Fixed In Version: remmina-1.2.0-0.48.20180314.git.04e4a99.fc27 remmina-1.2.0-0.48.20180314.git.04e4a99.fc26 remmina-1.2.0-0.50.20180321.git.f467f19.fc27 remmina-1.2.0-0.50.20180321.git.f467f19.fc28
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-27 20:04:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Screen shot (490.72 KB, image/png)
2018-03-08 09:55 UTC, Juan Orti
no flags Details
/usr/share/applications/remmina-file.desktop (232 bytes, text/plain)
2018-03-19 12:17 UTC, Bill Gianopoulos
no flags Details
/usr/share/applications/org.remmina.Remmina.desktop (5.02 KB, text/plain)
2018-03-19 14:47 UTC, Bill Gianopoulos
no flags Details

Description Juan Orti 2018-03-08 09:55:54 UTC
Created attachment 1405797 [details]
Screen shot

Description of problem:
The icon to launch Remmina appears fine in the application list of gnome-shell, but after launching Remmina, it has no icon for the running application.

I attach a screenshot. This is a Wayland gnome-shell session in a fully updated F27.

Version-Release number of selected component (if applicable):
remmina-1.2.0-0.45.20180107.git.d70108c.fc27.x86_64
remmina-plugins-rdp-1.2.0-0.45.20180107.git.d70108c.fc27.x86_64
remmina-plugins-secret-1.2.0-0.45.20180107.git.d70108c.fc27.x86_64
remmina-plugins-nx-1.2.0-0.45.20180107.git.d70108c.fc27.x86_64
remmina-plugins-xdmcp-1.2.0-0.45.20180107.git.d70108c.fc27.x86_64
remmina-plugins-vnc-1.2.0-0.45.20180107.git.d70108c.fc27.x86_64
remmina-plugins-exec-1.2.0-0.45.20180107.git.d70108c.fc27.x86_64

Comment 1 Fedora Update System 2018-03-15 08:43:33 UTC
freerdp-2.0.0-39.20180314gitf8baeb7.fc28 remmina-1.2.0-0.48.20180314.git.04e4a99.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-f754a46985

Comment 2 Fedora Update System 2018-03-15 08:44:13 UTC
remmina-1.2.0-0.48.20180314.git.04e4a99.fc27 freerdp-2.0.0-39.20180314gitf8baeb7.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-b3bda07364

Comment 3 Fedora Update System 2018-03-15 08:44:41 UTC
freerdp-2.0.0-39.20180314gitf8baeb7.fc26 remmina-1.2.0-0.48.20180314.git.04e4a99.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-05115b29ba

Comment 4 Bill Gianopoulos 2018-03-15 11:30:47 UTC
(In reply to Fedora Update System from comment #2)
> remmina-1.2.0-0.48.20180314.git.04e4a99.fc27
> freerdp-2.0.0-39.20180314gitf8baeb7.fc27 has been submitted as an update to
> Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-b3bda07364

As was previously stated in comment 0, originally, under fedora 27 "The icon to launch Remmina appears fine in the application list of gnome-shell".  After updating all of the installed components with those posted here, this Icon, and in fact the entire entry to launch Remmina, no longer appears in the application list of gnome-shell.

Comment 5 Fedora Update System 2018-03-15 13:32:03 UTC
freerdp-2.0.0-39.20180314gitf8baeb7.fc28, remmina-1.2.0-0.48.20180314.git.04e4a99.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-f754a46985

Comment 6 Fedora Update System 2018-03-15 15:58:29 UTC
freerdp-2.0.0-39.20180314gitf8baeb7.fc26, remmina-1.2.0-0.48.20180314.git.04e4a99.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-05115b29ba

Comment 7 Fedora Update System 2018-03-15 16:27:03 UTC
freerdp-2.0.0-39.20180314gitf8baeb7.fc27, remmina-1.2.0-0.48.20180314.git.04e4a99.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-b3bda07364

Comment 8 Juan Orti 2018-03-16 10:12:37 UTC
The Remmina icon has disappeared in remmina-1.2.0-0.48.20180314.git.04e4a99.fc27.x86_64

Comment 9 Fedora Update System 2018-03-19 04:37:14 UTC
freerdp-2.0.0-39.20180314gitf8baeb7.fc27, remmina-1.2.0-0.48.20180314.git.04e4a99.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Juan Orti 2018-03-19 09:35:27 UTC
The problem has not been resolved.

remmina-1.2.0-0.48.20180314.git.04e4a99.fc27.x86_64

Comment 11 Antenore Gatta 2018-03-19 12:02:06 UTC
Upstream developer here.

In other distros works fine, what it's different in Fedora that doesn't deal correctly with the Remmina desktop file?

Any clues?

Thanks.

Comment 12 Antenore Gatta 2018-03-19 12:10:06 UTC
Can someone see if there is one or more remmina desktop files under 
/usr/share/applications ?

Can you share those files please?

Comment 13 Bill Gianopoulos 2018-03-19 12:15:20 UTC
There is only one and is identical before and after the Remmina upgrade.

Comment 14 Bill Gianopoulos 2018-03-19 12:17:20 UTC
Created attachment 1409850 [details]
/usr/share/applications/remmina-file.desktop

Comment 15 Bill Gianopoulos 2018-03-19 12:20:04 UTC
The file permissions are also the same before and after.

-rw-r--r--. 1 root root 232 Mar 15 04:34 /usr/share/applications/remmina-file.desktop

Comment 16 Simone Caronni 2018-03-19 12:20:37 UTC
Desktop files are just installed as they are:

https://src.fedoraproject.org/rpms/remmina/blob/master/f/remmina.spec#_197
https://src.fedoraproject.org/rpms/remmina/blob/master/f/remmina.spec#_212

There are only these two installed:

$ ls -al /usr/share/applications/*remmina*
-rw-r--r--. 1 root root 5182 Mar 19 13:14 /usr/share/applications/org.remmina.Remmina.desktop
-rw-r--r--. 1 root root  232 Mar 15 09:34 /usr/share/applications/remmina-file.desktop

Nothing special in both that should justify the icon disappearing.

The only thing that seems to be wrong is the name of the desktop file in the AppData file, but this has nothing to do with the icon disappearing:

$ grep "\\.desktop" /usr/share/metainfo/org.remmina.Remmina.appdata.xml 
  <id>org.Remmina.desktop</id>

(should be org.remmina.Remmina.desktop).

Comment 17 Simone Caronni 2018-03-19 12:23:49 UTC
While I'm at it, I'm opening a bug for the metadata file so it does not get lost, it also fails on other things (unrelated to this particular problem).

Comment 18 Bill Gianopoulos 2018-03-19 12:26:34 UTC
However, removing the line "NoDisplay-true" from the desktop file fixes the issue.

Comment 19 Bill Gianopoulos 2018-03-19 12:27:44 UTC
typo there.  I meant "NoDisplay=true"

Comment 20 Antenore Gatta 2018-03-19 12:29:35 UTC
Cool! Thanks Bill.
I'm going to fix this upstream immediately (both).

Thanks really!!

Comment 21 Simone Caronni 2018-03-19 12:33:38 UTC
Ah! Cool. I will wait for the next code drop and just rebase on that then. Thanks!

Comment 22 Simone Caronni 2018-03-19 12:38:25 UTC
So much for the usefulness of desktop-file-validate, it does not print anything:

$ desktop-file-validate /usr/share/applications/org.remmina.Remmina.desktop 
/usr/share/applications/org.remmina.Remmina.desktop: warning: key "OnlyShowIn" in group "Desktop Action Quit" is deprecated
$ desktop-file-validate /usr/share/applications/remmina-file.desktop 
$ echo $?
0

@anter(In reply to Antenore Gatta from comment #20)
> Cool! Thanks Bill.
> I'm going to fix this upstream immediately (both).
> 
> Thanks really!!

What about this?

https://bugzilla.redhat.com/show_bug.cgi?id=1557572

Also the main icon is missing with the latest snapshot.

Comment 23 Antenore Gatta 2018-03-19 13:07:52 UTC
Did you build the latest commits from this PR https://github.com/FreeRDP/Remmina/pull/1522 ?

Comment 24 Antenore Gatta 2018-03-19 13:11:45 UTC
Done, directly in next, I hope I'm not breaking something else

:-)

Comment 25 Simone Caronni 2018-03-19 13:21:51 UTC
(In reply to Antenore Gatta from comment #23)
> Did you build the latest commits from this PR
> https://github.com/FreeRDP/Remmina/pull/1522 ?

Doing in one pass when all changes are in:

- Removal of NoDisplay=true (merged)
- Fixing of AppStream metadata desktop file (merged)
- Removal of OnlyShowIn=Unity; (merged)
- Removal of "%u" in the exec lines (not yet merged)

Comment 26 Simone Caronni 2018-03-19 14:25:04 UTC
(In reply to Bill Gianopoulos from comment #18)
> However, removing the line "NoDisplay=true" from the desktop file fixes the
> issue.

Bill, if you remove that entry from the remote-file.desktop you have an additional icon in the menu called "Remmina Remote File" that actually does nothing once clicked.

Are you sure this is the intended behaviour? Do you require two icons in the menu, one not working, to have an icon in the running applications?

Comment 27 Bill Gianopoulos 2018-03-19 14:39:08 UTC
OK not at all sure how this ever worked before.  I restored the line "NoDisplay=true" to remmina-file.desktop, and created an additiona desktop file named remmina-desktop and put these lines in it:

[Desktop Entry]
Name=Remmina
Comment=Access remote desktops with Remmina
Exec=/usr/bin/remmina
Icon=remmina
Terminal=false
Type=Application
StartupNotify=true

Under fedora this results in only one Icon and clicking on it actually launches remmina.  The reason the other icon did not work was because of it specifying the --connect option with no parameter to specify the connection to be used.  Is it possible that fixing the Appstream metadata would actually just make it work without adding or altering desktop files?

Comment 28 Bill Gianopoulos 2018-03-19 14:44:31 UTC
Of course so not doing the remove of "NoDisplay=true" form remmina-file.desktop is the correct thing to do fixing the other issue should result in a usable icon because of the existence of an
 /usr/share/applications/org.remmina.Remmina.desktop
file that i did not see earlier because I had only looked for files beginning with remmina.

Comment 29 Bill Gianopoulos 2018-03-19 14:47:27 UTC
Created attachment 1409890 [details]
/usr/share/applications/org.remmina.Remmina.desktop

OK and this is the contents of the new desktop file.

Comment 30 Bill Gianopoulos 2018-03-19 14:55:14 UTC
(In reply to Simone Caronni from comment #25)
> (In reply to Antenore Gatta from comment #23)
> > Did you build the latest commits from this PR
> > https://github.com/FreeRDP/Remmina/pull/1522 ?
> 
> Doing in one pass when all changes are in:
> 
> - Removal of NoDisplay=true (merged)
> - Fixing of AppStream metadata desktop file (merged)
> - Removal of OnlyShowIn=Unity; (merged)
> - Removal of "%u" in the exec lines (not yet merged)

So I think reverting the Removal of NoDisplay=true, not doing the removal of "%u" in exec lines and maybe even reverting the OnlyShowIn=Unity change and just do the Fixing of AppStream metadata desktop file and testing that because maybe all of the other issues go away.

Comment 31 Simone Caronni 2018-03-19 14:59:04 UTC
There is a bit of confusion here.

(In reply to Bill Gianopoulos from comment #27)
> OK not at all sure how this ever worked before.  I restored the line
> "NoDisplay=true" to remmina-file.desktop, and created an additiona desktop
> file named remmina-desktop and put these lines in it:
> 
> [Desktop Entry]
> Name=Remmina
> Comment=Access remote desktops with Remmina
> Exec=/usr/bin/remmina
> Icon=remmina
> Terminal=false
> Type=Application
> StartupNotify=true

This you should not do, as this is what the org.remmina.Remmina.desktop file is about.

> > Under fedora this results in only one Icon and clicking on it actually
> launches remmina.  The reason the other icon did not work was because of it
> specifying the --connect option with no parameter to specify the connection
> to be used.  Is it possible that fixing the Appstream metadata would
> actually just make it work without adding or altering desktop files?

Nope, not related.

Making a test build to see if everything works and "NoDisplay=true" really needs to be removed (thus having two menu entries) to have an icon in the running application list.

(In reply to Bill Gianopoulos from comment #30)
> So I think reverting the Removal of NoDisplay=true, not doing the removal of
> "%u" in exec lines and maybe even reverting the OnlyShowIn=Unity change and
> just do the Fixing of AppStream metadata desktop file and testing that
> because maybe all of the other issues go away.

No, this is wrong. Metadata has nothing to do with this. I'm making a test. Correct thing seems to be:

- Fixing of AppStream metadata desktop file (merged)
- Removal of OnlyShowIn=Unity; (merged)
- Removal of "%u" in the exec lines (merged)

- KEEP NoDisplay=true in remote-file.desktop (to be reverted)

I will ask the original poster for testing the update.

Comment 32 Fedora Update System 2018-03-19 15:15:31 UTC
remmina-1.2.0-0.49.20180319.git.5f3cc40.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-c71246ae99

Comment 33 Simone Caronni 2018-03-19 15:20:24 UTC
Juan, can you test the above update?

It contains the above changes, so you should see 2 Remmina icons. If the icon is correctly displayed in the running applications list, can you then try to see if adding "NoDisplay=true" to the end of "/usr/share/applications/remmina-file.desktop" still shows the icon in the applications list?

Thanks.

Comment 34 Bill Gianopoulos 2018-03-19 15:30:39 UTC
(In reply to Simone Caronni from comment #33)
> Juan, can you test the above update?
> 
> It contains the above changes, so you should see 2 Remmina icons. If the
> icon is correctly displayed in the running applications list, can you then
> try to see if adding "NoDisplay=true" to the end of
> "/usr/share/applications/remmina-file.desktop" still shows the icon in the
> applications list?
> 
> Thanks.

OK I applied the above and had the extra non-working icon and re-added the NoDisplay=true and it all seems to work as it should.  Sorry for leading you down the wrong path here.

Comment 35 Fedora Update System 2018-03-19 19:02:37 UTC
remmina-1.2.0-0.49.20180319.git.5f3cc40.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-c71246ae99

Comment 36 Fedora Update System 2018-03-20 17:34:18 UTC
freerdp-2.0.0-39.20180314gitf8baeb7.fc26, remmina-1.2.0-0.48.20180314.git.04e4a99.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 37 Simone Caronni 2018-03-21 08:00:39 UTC
(In reply to Bill Gianopoulos from comment #34)
> Sorry for leading you down the wrong path here.

No problem! Thanks for confirming.

Comment 38 Simone Caronni 2018-03-21 08:55:53 UTC
Antenore reverted the nodisplay change, will rebuild immediately.

Comment 39 Juan Orti 2018-03-21 09:07:29 UTC
remmina-1.2.0-0.49.20180319.git.5f3cc40.fc27.x86_64 fixes all icon issues. Thank you!

Comment 40 Fedora Update System 2018-03-21 09:35:24 UTC
freerdp-2.0.0-40.20180320gitde83f4d.fc28 remmina-1.2.0-0.50.20180321.git.f467f19.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-f754a46985

Comment 41 Fedora Update System 2018-03-21 09:39:18 UTC
freerdp-2.0.0-40.20180320gitde83f4d.fc27 remmina-1.2.0-0.50.20180321.git.f467f19.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-c71246ae99

Comment 42 Fedora Update System 2018-03-21 14:12:19 UTC
freerdp-2.0.0-40.20180320gitde83f4d.fc28, remmina-1.2.0-0.50.20180321.git.f467f19.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-f754a46985

Comment 43 Fedora Update System 2018-03-21 15:57:08 UTC
freerdp-2.0.0-40.20180320gitde83f4d.fc27, remmina-1.2.0-0.50.20180321.git.f467f19.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-c71246ae99

Comment 44 Fedora Update System 2018-03-27 20:04:33 UTC
freerdp-2.0.0-40.20180320gitde83f4d.fc27, remmina-1.2.0-0.50.20180321.git.f467f19.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Comment 45 Fedora Update System 2018-03-30 12:55:40 UTC
freerdp-2.0.0-40.20180320gitde83f4d.fc28, remmina-1.2.0-0.50.20180321.git.f467f19.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, 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.