! 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 !
display tooltip when hovering sliders
Status:
RESOLVED: MOVED
Severity:
enhancement
Product:
Xfce4-mixer
Component:
General

Comments

Description Liv 2010-08-14 20:06:31 CEST
It would be helpful if xfce4-mixer displayed a tooltip with a message similar to "Speaker: 56%", while hovering the level-changing sliders or the associated label, or when changing the levels either using a mouse-click or the scroll-wheel. 

Currently it doesn't and there's no easy way to find the exact current or new sound level; the panel plug-in displays a tooltip only for the mixer track.
Comment 1 Eric Koegel editbugs 2011-12-29 09:11:25 CET
Created attachment 4057 
Adds tooltips for fader, mute, lock, & record buttons.

This patch adds several functions to display the appropriate tooltip. I broke them out into separate functions because they all handle strings that need to be translated. I couldn't find anything about getting the names of the channels from gstreamer (i.e. channel 1 is left, 2 is right, 3 is back) or anything like that so I set it to display the number. Let me know if theres any way to improve this code and I will.
Comment 2 Eric Koegel editbugs 2011-12-29 14:36:59 CET
Created attachment 4060 
Adds tooltips for fader, mute, lock, & record buttons.

I'm an idiot, per the docs that I didn't carefully read: "A channel is said to be a mono-stream inside this track. A stereo track thus contains two channels." Fixed the patch to print the left/right channel when it's a stereo track.
Comment 3 Eric Koegel editbugs 2012-03-11 08:02:45 CET
Created attachment 4254 
Add tooltips for the fader, mute, lock, & record buttons.

Cleaned up the code formatting some to be more consistent.
Also fixed a bug where it said it was always recording.
Comment 4 Eric Koegel editbugs 2013-12-16 09:59:22 CET
Created attachment 5265 
Add tooltips for the fader, mute, lock, & record buttons

Same patch, updated to apply against git master (commit cfcbabb44104af0568b32ae7a88af31bf16dab25)
Comment 5 Guido Berhoerster 2014-07-25 12:54:10 CEST
(In reply to Eric Koegel from comment #2)
> Created attachment 4060 
> Adds tooltips for fader, mute, lock, & record buttons.
> 
> I'm an idiot, per the docs that I didn't carefully read: "A channel is said
> to be a mono-stream inside this track. A stereo track thus contains two
> channels." Fixed the patch to print the left/right channel when it's a
> stereo track.

I don't think the number of channels per track is limited to two.
Comment 6 Git Bot editbugs 2020-05-27 12:41:49 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/2.

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 #6637

Reported by:
Liv
Reported on: 2010-08-14
Last modified on: 2020-05-27

People

Assignee:
Jannis Pohlmann
CC List:
2 users

Version

Attachments

Additional information