System bell mess

Gary Cramblitt garycramblitt at comcast.net
Mon Feb 28 11:23:27 GMT 2005


On Monday 28 February 2005 03:17 pm, George Staikos wrote:
> On Monday 28 February 2005 04:34, Benjamin Meyer wrote:
> > On Sunday 27 February 2005 4:42 pm, George Staikos wrote:
> > > The whole system bell concept seems to be very broken right now.  The
> > > accessibility module is overriding KDE settings and making things very
> > > confusing.  How do we fix this properly?
> > >
> > > http://bugs.kde.org/show_bug.cgi?id=79108
> >
> > According to the TODO file in kcontrol the one in Sound And Multimedia is
> > slated to be removed for 4.0 when we are allowed to change stuff.
>
>   Ok, but breaking it instead of removing it is hardly acceptable
> behaviour. How do we fix this situation?  Remove the one from the
> accessibility module temporarily?  Make them cooperate?

I have 4 SystemBell settings in my config directory:

kaccessrc
--------------
[Bell]
ArtsBell=false
ArtsBellFile=
SystemBell=true
VisibleBell=false
VisibleBellColor=255,0,0
VisibleBellInvert=true
VisibleBellPause=500

kcmshellrc
---------------
UseSystemBell=true

kcontrolrc
--------------
UseSystemBell=true

kdeglobals
---------------
[General]
UseSystemBell=true

rc file, GUI, code
----------------------------------------------
kaccessrc, Control Center -> Regional and Accessibility -> Accessibility 
kdebase/kcontrol/access/kaccess.cpp

kcontrolrc, Control Center -> Sound & Multimedia -> System Bell, 
kdebase/kcontrol/bell/bell.cpp

kcmshellrc, "kcmshell bell", kdebase/kcontrol/bell/bell.cpp

Note that "kcmshell bell" is the same as Control Center -> Sound & Multimedia 
-> System Bell.  So this appears to be a bug.

I don't know what is reading/writing kdeglobals.

There is also code in kdebase/kcontrol/accessibility/accessibility.cpp that 
seems to read from a "bellrc" file.  Is this code active anymore?

There is also code in kdelibs/kdecore/knotifyclient for UseSystemBell, but I'm 
not sure which rc file this reads/writes (application specific?) or how one 
changes it in the gui.

The setting under Sound & Multimedia -> System Bell is labeled "Use system 
bell instead of system notification".  Is this really the same setting as 
under Regional and Accessibility -> Accessibility, which is labeled "Audible 
Bell / Use system bell"?  The former implies it only affects KNotify stuff.

Is everyone else as confused as I am. :/

-- 
Gary Cramblitt (aka PhantomsDad)
KDE Text-to-Speech Maintainer
http://accessibility.kde.org/developer/kttsd/index.php



More information about the kde-core-devel mailing list