Bug 152346 - beep notification does not work
Summary: beep notification does not work
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 1.6.6
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-15 11:25 UTC by Maciej Pilichowski
Modified: 2008-06-15 16:24 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Pilichowski 2007-11-15 11:25:30 UTC
Version:            (using KDE KDE 3.5.8)
Installed from:    SuSE RPMs

I set beep event to play beep audio file, I test manually, the audio is played ok, but when I type this in konsole (bash):
echo -e "\a"
there is no sound.
Comment 1 Will Stephenson 2007-11-22 22:19:16 UTC
And in trunk
Comment 2 Robert Knight 2008-01-18 00:34:13 UTC
You need to have the bell mode set to system notification in KDE 3.  Settings -> Bell Mode -> System Notification.

Works correctly in trunk, where 'system notification' is the only available bell mode.
Comment 3 Maciej Pilichowski 2008-01-18 15:46:17 UTC
You mean opposite, right? In order to get beep I have to turn off notifications?

Anyway, no matter what I set it doesn't work. Even the test in KControl does not work.
Comment 4 Robert Knight 2008-01-18 16:04:07 UTC
> You mean opposite, right? In order to get beep I have to turn off notifications? 

I think the default 'beep' uses the notification to play the sound effect anyway.

> Even the test in KControl does not work

To clarify, the sound preview in the "Settings -> Configure Notifications" dialog doesn't work?  In that case, this is a problem elsewhere.

Regards,
Robert.

Comment 5 Maciej Pilichowski 2008-01-18 16:22:57 UTC
Maybe I'll start again :-)

In Konsole
echo -e "\a" 
does not work (there is no beep).

In KControl there is a beep dialog, the test of the beep does not work.

In Konsole setting notification for a beep does not work (but testing the audio for notification work).

Comment 6 Maciej Pilichowski 2008-01-18 16:31:16 UTC
(1) and (2) are related to:
https://bugs.kde.org/show_bug.cgi?id=56903

So the leaves us with the original report -- Konsole does not notify user about beep.
Comment 7 Robert Knight 2008-06-02 08:03:00 UTC
> In KControl there is a beep dialog, the test of the beep does not work. 

In which case I do not think the problem is in Konsole.  The beep code there is very simple - it just calls KNotify to make a beep noise.
Comment 8 Maciej Pilichowski 2008-06-02 11:19:41 UTC
It is not only Konsole problem, I don't have PCspeaker so it is hard to make a "classic" beep. Anyway, the attempt should be recognized and notification should work, right?
Comment 9 Robert Knight 2008-06-14 22:09:55 UTC
> It is not only Konsole problem, I don't have PCspeaker
> so it is hard to make a "classic" beep

You're complaining that you don't get a beep sound when you don't have a speaker?  Of course you won't hear anything.
Comment 10 Maciej Pilichowski 2008-06-14 22:19:02 UTC
Robert, it is not about beep, but beep _notification_.

Beep notification is not done by checking the microphone if there is some beep in PCSpeaker, right? 

I could have as well all audio turned off, but notification about making sound should work.

Besides, what about deaf people -- no matter what hardware they have, they can rely only on notifications (visual I guess).
Comment 11 Bram Schoenmakers 2008-06-15 16:17:02 UTC
Since Robert Knight already closed this bug (and you're disrespecting a developer's decision again, see my email back in April), and since I cannot reproduce the problem, I'm closing this bug.
Comment 12 Maciej Pilichowski 2008-06-15 16:24:49 UTC
Robert closed the bug because of another reason (so it is not disrespecting anybody's decision, but misunderstanding) -- missing pcspeaker is not a reason for notifications not to work (see KControl or SS, I can emulate beep as well).

To clarify your WORKSFORME -- you set up notification about beep in console to play audio file "broken glass" (example) and to flash a screen, then when you type:
echo -e "\a"
there is "broken glass" played and the screen flashes.

Is this correct?