Bug 439475 - Wrong blu-ray sizes (25.0 GiB and 50.0 GiB instead of 23.3 GiB and 46.6 GiB) in the context menu of the disc space bar
Summary: Wrong blu-ray sizes (25.0 GiB and 50.0 GiB instead of 23.3 GiB and 46.6 GiB) ...
Status: RESOLVED FIXED
Alias: None
Product: k3b
Classification: Applications
Component: Data Project (show other bugs)
Version: 21.04.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: k3b developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-04 14:09 UTC by Patrick Silva
Modified: 2021-07-09 22:31 UTC (History)
2 users (show)

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


Attachments
25 GiB chosen in the context menu (226.91 KB, image/png)
2021-07-04 14:09 UTC, Patrick Silva
Details
50.0 GiB chosen in the context menu (226.19 KB, image/png)
2021-07-04 14:10 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2021-07-04 14:09:36 UTC
Created attachment 139844 [details]
25 GiB chosen in the context menu

STEPS TO REPRODUCE
1. open K3b
2. create a data project
3. right-click on disc space bar on bottom
4. choose any option under "Blu-ray size"
5. right-click on disc space bar on bottom again

OBSERVED RESULT
the blu-ray sizes available in the context menu are wrong:
25.0 GiB
50.0 GiB

The disc space bar on bottom displays the correct sizes:
23.3 GiB if 25.0 GiB was chosen in the context menu
46.6 GiB if 50.0 GiB was chosen in the context menu

EXPECTED RESULT
blu-ray sizes available in the context menu should be 23.3 GiB
and 46.6 GiB

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 5.22.2
KDE Frameworks Version: 5.83
Qt Version: 5.15.2

ADDITIONAL INFORMATION
The screenshots were taken on Gnome but the bug is also reproducible on KDE Plasma.
Comment 1 Patrick Silva 2021-07-04 14:10:37 UTC
Created attachment 139845 [details]
50.0 GiB chosen in the context menu
Comment 2 Bug Janitor Service 2021-07-04 19:18:42 UTC
A possibly relevant merge request was started @ https://invent.kde.org/multimedia/k3b/-/merge_requests/14
Comment 3 Albert Astals Cid 2021-07-09 22:31:44 UTC
Git commit 88d5782eee8f60bd2c022d16ac82304c94c04245 by Albert Astals Cid.
Committed on 09/07/2021 at 22:31.
Pushed by aacid into branch 'master'.

Menu: Get bluray sizes from k3b itself instead of hardcoding

M  +2    -2    src/projects/k3bfillstatusdisplay.cpp

https://invent.kde.org/multimedia/k3b/commit/88d5782eee8f60bd2c022d16ac82304c94c04245