sendCtrlAltDelete is not defined

Bug #1926455 reported by Eric Desrochers
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
spice-html5 (Debian)
Fix Released
Unknown
spice-html5 (Ubuntu)
Fix Released
Medium
Eric Desrochers
Bionic
Fix Released
Medium
Unassigned
Focal
Fix Released
Medium
Eric Desrochers
Groovy
Fix Released
Medium
Eric Desrochers
Hirsute
Fix Released
Medium
Eric Desrochers
Impish
Fix Released
Medium
Eric Desrochers

Bug Description

[Impact]

CTRL-ALT-DEL button doesn't work.

When clicking on 'Send CTRL-ALT-DEL' button and have devtools open, you can see the following:

"Uncaught ReferenceError: sendCtrlAltDel is not defined
onclick https://<IP_ADDR>:6082/spice_auto.html?token=8b703d0c-4519-436a-aa6f-3da898ab4754&title=cirrostest(a3d34978-ff82-4548-8703-7efa5a72bf56)"

See attachment: "spice-devtools-console" for screenshot.

Bionic is not affected. Only starting w/ focal onwards.

[Test Plan]

* Deploy a OpenStack env w/ Horizon under Focal and onwards.
  ** (If deployed w/ juju):
     $ juju config nova-cloud-controller console-access-protocol=spice
* Launch an instance
* Access the instance console (using Horizon dashboard)
* Click 'Send CTRL-ALT-DEL'

[Where problem could occur]

None expected, the fix only focuses on "ctrl-alt-del" which doesn't work as we speak. Worse case the situation will remain the same and/or will be isolated to this functionnality only.

[Other information]

* I have reported a bug in Debian in order to kindly ask them to update spice-html5 to version 0.3.0 (I might do it myself if I have time) so that 'impish' will then be able to sync or merge from them:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=988110

* Upstream:
  https://gitlab.freedesktop.org/spice/spice-html5/-/commit/56ddb3005e39a9e76670fec9676e667d44167bf3
  https://gitlab.freedesktop.org/spice/spice-html5/-/commit/1cc79873609f856d490d3d0ad564f9d2c1708050

Eric Desrochers (slashd)
tags: added: sts
Eric Desrochers (slashd)
summary: - sendCtrlAltDelete has an undefined reference to the spice connection
- object
+ sendCtrlAltDelete is not defined
description: updated
tags: added: seg
Changed in spice-html5 (Ubuntu Bionic):
status: New → Fix Released
description: updated
description: updated
description: updated
Revision history for this message
Eric Desrochers (slashd) wrote :

Test package can be found in:

sudo add-apt-repository ppa:slashd/sf309411
sudo apt-get update
sudo apt-get install spice-html5 -y

2 of my co-workers are in the middle of testing the test package as we speak.

- Eric

Eric Desrochers (slashd)
description: updated
description: updated
description: updated
Eric Desrochers (slashd)
description: updated
Eric Desrochers (slashd)
description: updated
description: updated
description: updated
Eric Desrochers (slashd)
description: updated
Eric Desrochers (slashd)
Changed in spice-html5 (Ubuntu Impish):
status: New → In Progress
description: updated
description: updated
Eric Desrochers (slashd)
Changed in spice-html5 (Ubuntu Impish):
importance: Undecided → Low
Changed in spice-html5 (Ubuntu Hirsute):
importance: Undecided → Medium
Changed in spice-html5 (Ubuntu Impish):
importance: Low → Medium
Changed in spice-html5 (Ubuntu Focal):
importance: Undecided → Medium
Changed in spice-html5 (Ubuntu Bionic):
importance: Undecided → Medium
Changed in spice-html5 (Ubuntu Groovy):
importance: Undecided → Medium
description: updated
Changed in spice-html5 (Debian):
status: Unknown → New
Eric Desrochers (slashd)
Changed in spice-html5 (Ubuntu Impish):
assignee: nobody → Eric Desrochers (slashd)
Changed in spice-html5 (Ubuntu Hirsute):
assignee: nobody → Eric Desrochers (slashd)
Changed in spice-html5 (Ubuntu Groovy):
assignee: nobody → Eric Desrochers (slashd)
Changed in spice-html5 (Ubuntu Focal):
assignee: nobody → Eric Desrochers (slashd)
status: New → In Progress
Changed in spice-html5 (Ubuntu Groovy):
status: New → In Progress
Changed in spice-html5 (Ubuntu Hirsute):
status: New → In Progress
Revision history for this message
Pedro Victor Lourenço Fragola (pedrovlf) wrote :

After doing the test with the test package the reboot worked perfectly with the button => "Ctrl+alt+del"

ii spice-html5 0.2.2-0ubuntu2+testpkg20210505sf309411b1 all Spice Web client which runs entirely within a modern browser

Revision history for this message
Eric Desrochers (slashd) wrote :

[Impish]

I have uploaded the fixes in current development release, but I would rather see Debian bump to 0.3.0 and us, Ubuntu, sync/merge from them before impish becomes stable.

The goal for now, is to unblock the SRU as having the fix in devel release is a requirement.

- Eric

description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package spice-html5 - 0.2.2-0ubuntu3

---------------
spice-html5 (0.2.2-0ubuntu3) impish; urgency=medium

  * d/p/lp1926455-01-add-sc-to-send-ctr-alt-del.patch
  * d/p/lp1926455-02-add-ctrl-alt-del-with-associated-js-eventlistener.patch
    - Fixing 'Send CTRL-ALT-DEL' button which doesn't work. (LP: #1926455)

 -- Eric Desrochers <email address hidden> Thu, 06 May 2021 14:07:27 -0400

Changed in spice-html5 (Ubuntu Impish):
status: In Progress → Fix Released
Revision history for this message
Eric Desrochers (slashd) wrote :

[sts-sponsors]

Sponsored and dput in the upload queues for H/G/F.
It is now waiting for the SRU verification team to approve the uploads for the proposed package to start building.

- Eric

Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello Eric, or anyone else affected,

Accepted spice-html5 into hirsute-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/spice-html5/0.2.2-0ubuntu2.21.04.1 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 on 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, what testing has been performed on the package and change the tag from verification-needed-hirsute to verification-done-hirsute. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-hirsute. In either case, without details of your testing we will not be able to proceed.

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

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in spice-html5 (Ubuntu Hirsute):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-hirsute
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello Eric, or anyone else affected,

Accepted spice-html5 into groovy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/spice-html5/0.2.2-0ubuntu2.20.10.1 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 on 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, what testing has been performed on the package and change the tag from verification-needed-groovy to verification-done-groovy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-groovy. In either case, without details of your testing we will not be able to proceed.

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

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in spice-html5 (Ubuntu Groovy):
status: In Progress → Fix Committed
tags: added: verification-needed-groovy
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello Eric, or anyone else affected,

Accepted spice-html5 into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/spice-html5/0.2.2-0ubuntu2.20.04.1 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 on 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, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

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

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in spice-html5 (Ubuntu Focal):
status: In Progress → Fix Committed
tags: added: verification-needed-focal
Revision history for this message
Pedro Victor Lourenço Fragola (pedrovlf) wrote :

I tested the focal-proposed package:

ii spice-html5 0.2.2-0ubuntu2.20.04.1 all Spice Web client which runs entirely within a modern browser

After installing the package it was possible to use the "Ctrl+Alt+Del" button successfully.

Eric Desrochers (slashd)
tags: added: verification-done-focal
removed: verification-needed-focal
Revision history for this message
Eric Desrochers (slashd) wrote :

[VERIFICATION HIRSUTE/GROOVY]

I tested the -proposed packages:

After installing the package it was possible to use the "Ctrl+Alt+Del" button successfully.

tags: added: verification-done-groovy verification-done-hirsute
removed: verification-needed-groovy verification-needed-hirsute
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package spice-html5 - 0.2.2-0ubuntu2.21.04.1

---------------
spice-html5 (0.2.2-0ubuntu2.21.04.1) hirsute; urgency=medium

  * d/p/lp1926455-01-add-sc-to-send-ctr-alt-del.patch
  * d/p/lp1926455-02-add-ctrl-alt-del-with-associated-js-eventlistener.patch
    - Fixing 'Send CTRL-ALT-DEL' button which doesn't work. (LP: #1926455)

 -- Eric Desrochers <email address hidden> Tue, 11 May 2021 08:07:33 -0400

Changed in spice-html5 (Ubuntu Hirsute):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for spice-html5 has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package spice-html5 - 0.2.2-0ubuntu2.20.10.1

---------------
spice-html5 (0.2.2-0ubuntu2.20.10.1) groovy; urgency=medium

  * d/p/lp1926455-01-add-sc-to-send-ctr-alt-del.patch
  * d/p/lp1926455-02-add-ctrl-alt-del-with-associated-js-eventlistener.patch
    - Fixing 'Send CTRL-ALT-DEL' button which doesn't work. (LP: #1926455)

 -- Eric Desrochers <email address hidden> Tue, 11 May 2021 08:10:29 -0400

Changed in spice-html5 (Ubuntu Groovy):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package spice-html5 - 0.2.2-0ubuntu2.20.04.1

---------------
spice-html5 (0.2.2-0ubuntu2.20.04.1) focal; urgency=medium

  * d/p/lp1926455-01-add-sc-to-send-ctr-alt-del.patch
  * d/p/lp1926455-02-add-ctrl-alt-del-with-associated-js-eventlistener.patch
    - Fixing 'Send CTRL-ALT-DEL' button which doesn't work. (LP: #1926455)

 -- Eric Desrochers <email address hidden> Tue, 11 May 2021 08:12:23 -0400

Changed in spice-html5 (Ubuntu Focal):
status: Fix Committed → Fix Released
Changed in spice-html5 (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.