[Desktop-packages] [Bug 2038783] Re: Exit code of locations mount script is not respecting error

2023-11-23 Thread Launchpad Bug Tracker
This bug was fixed in the package gnome-shell-extension-ubuntu-dock -
87ubuntu2

---
gnome-shell-extension-ubuntu-dock (87ubuntu2) mantic; urgency=medium

  [ Marco Trevisan (Treviño) ]
  * locationsWorker: Exit with the main script exit code (LP: #2038783)

  [ Stuart Hayhurst ]
  * appIcons: Use Mtk.Rectangle instead of Meta.Rectangle (LP: #2034664)

 -- Marco Trevisan (Treviño)   Mon, 09 Oct 2023
03:04:54 +0200

** Changed in: gnome-shell-extension-ubuntu-dock (Ubuntu Mantic)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-shell-extension-ubuntu-dock in
Ubuntu.
https://bugs.launchpad.net/bugs/2038783

Title:
  Exit code of locations mount script is not respecting error

Status in gnome-shell-extension-ubuntu-dock package in Ubuntu:
  Fix Released
Status in gnome-shell-extension-ubuntu-dock source package in Mantic:
  Fix Released

Bug description:
  [ Impact ]

  When mounting an external location a script is used to get the current
  default app for a type, its return error is parsed by the dock to
  provide users a feedback, but the returned code is not valid in case
  of error.

  [ Test case ]

  Run:
    gjs -m 
/usr/share/gnome-shell/extensions/ubuntu-d...@ubuntu.com/locationsWorker.js 
handler file:///foo/bar/baz
    echo $?

  An error should be shown and the return code should be 1

  Doing instead

    gjs -m 
/usr/share/gnome-shell/extensions/ubuntu-d...@ubuntu.com/locationsWorker.js 
handler file://$HOME
    echo $?

  The file manager desktop-id should be printed and the script should
  return 0.

  [ Regression Potential ]

  Some locations may not have a default handler and so not being
  launched

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-ubuntu-dock/+bug/2038783/+subscriptions


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


[Desktop-packages] [Bug 2038783] Re: Exit code of locations mount script is not respecting error

2023-11-22 Thread Jeremy Bícha
I successfully completed the test case with gnome-shell-extension-
ubuntu-dock 87ubuntu2 on Ubuntu 23.10.

** Tags removed: verification-needed verification-needed-mantic
** Tags added: verification-done verification-done-mantic

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-shell-extension-ubuntu-dock in
Ubuntu.
https://bugs.launchpad.net/bugs/2038783

Title:
  Exit code of locations mount script is not respecting error

Status in gnome-shell-extension-ubuntu-dock package in Ubuntu:
  Fix Released
Status in gnome-shell-extension-ubuntu-dock source package in Mantic:
  Fix Committed

Bug description:
  [ Impact ]

  When mounting an external location a script is used to get the current
  default app for a type, its return error is parsed by the dock to
  provide users a feedback, but the returned code is not valid in case
  of error.

  [ Test case ]

  Run:
    gjs -m 
/usr/share/gnome-shell/extensions/ubuntu-d...@ubuntu.com/locationsWorker.js 
handler file:///foo/bar/baz
    echo $?

  An error should be shown and the return code should be 1

  Doing instead

    gjs -m 
/usr/share/gnome-shell/extensions/ubuntu-d...@ubuntu.com/locationsWorker.js 
handler file://$HOME
    echo $?

  The file manager desktop-id should be printed and the script should
  return 0.

  [ Regression Potential ]

  Some locations may not have a default handler and so not being
  launched

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-ubuntu-dock/+bug/2038783/+subscriptions


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


[Desktop-packages] [Bug 2038783] Re: Exit code of locations mount script is not respecting error

2023-11-22 Thread Treviño
** Description changed:

  [ Impact ]
  
  When mounting an external location a script is used to get the current
  default app for a type, its return error is parsed by the dock to
  provide users a feedback, but the returned code is not valid in case of
  error.
  
  [ Test case ]
  
  Run:
    gjs -m 
/usr/share/gnome-shell/extensions/ubuntu-d...@ubuntu.com/locationsWorker.js 
handler file:///foo/bar/baz
    echo $?
  
- An error should be shown and the return code should be 15
+ An error should be shown and the return code should be 1
  
  Doing instead
  
    gjs -m 
/usr/share/gnome-shell/extensions/ubuntu-d...@ubuntu.com/locationsWorker.js 
handler file://$HOME
    echo $?
  
  The file manager desktop-id should be printed and the script should
  return 0.
  
  [ Regression Potential ]
  
  Some locations may not have a default handler and so not being launched

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-shell-extension-ubuntu-dock in
Ubuntu.
https://bugs.launchpad.net/bugs/2038783

Title:
  Exit code of locations mount script is not respecting error

Status in gnome-shell-extension-ubuntu-dock package in Ubuntu:
  Fix Released
Status in gnome-shell-extension-ubuntu-dock source package in Mantic:
  Fix Committed

Bug description:
  [ Impact ]

  When mounting an external location a script is used to get the current
  default app for a type, its return error is parsed by the dock to
  provide users a feedback, but the returned code is not valid in case
  of error.

  [ Test case ]

  Run:
    gjs -m 
/usr/share/gnome-shell/extensions/ubuntu-d...@ubuntu.com/locationsWorker.js 
handler file:///foo/bar/baz
    echo $?

  An error should be shown and the return code should be 1

  Doing instead

    gjs -m 
/usr/share/gnome-shell/extensions/ubuntu-d...@ubuntu.com/locationsWorker.js 
handler file://$HOME
    echo $?

  The file manager desktop-id should be printed and the script should
  return 0.

  [ Regression Potential ]

  Some locations may not have a default handler and so not being
  launched

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-ubuntu-dock/+bug/2038783/+subscriptions


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


[Desktop-packages] [Bug 2038783] Re: Exit code of locations mount script is not respecting error

2023-11-21 Thread Treviño
** Description changed:

  [ Impact ]
  
  When mounting an external location a script is used to get the current
  default app for a type, its return error is parsed by the dock to
  provide users a feedback, but the returned code is not valid in case of
  error.
  
  [ Test case ]
  
  Run:
-   gjs -m 
/usr/share/gnome-shell/extensions/ubuntu-d...@ubuntu.com/locationsWorker.js 
/foo/bar/baz
-   echo $?
+   gjs -m 
/usr/share/gnome-shell/extensions/ubuntu-d...@ubuntu.com/locationsWorker.js 
handler /foo/bar/baz
+   echo $?
  
  An error should be shown and the return code should be 15
  
  Doing instead
  
-   gjs -m 
/usr/share/gnome-shell/extensions/ubuntu-d...@ubuntu.com/locationsWorker.js 
$HOME
-   echo $?
+   gjs -m 
/usr/share/gnome-shell/extensions/ubuntu-d...@ubuntu.com/locationsWorker.js 
handler $HOME
+   echo $?
  
  The file manager desktop-id should be printed and the script should
  return 0.
  
  [ Regression Potential ]
  
  Some locations may not have a default handler and so not being launched

** Description changed:

  [ Impact ]
  
  When mounting an external location a script is used to get the current
  default app for a type, its return error is parsed by the dock to
  provide users a feedback, but the returned code is not valid in case of
  error.
  
  [ Test case ]
  
  Run:
-   gjs -m 
/usr/share/gnome-shell/extensions/ubuntu-d...@ubuntu.com/locationsWorker.js 
handler /foo/bar/baz
+   gjs -m 
/usr/share/gnome-shell/extensions/ubuntu-d...@ubuntu.com/locationsWorker.js 
handler file:///foo/bar/baz
    echo $?
  
  An error should be shown and the return code should be 15
  
  Doing instead
  
-   gjs -m 
/usr/share/gnome-shell/extensions/ubuntu-d...@ubuntu.com/locationsWorker.js 
handler $HOME
+   gjs -m 
/usr/share/gnome-shell/extensions/ubuntu-d...@ubuntu.com/locationsWorker.js 
handler file://$HOME
    echo $?
  
  The file manager desktop-id should be printed and the script should
  return 0.
  
  [ Regression Potential ]
  
  Some locations may not have a default handler and so not being launched

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-shell-extension-ubuntu-dock in
Ubuntu.
https://bugs.launchpad.net/bugs/2038783

Title:
  Exit code of locations mount script is not respecting error

Status in gnome-shell-extension-ubuntu-dock package in Ubuntu:
  Fix Released
Status in gnome-shell-extension-ubuntu-dock source package in Mantic:
  Fix Committed

Bug description:
  [ Impact ]

  When mounting an external location a script is used to get the current
  default app for a type, its return error is parsed by the dock to
  provide users a feedback, but the returned code is not valid in case
  of error.

  [ Test case ]

  Run:
    gjs -m 
/usr/share/gnome-shell/extensions/ubuntu-d...@ubuntu.com/locationsWorker.js 
handler file:///foo/bar/baz
    echo $?

  An error should be shown and the return code should be 15

  Doing instead

    gjs -m 
/usr/share/gnome-shell/extensions/ubuntu-d...@ubuntu.com/locationsWorker.js 
handler file://$HOME
    echo $?

  The file manager desktop-id should be printed and the script should
  return 0.

  [ Regression Potential ]

  Some locations may not have a default handler and so not being
  launched

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-ubuntu-dock/+bug/2038783/+subscriptions


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


[Desktop-packages] [Bug 2038783] Re: Exit code of locations mount script is not respecting error

2023-10-25 Thread Launchpad Bug Tracker
This bug was fixed in the package gnome-shell-extension-ubuntu-dock -
87ubuntu2

---
gnome-shell-extension-ubuntu-dock (87ubuntu2) mantic; urgency=medium

  [ Marco Trevisan (Treviño) ]
  * locationsWorker: Exit with the main script exit code (LP: #2038783)

  [ Stuart Hayhurst ]
  * appIcons: Use Mtk.Rectangle instead of Meta.Rectangle (LP: #2034664)

 -- Marco Trevisan (Treviño)   Mon, 09 Oct 2023
03:04:54 +0200

** Changed in: gnome-shell-extension-ubuntu-dock (Ubuntu)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-shell-extension-ubuntu-dock in
Ubuntu.
https://bugs.launchpad.net/bugs/2038783

Title:
  Exit code of locations mount script is not respecting error

Status in gnome-shell-extension-ubuntu-dock package in Ubuntu:
  Fix Released
Status in gnome-shell-extension-ubuntu-dock source package in Mantic:
  Fix Committed

Bug description:
  [ Impact ]

  When mounting an external location a script is used to get the current
  default app for a type, its return error is parsed by the dock to
  provide users a feedback, but the returned code is not valid in case
  of error.

  [ Test case ]

  Run:
gjs -m 
/usr/share/gnome-shell/extensions/ubuntu-d...@ubuntu.com/locationsWorker.js 
/foo/bar/baz
echo $?

  An error should be shown and the return code should be 15

  Doing instead

gjs -m 
/usr/share/gnome-shell/extensions/ubuntu-d...@ubuntu.com/locationsWorker.js 
$HOME
echo $?

  The file manager desktop-id should be printed and the script should
  return 0.

  [ Regression Potential ]

  Some locations may not have a default handler and so not being
  launched

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-ubuntu-dock/+bug/2038783/+subscriptions


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


[Desktop-packages] [Bug 2038783] Re: Exit code of locations mount script is not respecting error

2023-10-19 Thread Andreas Hasenack
This bug is ready for verification. Due to the status mantic was in when
the package was accepted, the tooling failed to add the template comment
to this bug, and add the tags, and I did all of that manually now.

** Also affects: gnome-shell-extension-ubuntu-dock (Ubuntu Mantic)
   Importance: Medium
 Assignee: Marco Trevisan (Treviño) (3v1n0)
   Status: In Progress

** Changed in: gnome-shell-extension-ubuntu-dock (Ubuntu Mantic)
   Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-mantic

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-shell-extension-ubuntu-dock in
Ubuntu.
https://bugs.launchpad.net/bugs/2038783

Title:
  Exit code of locations mount script is not respecting error

Status in gnome-shell-extension-ubuntu-dock package in Ubuntu:
  Fix Committed
Status in gnome-shell-extension-ubuntu-dock source package in Mantic:
  Fix Committed

Bug description:
  [ Impact ]

  When mounting an external location a script is used to get the current
  default app for a type, its return error is parsed by the dock to
  provide users a feedback, but the returned code is not valid in case
  of error.

  [ Test case ]

  Run:
gjs -m 
/usr/share/gnome-shell/extensions/ubuntu-d...@ubuntu.com/locationsWorker.js 
/foo/bar/baz
echo $?

  An error should be shown and the return code should be 15

  Doing instead

gjs -m 
/usr/share/gnome-shell/extensions/ubuntu-d...@ubuntu.com/locationsWorker.js 
$HOME
echo $?

  The file manager desktop-id should be printed and the script should
  return 0.

  [ Regression Potential ]

  Some locations may not have a default handler and so not being
  launched

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-ubuntu-dock/+bug/2038783/+subscriptions


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


[Desktop-packages] [Bug 2038783] Re: Exit code of locations mount script is not respecting error

2023-10-09 Thread Utkarsh Gupta
Hey, gnome-shell-extension-ubuntu-dock is not something that we (release
team) are planning to accept ahead of Mantic release, so we're going to
let it be in the unapproved queue and consider this for a 0-day SRU.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-shell-extension-ubuntu-dock in
Ubuntu.
https://bugs.launchpad.net/bugs/2038783

Title:
  Exit code of locations mount script is not respecting error

Status in gnome-shell-extension-ubuntu-dock package in Ubuntu:
  In Progress

Bug description:
  [ Impact ]

  When mounting an external location a script is used to get the current
  default app for a type, its return error is parsed by the dock to
  provide users a feedback, but the returned code is not valid in case
  of error.

  [ Test case ]

  Run:
gjs -m 
/usr/share/gnome-shell/extensions/ubuntu-d...@ubuntu.com/locationsWorker.js 
/foo/bar/baz
echo $?

  An error should be shown and the return code should be 15

  Doing instead

gjs -m 
/usr/share/gnome-shell/extensions/ubuntu-d...@ubuntu.com/locationsWorker.js 
$HOME
echo $?

  The file manager desktop-id should be printed and the script should
  return 0.

  [ Regression Potential ]

  Some locations may not have a default handler and so not being
  launched

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-ubuntu-dock/+bug/2038783/+subscriptions


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