! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Feature request : set the track whose volume is changed by the mixer plugin d...
Status:
RESOLVED: MOVED
Severity:
trivial
Product:
Xfce4-mixer
Component:
General

Comments

Description Steve Dodier-Lazaro editbugs 2009-05-28 19:58:12 CEST
Created attachment 2374 
Mockup (with french locale, sorry :p)

Hello,

I'm filling this bug report after a discussion with Jannis at UDS. I think the "current" mixer track should be stored in xfce4-mixer, and retrieved by the mixer plugin via xfconf, because :

- It is an useful step for a future CLI for xfce4-mixer (giving the possibility to manage the volume of this current track without naming it when using the CLI), and it allows linking the XF86Audio buttons to the mixer's (future) CLI amongst default keyboard shortcuts (and without having to use aumix/amixer).

This report is mostly for recording the progress made on this matter.

Cordially, SD.
Comment 1 Steve Dodier-Lazaro editbugs 2010-01-17 22:19:54 CET
Created attachment 2785 
A patch doing the first part of the job

The patch I'm attaching does the following thing:

- it changes sound-card into active-card in the XfceMixerPreferences
- it adds active-track to the XfceMixerPreferences
- it adds an XfceMixerTrackCombo to the XfceMixerWindow and connects it to the active-track preference

This makes the mixer's GUI work fine with xfce4-volumed. However, another step is needed for the panel plugin, which still has it's own GUI. I'm not doing anything yet because I would like to know what you'd prefer to have for it, Jannis.

Should I just remove the card/track combos from the plugin dialog and connect it to the xfconf channel? It's possible to leave the combo boxes in the dialog, but it duplicates the places where to set the main channel, which may not be so great.

That would leave the plugin dialog with only an entry for the command to type on left-click (which I have never changed but may be useful for some PA users who prefer using the PA mixer).

Let me know if this is a viable solution and I will finish the patch ASAP.
Comment 2 Steve Dodier-Lazaro editbugs 2010-01-30 14:08:38 CET
Created attachment 2805 
A complete patch

This patch now makes the panel plugin use Xfconf for the card and track name (but it leaves the rc file for the command setting).

This includes a hard dependency on xfconf for the panel plugin. It won't run if it can't get the channel (just as the mixer would not run either). I don't know if this is acceptable (ie., is it ok for a panel plugin to depend on xfconf), but without the xfconf parameters, the panel plugin would more or less be useless anyway.

Let me know if something is missing to the patch, or if something looks wrong.
Comment 3 Git Bot editbugs 2020-05-27 12:41:33 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/apps/xfce4-mixer/-/issues/1.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #5406

Reported by:
Steve Dodier-Lazaro
Reported on: 2009-05-28
Last modified on: 2020-05-27

People

Assignee:
Jannis Pohlmann
CC List:
0 users

Version

Attachments

Mockup (with french locale, sorry :p) (634.48 KB, image/png)
2009-05-28 19:58 CEST , Steve Dodier-Lazaro
no flags
A patch doing the first part of the job (6.97 KB, patch)
2010-01-17 22:19 CET , Steve Dodier-Lazaro
no flags
A complete patch (22.69 KB, patch)
2010-01-30 14:08 CET , Steve Dodier-Lazaro
no flags

Additional information