Bug 137181 - setVolume can set volume < 0% and > 100%
Summary: setVolume can set volume < 0% and > 100%
Status: RESOLVED WORKSFORME
Alias: None
Product: kscd
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Aaron J. Seigo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-11 02:48 UTC by Heiko Baums
Modified: 2023-01-06 05:22 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Heiko Baums 2006-11-11 02:48:38 UTC
Version:            (using KDE KDE 3.5.5)
Installed from:    Gentoo Packages
Compiler:          gcc 4.1.1 
OS:                Linux

The DCOP function void setVolume(int v) of KsCD can set a volume less than 0% and greater than 100%. These values are at least shown in the display in the main window. The real volume of the sound output is not affected. Means if the display shows a value > 100% then the real volume stays at 100% and if the display shows a value < 0% then the real volume stays at 0%.

This behaviour can be a bit distempering (is it the right word? - Sorry but my English is still not the best. ;-) ) in conjunction with lirc.

I'm not using IRKick. Instead I'm using dcop in the file .lircrc. To set the volume I'm not using the DCOP functions volumeUp and volumeDown but the following commands:
dcop kscd CDPlayer setVolume  $((`dcop kscd CDPlayer getVolume` + 1))
dcop kscd CDPlayer setVolume  $((`dcop kscd CDPlayer getVolume` - 1))

So I can change the volume in 1% steps instead of 5% steps.

It would be great if the volume which is set by void setVolume(int v) could be checked and set to 0% if v is less than 0 and set to 100% if v is greater than 100.
Comment 1 Andrew Crouthamel 2018-11-02 04:23:02 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 2 Andrew Crouthamel 2018-11-16 02:43:40 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version?

Thank you for helping us make KDE software even better for everyone!
Comment 3 Justin Zobel 2022-12-07 00:23:49 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 4 Bug Janitor Service 2022-12-22 05:18:53 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2023-01-06 05:22:47 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!