Bug 457087 - When using track-pad scrolling for the adjustment, volume is being shown as huge precision decimal numbers instead of a whole number
Summary: When using track-pad scrolling for the adjustment, volume is being shown as h...
Status: REOPENED
Alias: None
Product: Haruna
Classification: Applications
Component: generic (show other bugs)
Version: 0.8.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: george fb
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-24 17:41 UTC by mawabef799
Modified: 2023-11-23 10:38 UTC (History)
1 user (show)

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


Attachments
See the volume being show as a large precision decimal number instead of a whole number (26.45 KB, image/png)
2022-07-24 17:41 UTC, mawabef799
Details
Haruna 0.12.3 (858.55 KB, image/png)
2023-11-23 10:33 UTC, popov895
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mawabef799 2022-07-24 17:41:56 UTC
Created attachment 150881 [details]
See the volume being show as a large precision decimal number instead of a whole number

SUMMARY

When I use the trackpad scrolling for changing the volume, it is often shown as  a decimal number like 25.2083333333 instead of a number like 25. This only happens with trackpad scrolling, not on mouse, nor when I click and drag inside the volume bar.

STEPS TO REPRODUCE
1. Play an audio/video file on Haruna
2. Place mouse pointer above the volume bar
3. Use trackpad scrolling to change the volume

OBSERVED RESULT
Volume is being shown as a decimal number like 25.3323333384

EXPECTED RESULT
Volume should be shown as a whole number like 25

SOFTWARE/OS VERSIONS
Arch Linux - 5.18.13-arch1-1
KDE Plamsa - 5.25.3
KDE Frameworks - 5.96.0
Qt - 5.15.5
Wayland graphics platform

HARDWARE
CPU : Ryzen 5 5600H
Graphics : AMD Renoir

Screen-capture attached

The fractional parts are often X.2083333333, X.41666666666, X.7916666666, X.5416666666, etc
Comment 1 george fb 2022-09-27 15:39:08 UTC
No idea what could cause this. Try the flatpak.
Comment 2 george fb 2022-10-21 11:31:48 UTC
Try the flatpak and report if it works otherwise I'll close this.
Comment 3 Bug Janitor Service 2022-11-05 05:09:04 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 4 Bug Janitor Service 2022-11-20 05:13:17 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!
Comment 5 popov895 2023-11-23 10:33:10 UTC
Created attachment 163388 [details]
Haruna 0.12.3

I see the same on Haruna 0.12.3 when scrolling volume with the touchpad. I believe you should use Math.round(...) or toFixed() when setting value for volume indicator.
Comment 6 popov895 2023-11-23 10:38:54 UTC
Forgot to reopen.