Bug 6129 - Web Access does not make any sound when a bell/beep is expected
Summary: Web Access does not make any sound when a bell/beep is expected
Status: REOPENED
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Web Access (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Samuel Mannehed
URL:
Keywords: upstream
Depends on:
Blocks: 6132
  Show dependency treegraph
 
Reported: 2017-01-10 13:33 CET by Samuel Mannehed
Modified: 2023-09-12 15:56 CEST (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments

Description Samuel Mannehed cendio 2017-01-10 13:33:25 CET
For example, when pressing backspace in an empty terminal prompt users normally expect to hear a beep (bell). This is not supported in the HTML5 client.

This has been implemented in upstream noVNC: https://github.com/novnc/noVNC/pull/665
Comment 1 Pierre Ossman cendio 2017-01-10 14:58:25 CET
Note though that most users will most likely not be affected by this as keyboard bell is rerouted to PulseAudio with modern applications.
Comment 3 Samuel Mannehed cendio 2017-02-03 16:07:36 CET
This is fixed now.
Comment 4 Samuel Mannehed cendio 2017-02-03 16:37:04 CET
Doesn't work on Android or iOS. Does work on Linux, Windows, ChromeOS and MacOS.
Comment 5 Samuel Mannehed cendio 2017-02-06 10:14:13 CET
(In reply to comment #4)
> Doesn't work on Android or iOS. Does work on Linux, Windows, ChromeOS and
> MacOS.

Does actually work in Firefox on Android as well. The problem remains in Safari, Firefox and Chrome on iOS and in Chrome on Android.

When debugging iOS and manually try to play the bell, we get a NotAllowedError. Probably because the browser requires audio to be initiated from a user-action.

https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/play
Comment 6 Samuel Mannehed cendio 2017-02-06 10:32:23 CET
https://bugs.chromium.org/p/chromium/issues/detail?id=178297

The Chrome developers will get back 2017-02-20 with a new decision w.r.t this.

Moving to '---'.
Comment 7 Samuel Mannehed cendio 2023-09-12 15:56:32 CEST
(In reply to Pierre Ossman from comment #1)
> Note though that most users will most likely not be affected by this as
> keyboard bell is rerouted to PulseAudio with modern applications.

Because of this, we need to solve both this bug and bug 4822 to ensure users hear the BEEP.

Note You need to log in before you can comment on or make changes to this bug.