mate-desktop / mate-media

Media tools for MATE
https://mate-desktop.org
GNU General Public License v2.0
19 stars 25 forks source link

The sound theme is lost when we re-open the sound controls window #67

Closed Deuchnord closed 7 years ago

Deuchnord commented 9 years ago

On Arch Linux, when I set the sound theme in the volume controls window, it is lost after re-opening this window. I don't know if this happens on the other distributions :-/

Reproduction:

  1. Open the volume controls window
  2. In the first tab, set a sound theme (for instance: Default)
  3. Close the volume controls window
  4. Just for the test, make it play the default sound. For instance, open a terminal and check there is sound when you hint the Tab button of your keyboard
  5. Re-open the volume controls window: the sound theme has been reset to No sound

direwolfie commented 8 years ago

Have a similar issue as mentioned above. With 2 additions -

  1. The Sound theme continues to work (on second try), but only for volume controls (when changing volume). And not in other places like hitting Tab in the terminal. The interface still shows that the effects are off and sound is 0 after closing and opening.
  2. The "Alert volume" in the same tab (Sound effects), if changed, will reset to 0. It also does not change the volume of the "Sound theme" when moved.

Running Linux Mint 17.2 x64, MATE 1.10.2. Also tested this on Linux Mint 17.3 x64 Beta, MATE 1.12.0. Has the same issue.

direwolfie commented 8 years ago

Checked this issue on Debian Jessie x32 MATE 1.8.1. No such problem there.

@Deuchnord It seems that hardly anyone uses system sounds in MATE, he he.. tbh, I only found out about this when I needed to enable notification sounds for Thunderbird. Are you still having this problem on Arch?

Deuchnord commented 8 years ago

Sorry, I completely forgot this issue…

It seems my problem has gone :)

raveit65 commented 8 years ago

...so we can close the report?

raveit65 commented 8 years ago

btw. a lot of probs with pulsaudio can be solve with disable flat volumes in /etc/pulse/daemon.conf

flat-volumes = no
Deuchnord commented 8 years ago

...so we can close the report? https://github.com/mate-desktop/mate-media/issues/67#issuecomment-159984182

Yes, we can :)

btw. a lot of probs with pulsaudio can be solve with disable flat volumes in /etc/pulse/daemon.conf

flat-volumes = no

https://github.com/mate-desktop/mate-media/issues/67#issuecomment-159985047

What does this line do exactly?

direwolfie commented 8 years ago

@Deuchnord Here is a good explanation - Flat-volumes: This is that annoying thing that Windows (and now, PulseAudio, by default) does, where turning up the volume in an application will increase the master system volume alongside it. This has the side-effect that any application which sets its own volume can commandeer the master volume of your system. (Taken from here.) So it basically disables this "feature".

@raveit65 I did disable flat-volumes on my Debian system (which doesn't have this problem). But thats only because it allowed all media players to control the master volume. I don't understand why would this happen only with "Sound Effects" volume and settings, and what is controlling it? Anyway, I'll try this solution tomorrow on the Linux Mint system (don't have it now) and get back to you.

raveit65 commented 8 years ago

I did disable flat-volumes on my Debian system (which doesn't have this problem). But thats only because it allowed all media players to control the master volume. I don't understand why would this happen only with "Sound Effects" volume and settings, and what is controlling it? Anyway, I'll try this solution tomorrow on the Linux Mint system (don't have it now) and get back to you.

This was more a general hint for better handling pulseaudio ;) Here on fedora systems i don't have a problem with loading a sound theme.

direwolfie commented 8 years ago

This was more a general hint for better handling pulseaudio ;) Here on fedora systems i don't have a problem with loading a sound theme.

Yeah, no idea why Debian would have it enabled by default... But Linux Mint/Ubuntu has this disabled, and still this bug is a problem even on a fresh install.

direwolfie commented 8 years ago

Yes, we can :)

@Deuchnord Are you sure that you do not have this problem anymore? I just did a fresh install of Antegros x64 running MATE 1.12.0 on a virtual machine. And it has this problem...

Deuchnord commented 8 years ago

@direwolfie really sorry, I confirm I don't have this problem anymore :-/ I didn't do anything, looked like the issue had been solved after an update (probably those which changed the titles of the menu bar)…

direwolfie commented 8 years ago

@Deuchnord You are right. I can see that choosing the "Sound theme" got fixed in Arch. But when I move "Alert volume" slider, it gets reset to zero every time. Please check this if its not too much trouble.

Deuchnord commented 8 years ago

I'm sorry @direwolfie, I tested the problem you mentioned, but not having problem :/

direwolfie commented 8 years ago

I'm sorry @direwolfie, I tested the problem you mentioned, but not having problem :/

Understood. Probably got fixed in the future versions and/or versions of dependencies.