Bug 439075 - Wrong device name and capacity is shown with glitches on actions
Summary: Wrong device name and capacity is shown with glitches on actions
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Disks & Devices widget (show other bugs)
Version: 5.22.0
Platform: Neon Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-23 14:47 UTC by Riccardo Robecchi
Modified: 2023-10-07 15:46 UTC (History)
1 user (show)

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


Attachments
Screenshot of the issue (121.77 KB, image/png)
2021-06-23 14:47 UTC, Riccardo Robecchi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Riccardo Robecchi 2021-06-23 14:47:11 UTC
Created attachment 139615 [details]
Screenshot of the issue

SUMMARY
The widget shows the wrong name for some removable devices. When clicked, those devices only show the "remove" button without other actions available; the button is placed at random height with blank space around it. 
In the case shown in the screenshot, I had a USB hard drive with two partitions on it (the two devices on the bottom) and a 64  GB SD card connected. The SD card was not shown correctly, with it being presented as "700 GiB R...".

STEPS TO REPRODUCE
1. Plug in a removable device (e.g. an SD card)

OBSERVED RESULT
The wrong device name/capacity is shown.

EXPECTED RESULT
The correct device name/capacity is shown.

SOFTWARE/OS VERSIONS
Linux: KDE neon
KDE Plasma Version: 5.22.1
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2021-07-28 23:03:27 UTC
Ugh, SD cards always have these glitches
Comment 2 Riccardo Robecchi 2021-07-29 09:00:21 UTC
(In reply to Nate Graham from comment #1)
> Ugh, SD cards always have these glitches

I've found this is true for partitions on hard disks as well.
I may be wrong, but it seems that what tricks these glitches is the presence of spaces in the name of the device: I've tried removing the spaces from the name (e.g. from "500 GB disk" to "disk") and the issues went away. This seems to also be connected to bug 428102 as I've noticed the same pattern there.
Comment 3 Nate Graham 2023-09-19 20:21:41 UTC
Hello and thank you again for the bug report! Unfortunately we were not able to address it yet, nor even manage to reproduce the issue ourselves. Can we ask you to please check if this issue is still happening with Plasma 5.27?

If it is, please change the status to REPORTED. Thanks a lot!
Comment 4 Bug Janitor Service 2023-10-04 03:46:52 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 Riccardo Robecchi 2023-10-07 15:46:50 UTC
I haven't seen this in a while, so I'm marking it as fixed. Thanks!