Opened 8 years ago

Last modified 8 years ago

#12886 assigned enhancement

The Sounds preflet is not populated by any sounds, since the sounds folders are not present by default on Haiku.

Reported by: Giova84 Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Preferences/Sounds Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

hrev50440

I'd wished to set some Sounds for some events (eg the startup sound and also sounds for BeShare) but I've found that the drop down menu "Sound file", present inside the Sounds preflet, doesn't shows any sound file (although is possible to manually indicate a sound file by choosing the "other" entry). However from a terminal window I checked these outputs:

finddir B_SYSTEM_SOUNDS_DIRECTORY
finddir B_USER_SOUNDS_DIRECTORY
finddir B_USER_NONPACKAGED_SOUNDS_DIRECTORY
finddir B_SYSTEM_NONPACKAGED_SOUNDS_DIRECTORY

And I see that the sounds folder should be located as following, but non of these are currently present on Haiku:

/boot/system/data/sounds
/boot/home/config/data/sounds
/boot/home/config/non-packaged/data/sounds
/boot/system/non-packaged/data/sounds

For the packaged folders, ok: is possible to create an HPKG which will place the sounds on the system, and for the non-packaged folders an user is free to manually create these folders, but I was thinking to the fact that a newbie might be puzzled by this fact, so would be nice to add by default in Haiku, at least the sounds folders under the non-packaged paths, and maybe to make new users aware of this ability, implement something like "open the sounds folder" inside the Sounds preflet: this addition could be something like this:

http://funkyimg.com/i/2eFxc.png

Change History (3)

comment:1 by humdinger, 8 years ago

Instead of that extra button, the pop-up menu could be populated with the sounds found in the *_SOUNDS_DIRECTORY locations. With "<none>" and "Other..." entries on top.
Maybe it can be a bit sophisticated and show subfolders as submenus in the pop-up.

comment:2 by Giova84, 8 years ago

Hi, I have to admit that such button looks very ugly :-) was a quick and dirty idea of the moment.

Your proposal is far better and clean.

comment:3 by korli, 8 years ago

Owner: changed from korli to nobody
Status: newassigned
Note: See TracTickets for help on using tickets.