Closed Bug 1628002 Opened 4 years ago Closed 4 years ago

« shortcuts » created by drag and drop from address bar don't create « real » .desktop file on linux

Categories

(Firefox :: Address Bar, enhancement)

74 Branch
enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 318110

People

(Reporter: gerald.maruccia, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0

Steps to reproduce:

Drag and drop onto desktop ( or other folder ) an url from address-bar

Actual results:

This creates a kind of .desktop file as link :

[Desktop Entry]
Encoding=UTF-8
Name=Lien vers Firefox web shortcuts do not show an icon - General - Ubuntu Budgie
Type=Link
URL=https://discourse.ubuntubudgie.org/t/firefox-web-shortcuts-do-not-show-an-icon/3296/12
Icon=text-html

This provides indeed a working link but with a generic icon ( text-html ) not a per-site icon ( favicon ? ) and this link can not be pinned to dock, panel nor app-menu since it's not a « launcher » .desktop file.

Expected results:

In Linux the resulting from this d'n'd should be a « full » launcher .desktop file :

#!/usr/bin/env xdg-open
[Desktop Entry]
Name=title of web page
Icon=favicon of web page
Exec=firefox https://url_of_web_page
Terminal=false
StartupNotify=false
Type=Application
Categories=Internet;Network

Icon= should automagically fetch the favicon ( or thumbnail ? ) as it's already done on the « most visited sites » section of a new tab page.

Ideally such a launcher .desktop file should be stored in a default user place like ~/.local/share/applications

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Address Bar
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.