[Dx-packages] [Bug 1582433] Re: Dash does not handle .desktop files correctly if there are hyphens in the directory path

2016-07-18 Thread Launchpad Bug Tracker
This bug was fixed in the package unity-lens-applications -
7.1.0+16.04.20160701-0ubuntu1

---
unity-lens-applications (7.1.0+16.04.20160701-0ubuntu1) xenial; urgency=medium

  [ Andrea Azzarone ]
  * Fallback from pkginfo.application_name in case app is NULL. (LP:
#1582433)

 -- Marco Trevisan (Treviño)   Fri, 01 Jul 2016 10:44:01
+

** Changed in: unity-lens-applications (Ubuntu Xenial)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity-lens-applications in Ubuntu.
https://bugs.launchpad.net/bugs/1582433

Title:
  Dash does not handle .desktop files correctly if there are hyphens in
  the directory path

Status in unity-lens-applications package in Ubuntu:
  Fix Released
Status in unity-lens-applications source package in Xenial:
  Fix Released

Bug description:
  [Impact]

  The Unity dash can fail to display the icon or title from a .desktop
  file correctly if it resides under a directory containing a hyphen
  character.

  [Test case]

  As an example (on my 16.04 machine):

  $ cat << EOF > test.desktop
  [Desktop Entry]
  Name=Hyphen test
  Exec=/bin/true
  Type=Application
  Icon=/usr/share/icons/suru/apps/256/dash.png
  EOF

  $ chmod +x test.desktop
  $ mkdir ~/.local/share/applications/hyphen-test
  $ mv test.desktop ~/.local/share/applications/hyphen-test/

  Now, open the dash and search for "hyphen". On my machine, I see the
  correct icon but no title is displayed underneath.

  $ mv ~/.local/share/applications/hyphen-test
  ~/.local/share/applications/hyphen

  Searching for "hyphen" in the dash now shows an entry with the correct
  icon and title (but also still shows the defunct previous entry
  without title).

  The effect of the hyphenated path seems variable. Some apps show the
  wrong icon, some have a missing title, some have both errors.

  The problem only seems to be with hyphens in the directories. Hyphens
  in the file itself are fine. See the screenshot - Might and Magic 4&5
  has had a desktop file installed under a subdirectory with a hyphen,
  whereas Heroes of Might and Magic has a desktop file in the root
  directory but contains a hyphen in the filename. The latter is shown
  correctly, but the desktop files in the former directory are not shown
  properly.

  [Possible Regressions]
  Nothing known.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-lens-applications/+bug/1582433/+subscriptions

-- 
Mailing list: https://launchpad.net/~dx-packages
Post to : dx-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dx-packages
More help   : https://help.launchpad.net/ListHelp


[Dx-packages] [Bug 1582433] Re: Dash does not handle .desktop files correctly if there are hyphens in the directory path

2016-07-13 Thread Mateusz Stachowski
** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity-lens-applications in Ubuntu.
https://bugs.launchpad.net/bugs/1582433

Title:
  Dash does not handle .desktop files correctly if there are hyphens in
  the directory path

Status in unity-lens-applications package in Ubuntu:
  Fix Released
Status in unity-lens-applications source package in Xenial:
  Fix Committed

Bug description:
  [Impact]

  The Unity dash can fail to display the icon or title from a .desktop
  file correctly if it resides under a directory containing a hyphen
  character.

  [Test case]

  As an example (on my 16.04 machine):

  $ cat << EOF > test.desktop
  [Desktop Entry]
  Name=Hyphen test
  Exec=/bin/true
  Type=Application
  Icon=/usr/share/icons/suru/apps/256/dash.png
  EOF

  $ chmod +x test.desktop
  $ mkdir ~/.local/share/applications/hyphen-test
  $ mv test.desktop ~/.local/share/applications/hyphen-test/

  Now, open the dash and search for "hyphen". On my machine, I see the
  correct icon but no title is displayed underneath.

  $ mv ~/.local/share/applications/hyphen-test
  ~/.local/share/applications/hyphen

  Searching for "hyphen" in the dash now shows an entry with the correct
  icon and title (but also still shows the defunct previous entry
  without title).

  The effect of the hyphenated path seems variable. Some apps show the
  wrong icon, some have a missing title, some have both errors.

  The problem only seems to be with hyphens in the directories. Hyphens
  in the file itself are fine. See the screenshot - Might and Magic 4&5
  has had a desktop file installed under a subdirectory with a hyphen,
  whereas Heroes of Might and Magic has a desktop file in the root
  directory but contains a hyphen in the filename. The latter is shown
  correctly, but the desktop files in the former directory are not shown
  properly.

  [Possible Regressions]
  Nothing known.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-lens-applications/+bug/1582433/+subscriptions

-- 
Mailing list: https://launchpad.net/~dx-packages
Post to : dx-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dx-packages
More help   : https://help.launchpad.net/ListHelp


[Dx-packages] [Bug 1582433] Re: Dash does not handle .desktop files correctly if there are hyphens in the directory path

2016-07-11 Thread Brian Murray
Hello Neil, or anyone else affected,

Accepted unity-lens-applications into xenial-proposed. The package will
build now and be available at https://launchpad.net/ubuntu/+source
/unity-lens-applications/7.1.0+16.04.20160701-0ubuntu1 in a few hours,
and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: unity-lens-applications (Ubuntu Xenial)
   Status: New => Fix Committed

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity-lens-applications in Ubuntu.
https://bugs.launchpad.net/bugs/1582433

Title:
  Dash does not handle .desktop files correctly if there are hyphens in
  the directory path

Status in unity-lens-applications package in Ubuntu:
  Fix Released
Status in unity-lens-applications source package in Xenial:
  Fix Committed

Bug description:
  [Impact]

  The Unity dash can fail to display the icon or title from a .desktop
  file correctly if it resides under a directory containing a hyphen
  character.

  [Test case]

  As an example (on my 16.04 machine):

  $ cat << EOF > test.desktop
  [Desktop Entry]
  Name=Hyphen test
  Exec=/bin/true
  Type=Application
  Icon=/usr/share/icons/suru/apps/256/dash.png
  EOF

  $ chmod +x test.desktop
  $ mkdir ~/.local/share/applications/hyphen-test
  $ mv test.desktop ~/.local/share/applications/hyphen-test/

  Now, open the dash and search for "hyphen". On my machine, I see the
  correct icon but no title is displayed underneath.

  $ mv ~/.local/share/applications/hyphen-test
  ~/.local/share/applications/hyphen

  Searching for "hyphen" in the dash now shows an entry with the correct
  icon and title (but also still shows the defunct previous entry
  without title).

  The effect of the hyphenated path seems variable. Some apps show the
  wrong icon, some have a missing title, some have both errors.

  The problem only seems to be with hyphens in the directories. Hyphens
  in the file itself are fine. See the screenshot - Might and Magic 4&5
  has had a desktop file installed under a subdirectory with a hyphen,
  whereas Heroes of Might and Magic has a desktop file in the root
  directory but contains a hyphen in the filename. The latter is shown
  correctly, but the desktop files in the former directory are not shown
  properly.

  [Possible Regressions]
  Nothing known.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-lens-applications/+bug/1582433/+subscriptions

-- 
Mailing list: https://launchpad.net/~dx-packages
Post to : dx-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dx-packages
More help   : https://help.launchpad.net/ListHelp


[Dx-packages] [Bug 1582433] Re: Dash does not handle .desktop files correctly if there are hyphens in the directory path

2016-07-11 Thread Brian Murray
** Also affects: unity-lens-applications (Ubuntu Xenial)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity-lens-applications in Ubuntu.
https://bugs.launchpad.net/bugs/1582433

Title:
  Dash does not handle .desktop files correctly if there are hyphens in
  the directory path

Status in unity-lens-applications package in Ubuntu:
  Fix Released
Status in unity-lens-applications source package in Xenial:
  New

Bug description:
  [Impact]

  The Unity dash can fail to display the icon or title from a .desktop
  file correctly if it resides under a directory containing a hyphen
  character.

  [Test case]

  As an example (on my 16.04 machine):

  $ cat << EOF > test.desktop
  [Desktop Entry]
  Name=Hyphen test
  Exec=/bin/true
  Type=Application
  Icon=/usr/share/icons/suru/apps/256/dash.png
  EOF

  $ chmod +x test.desktop
  $ mkdir ~/.local/share/applications/hyphen-test
  $ mv test.desktop ~/.local/share/applications/hyphen-test/

  Now, open the dash and search for "hyphen". On my machine, I see the
  correct icon but no title is displayed underneath.

  $ mv ~/.local/share/applications/hyphen-test
  ~/.local/share/applications/hyphen

  Searching for "hyphen" in the dash now shows an entry with the correct
  icon and title (but also still shows the defunct previous entry
  without title).

  The effect of the hyphenated path seems variable. Some apps show the
  wrong icon, some have a missing title, some have both errors.

  The problem only seems to be with hyphens in the directories. Hyphens
  in the file itself are fine. See the screenshot - Might and Magic 4&5
  has had a desktop file installed under a subdirectory with a hyphen,
  whereas Heroes of Might and Magic has a desktop file in the root
  directory but contains a hyphen in the filename. The latter is shown
  correctly, but the desktop files in the former directory are not shown
  properly.

  [Possible Regressions]
  Nothing known.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-lens-applications/+bug/1582433/+subscriptions

-- 
Mailing list: https://launchpad.net/~dx-packages
Post to : dx-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dx-packages
More help   : https://help.launchpad.net/ListHelp


[Dx-packages] [Bug 1582433] Re: Dash does not handle .desktop files correctly if there are hyphens in the directory path

2016-07-08 Thread Andrea Azzarone
** Description changed:

+ [Impact]
+ 
  The Unity dash can fail to display the icon or title from a .desktop
  file correctly if it resides under a directory containing a hyphen
  character.
+ 
+ [Test case]
  
  As an example (on my 16.04 machine):
  
  $ cat << EOF > test.desktop
  [Desktop Entry]
  Name=Hyphen test
  Exec=/bin/true
  Type=Application
  Icon=/usr/share/icons/suru/apps/256/dash.png
  EOF
  
  $ chmod +x test.desktop
  $ mkdir ~/.local/share/applications/hyphen-test
  $ mv test.desktop ~/.local/share/applications/hyphen-test/
  
  Now, open the dash and search for "hyphen". On my machine, I see the
  correct icon but no title is displayed underneath.
  
  $ mv ~/.local/share/applications/hyphen-test
  ~/.local/share/applications/hyphen
  
  Searching for "hyphen" in the dash now shows an entry with the correct
  icon and title (but also still shows the defunct previous entry without
  title).
  
  The effect of the hyphenated path seems variable. Some apps show the
  wrong icon, some have a missing title, some have both errors.
  
  The problem only seems to be with hyphens in the directories. Hyphens in
  the file itself are fine. See the screenshot - Might and Magic 4&5 has
  had a desktop file installed under a subdirectory with a hyphen, whereas
  Heroes of Might and Magic has a desktop file in the root directory but
  contains a hyphen in the filename. The latter is shown correctly, but
  the desktop files in the former directory are not shown properly.
+ 
+ [Possible Regressions]
+ Nothing known.

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity-lens-applications in Ubuntu.
https://bugs.launchpad.net/bugs/1582433

Title:
  Dash does not handle .desktop files correctly if there are hyphens in
  the directory path

Status in unity-lens-applications package in Ubuntu:
  Fix Released

Bug description:
  [Impact]

  The Unity dash can fail to display the icon or title from a .desktop
  file correctly if it resides under a directory containing a hyphen
  character.

  [Test case]

  As an example (on my 16.04 machine):

  $ cat << EOF > test.desktop
  [Desktop Entry]
  Name=Hyphen test
  Exec=/bin/true
  Type=Application
  Icon=/usr/share/icons/suru/apps/256/dash.png
  EOF

  $ chmod +x test.desktop
  $ mkdir ~/.local/share/applications/hyphen-test
  $ mv test.desktop ~/.local/share/applications/hyphen-test/

  Now, open the dash and search for "hyphen". On my machine, I see the
  correct icon but no title is displayed underneath.

  $ mv ~/.local/share/applications/hyphen-test
  ~/.local/share/applications/hyphen

  Searching for "hyphen" in the dash now shows an entry with the correct
  icon and title (but also still shows the defunct previous entry
  without title).

  The effect of the hyphenated path seems variable. Some apps show the
  wrong icon, some have a missing title, some have both errors.

  The problem only seems to be with hyphens in the directories. Hyphens
  in the file itself are fine. See the screenshot - Might and Magic 4&5
  has had a desktop file installed under a subdirectory with a hyphen,
  whereas Heroes of Might and Magic has a desktop file in the root
  directory but contains a hyphen in the filename. The latter is shown
  correctly, but the desktop files in the former directory are not shown
  properly.

  [Possible Regressions]
  Nothing known.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-lens-applications/+bug/1582433/+subscriptions

-- 
Mailing list: https://launchpad.net/~dx-packages
Post to : dx-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dx-packages
More help   : https://help.launchpad.net/ListHelp


[Dx-packages] [Bug 1582433] Re: Dash does not handle .desktop files correctly if there are hyphens in the directory path

2016-07-01 Thread Amr Ibrahim
I'm having this bug in Trusty.

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity-lens-applications in Ubuntu.
https://bugs.launchpad.net/bugs/1582433

Title:
  Dash does not handle .desktop files correctly if there are hyphens in
  the directory path

Status in unity-lens-applications package in Ubuntu:
  Fix Released

Bug description:
  The Unity dash can fail to display the icon or title from a .desktop
  file correctly if it resides under a directory containing a hyphen
  character.

  As an example (on my 16.04 machine):

  $ cat << EOF > test.desktop
  [Desktop Entry]
  Name=Hyphen test
  Exec=/bin/true
  Type=Application
  Icon=/usr/share/icons/suru/apps/256/dash.png
  EOF

  $ chmod +x test.desktop
  $ mkdir ~/.local/share/applications/hyphen-test
  $ mv test.desktop ~/.local/share/applications/hyphen-test/

  Now, open the dash and search for "hyphen". On my machine, I see the
  correct icon but no title is displayed underneath.

  $ mv ~/.local/share/applications/hyphen-test
  ~/.local/share/applications/hyphen

  Searching for "hyphen" in the dash now shows an entry with the correct
  icon and title (but also still shows the defunct previous entry
  without title).

  The effect of the hyphenated path seems variable. Some apps show the
  wrong icon, some have a missing title, some have both errors.

  The problem only seems to be with hyphens in the directories. Hyphens
  in the file itself are fine. See the screenshot - Might and Magic 4&5
  has had a desktop file installed under a subdirectory with a hyphen,
  whereas Heroes of Might and Magic has a desktop file in the root
  directory but contains a hyphen in the filename. The latter is shown
  correctly, but the desktop files in the former directory are not shown
  properly.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-lens-applications/+bug/1582433/+subscriptions

-- 
Mailing list: https://launchpad.net/~dx-packages
Post to : dx-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dx-packages
More help   : https://help.launchpad.net/ListHelp


[Dx-packages] [Bug 1582433] Re: Dash does not handle .desktop files correctly if there are hyphens in the directory path

2016-06-19 Thread Amr Ibrahim
Trusty is also affected. Please backport to 14.04 LTS.

** Tags added: trusty xenial

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity-lens-applications in Ubuntu.
https://bugs.launchpad.net/bugs/1582433

Title:
  Dash does not handle .desktop files correctly if there are hyphens in
  the directory path

Status in unity-lens-applications package in Ubuntu:
  Fix Released

Bug description:
  The Unity dash can fail to display the icon or title from a .desktop
  file correctly if it resides under a directory containing a hyphen
  character.

  As an example (on my 16.04 machine):

  $ cat << EOF > test.desktop
  [Desktop Entry]
  Name=Hyphen test
  Exec=/bin/true
  Type=Application
  Icon=/usr/share/icons/suru/apps/256/dash.png
  EOF

  $ chmod +x test.desktop
  $ mkdir ~/.local/share/applications/hyphen-test
  $ mv test.desktop ~/.local/share/applications/hyphen-test/

  Now, open the dash and search for "hyphen". On my machine, I see the
  correct icon but no title is displayed underneath.

  $ mv ~/.local/share/applications/hyphen-test
  ~/.local/share/applications/hyphen

  Searching for "hyphen" in the dash now shows an entry with the correct
  icon and title (but also still shows the defunct previous entry
  without title).

  The effect of the hyphenated path seems variable. Some apps show the
  wrong icon, some have a missing title, some have both errors.

  The problem only seems to be with hyphens in the directories. Hyphens
  in the file itself are fine. See the screenshot - Might and Magic 4&5
  has had a desktop file installed under a subdirectory with a hyphen,
  whereas Heroes of Might and Magic has a desktop file in the root
  directory but contains a hyphen in the filename. The latter is shown
  correctly, but the desktop files in the former directory are not shown
  properly.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-lens-applications/+bug/1582433/+subscriptions

-- 
Mailing list: https://launchpad.net/~dx-packages
Post to : dx-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dx-packages
More help   : https://help.launchpad.net/ListHelp


[Dx-packages] [Bug 1582433] Re: Dash does not handle .desktop files correctly if there are hyphens in the directory path

2016-06-02 Thread Launchpad Bug Tracker
This bug was fixed in the package unity-lens-applications -
7.1.0+16.10.20160602-0ubuntu1

---
unity-lens-applications (7.1.0+16.10.20160602-0ubuntu1) yakkety; urgency=medium

  [ Andrea Azzarone ]
  * Fallback from pkginfo.application_name in case app is NULL. (LP:
#1582433)

 -- Marco Trevisan (Treviño)   Thu, 02 Jun 2016 01:01:00
+

** Changed in: unity-lens-applications (Ubuntu)
   Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity-lens-applications in Ubuntu.
https://bugs.launchpad.net/bugs/1582433

Title:
  Dash does not handle .desktop files correctly if there are hyphens in
  the directory path

Status in unity-lens-applications package in Ubuntu:
  Fix Released

Bug description:
  The Unity dash can fail to display the icon or title from a .desktop
  file correctly if it resides under a directory containing a hyphen
  character.

  As an example (on my 16.04 machine):

  $ cat << EOF > test.desktop
  [Desktop Entry]
  Name=Hyphen test
  Exec=/bin/true
  Type=Application
  Icon=/usr/share/icons/suru/apps/256/dash.png
  EOF

  $ chmod +x test.desktop
  $ mkdir ~/.local/share/applications/hyphen-test
  $ mv test.desktop ~/.local/share/applications/hyphen-test/

  Now, open the dash and search for "hyphen". On my machine, I see the
  correct icon but no title is displayed underneath.

  $ mv ~/.local/share/applications/hyphen-test
  ~/.local/share/applications/hyphen

  Searching for "hyphen" in the dash now shows an entry with the correct
  icon and title (but also still shows the defunct previous entry
  without title).

  The effect of the hyphenated path seems variable. Some apps show the
  wrong icon, some have a missing title, some have both errors.

  The problem only seems to be with hyphens in the directories. Hyphens
  in the file itself are fine. See the screenshot - Might and Magic 4&5
  has had a desktop file installed under a subdirectory with a hyphen,
  whereas Heroes of Might and Magic has a desktop file in the root
  directory but contains a hyphen in the filename. The latter is shown
  correctly, but the desktop files in the former directory are not shown
  properly.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-lens-applications/+bug/1582433/+subscriptions

-- 
Mailing list: https://launchpad.net/~dx-packages
Post to : dx-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dx-packages
More help   : https://help.launchpad.net/ListHelp


[Dx-packages] [Bug 1582433] Re: Dash does not handle .desktop files correctly if there are hyphens in the directory path

2016-05-19 Thread Andrea Azzarone
** No longer affects: unity (Ubuntu)

** Branch linked: lp:~azzar1/unity-lens-applications/lp-1582433

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity-lens-applications in Ubuntu.
https://bugs.launchpad.net/bugs/1582433

Title:
  Dash does not handle .desktop files correctly if there are hyphens in
  the directory path

Status in unity-lens-applications package in Ubuntu:
  In Progress

Bug description:
  The Unity dash can fail to display the icon or title from a .desktop
  file correctly if it resides under a directory containing a hyphen
  character.

  As an example (on my 16.04 machine):

  $ cat << EOF > test.desktop
  [Desktop Entry]
  Name=Hyphen test
  Exec=/bin/true
  Type=Application
  Icon=/usr/share/icons/suru/apps/256/dash.png
  EOF

  $ chmod +x test.desktop
  $ mkdir ~/.local/share/applications/hyphen-test
  $ mv test.desktop ~/.local/share/applications/hyphen-test/

  Now, open the dash and search for "hyphen". On my machine, I see the
  correct icon but no title is displayed underneath.

  $ mv ~/.local/share/applications/hyphen-test
  ~/.local/share/applications/hyphen

  Searching for "hyphen" in the dash now shows an entry with the correct
  icon and title (but also still shows the defunct previous entry
  without title).

  The effect of the hyphenated path seems variable. Some apps show the
  wrong icon, some have a missing title, some have both errors.

  The problem only seems to be with hyphens in the directories. Hyphens
  in the file itself are fine. See the screenshot - Might and Magic 4&5
  has had a desktop file installed under a subdirectory with a hyphen,
  whereas Heroes of Might and Magic has a desktop file in the root
  directory but contains a hyphen in the filename. The latter is shown
  correctly, but the desktop files in the former directory are not shown
  properly.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-lens-applications/+bug/1582433/+subscriptions

-- 
Mailing list: https://launchpad.net/~dx-packages
Post to : dx-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dx-packages
More help   : https://help.launchpad.net/ListHelp


[Dx-packages] [Bug 1582433] Re: Dash does not handle .desktop files correctly if there are hyphens in the directory path

2016-05-19 Thread Andrea Azzarone
** Also affects: unity-lens-applications (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: unity-lens-applications (Ubuntu)
   Status: New => In Progress

** Changed in: unity-lens-applications (Ubuntu)
 Assignee: (unassigned) => Andrea Azzarone (azzar1)

** Changed in: unity-lens-applications (Ubuntu)
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity-lens-applications in Ubuntu.
https://bugs.launchpad.net/bugs/1582433

Title:
  Dash does not handle .desktop files correctly if there are hyphens in
  the directory path

Status in unity package in Ubuntu:
  In Progress
Status in unity-lens-applications package in Ubuntu:
  In Progress

Bug description:
  The Unity dash can fail to display the icon or title from a .desktop
  file correctly if it resides under a directory containing a hyphen
  character.

  As an example (on my 16.04 machine):

  $ cat << EOF > test.desktop
  [Desktop Entry]
  Name=Hyphen test
  Exec=/bin/true
  Type=Application
  Icon=/usr/share/icons/suru/apps/256/dash.png
  EOF

  $ chmod +x test.desktop
  $ mkdir ~/.local/share/applications/hyphen-test
  $ mv test.desktop ~/.local/share/applications/hyphen-test/

  Now, open the dash and search for "hyphen". On my machine, I see the
  correct icon but no title is displayed underneath.

  $ mv ~/.local/share/applications/hyphen-test
  ~/.local/share/applications/hyphen

  Searching for "hyphen" in the dash now shows an entry with the correct
  icon and title (but also still shows the defunct previous entry
  without title).

  The effect of the hyphenated path seems variable. Some apps show the
  wrong icon, some have a missing title, some have both errors.

  The problem only seems to be with hyphens in the directories. Hyphens
  in the file itself are fine. See the screenshot - Might and Magic 4&5
  has had a desktop file installed under a subdirectory with a hyphen,
  whereas Heroes of Might and Magic has a desktop file in the root
  directory but contains a hyphen in the filename. The latter is shown
  correctly, but the desktop files in the former directory are not shown
  properly.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1582433/+subscriptions

-- 
Mailing list: https://launchpad.net/~dx-packages
Post to : dx-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dx-packages
More help   : https://help.launchpad.net/ListHelp