Bug 503453 - The "Refresh Devices" menu item is in an non-intuitive menu location
Summary: The "Refresh Devices" menu item is in an non-intuitive menu location
Status: RESOLVED FIXED
Alias: None
Product: partitionmanager
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.04.0
Platform: Neon Linux
: NOR minor
Target Milestone: ---
Assignee: Andrius Štikonas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-28 00:28 UTC by Michael
Modified: 2025-05-04 18:28 UTC (History)
1 user (show)

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


Attachments
what the Device menu looks like (182.67 KB, image/png)
2025-04-29 04:23 UTC, Michael
Details
what the tools menu looks like (192.18 KB, image/png)
2025-04-29 04:24 UTC, Michael
Details
what the version shows (87.71 KB, image/png)
2025-04-29 04:24 UTC, Michael
Details
Device menu again (93.02 KB, image/png)
2025-04-30 00:47 UTC, Michael
Details
Tools menu again (106.87 KB, image/png)
2025-04-30 00:48 UTC, Michael
Details
versions that KPMcore about dialog shows (85.99 KB, image/png)
2025-04-30 23:23 UTC, Michael
Details
versions that Partition Manager about dialog shows (87.71 KB, image/png)
2025-04-30 23:23 UTC, Michael
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael 2025-04-28 00:28:05 UTC
SUMMARY

As I don't use Partition Manager often, I keep having to re-acquaint myself with the interface. The "Refresh Devices" command in the Tools menu is the last place I look for that command and I wind up being annoyed that I have to hunt for it.

It would make more sense to find it in Device menu, as the command is related to devices. 

I don't see the rationale for it being in the Tool menu when a tool is just a generic utility that doesn't have any other clear place in the interface.

I also am a visual person, so I prefer to use the GUI than remember keyboard shortcuts.


STEPS TO REPRODUCE

1. I want to refresh the device list. 
2. Click on Device menu.


OBSERVED RESULT

Where is the Refresh command?


EXPECTED RESULT

"Refresh Devices" makes logical sense for it to be under the Device menu.


SOFTWARE/OS VERSIONS

Operating System: KDE neon 6.3
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.8.3
Kernel Version: 6.11.0-24-generic (64-bit)
Graphics Platform: Wayland
Comment 1 Andrius Štikonas 2025-04-28 07:37:18 UTC
I just checked, it is in Device menu. It is also in the toolbar. Not sure why you see it differently.
Comment 2 Michael 2025-04-29 04:23:46 UTC
Created attachment 180753 [details]
what the Device menu looks like
Comment 3 Michael 2025-04-29 04:24:29 UTC
Created attachment 180754 [details]
what the tools menu looks like
Comment 4 Michael 2025-04-29 04:24:56 UTC
Created attachment 180755 [details]
what the version shows
Comment 5 Michael 2025-04-29 04:25:33 UTC
I don't know why we have a discrepancy. I've attached screenshots of what I am seeing and the version of the program. How is this possible?
Comment 6 John Kizer 2025-04-29 17:39:29 UTC
That is strange - just to check, if you temporarily rename the files ~/.config/partitionmanagerrc and ~/.local/state/partitionmanagerstaterc , does the issue remain?
Comment 7 Michael 2025-04-30 00:47:13 UTC
Yes, it remains, no change on my end. I'll attach the screenshots of what I see after renaming those files and starting fresh.
Comment 8 Michael 2025-04-30 00:47:50 UTC
Created attachment 180797 [details]
Device menu again
Comment 9 Michael 2025-04-30 00:48:10 UTC
Created attachment 180798 [details]
Tools menu again
Comment 10 Andrius Štikonas 2025-04-30 10:53:28 UTC
Are you sure you are not running some old version accidentally? Could you please double check in About dialog.
Comment 11 Andrius Štikonas 2025-04-30 11:09:38 UTC
Also see here the latest master has this configuration:

https://invent.kde.org/system/partitionmanager/-/blob/master/src/gui/partitionmanagerui.rc?ref_type=heads#L34

so clearly in the Devices menu.
Comment 12 Michael 2025-04-30 23:22:01 UTC
(In reply to Andrius Štikonas from comment #10)
> Are you sure you are not running some old version accidentally? Could you
> please double check in About dialog.

Yes I'm very sure. I'm running PM from Neon User repositories. This is what apt shows for the package:

>>>
$ apt show partitionmanager
Package: partitionmanager
Version: 25.04.0-0zneon+24.04+noble+release+build18
Priority: optional
Section: admin
Maintainer: Neon CI <neon@kde.org>
Installed-Size: 7,359 kB
Depends: fdisk, kf6-kcolorscheme (>= 6.13.0), kf6-kconfig (>= 6.13.0), kf6-kconfigwidgets (>= 6.13.0), kf6-kcoreaddons (>= 6.13.0), kf6-kcrash (>= 6.13.0), kf6-kdbusaddons (>= 6.13.0), kf6-ki18n (>= 6.13.0), kf6-kio (>= 6.13.0), kf6-kwidgetsaddons (>= 6.13.0), kf6-kwindowsystem (>= 6.13.0), kf6-kxmlgui (>= 6.13.0), libc6 (>= 2.34), libkpmcore13 (>= 25.04.0), libpolkit-qt6-1-1 (>= 0.200.0), libstdc++6 (>= 5), qt6-base (>= 6.8.3)
Suggests: btrfs-progs, dosfstools, hfsplus, hfsutils, jfsutils, ntfs-3g, reiser4progs, reiserfsprogs, xfsprogs
Homepage: https://www.kde.org/applications/system/kdepartitionmanager
Download-Size: 2,535 kB
APT-Manual-Installed: yes
APT-Sources: http://archive.neon.kde.org/user noble/main amd64 Packages
Description: file, disk and partition management for KDE
 Partition Manager is a utility program to help you manage the disk devices,
 partitions and file systems on your computer. It allows you to easily create,
 copy, move, delete, resize without losing data, backup and restore partitions.
 .
 Partition Manager supports a large number of file systems, including ext2/3/4,
 reiserfs, NTFS, FAT16/32, jfs, xfs and more. Note that to gain support for a
 specific file system other than ext2/3/4, you should install the corresponding
 suggested package.
 .
 Partition Manager is based on libparted (like gparted) and makes use of the
 KDE libraries for its user interface.

N: There are 5 additional records. Please use the '-a' switch to see them.
<<<

I'll attach screenshots of the about dialog versions again.
Comment 13 Michael 2025-04-30 23:23:16 UTC
Created attachment 180834 [details]
versions that KPMcore about dialog shows
Comment 14 Michael 2025-04-30 23:23:43 UTC
Created attachment 180835 [details]
versions that Partition Manager about dialog shows
Comment 15 Michael 2025-04-30 23:24:43 UTC
Does KDE cache the menu layout somewhere?
Comment 16 Michael 2025-05-01 03:28:41 UTC
I just did this and there was no change to the menus that I'm seeing:

sudo apt purge partitionmanager
sudo apt install partitionmanager
Comment 17 Michael 2025-05-01 05:17:26 UTC
Okay, I just booted up a Live ISO of Neon User Edition, installed PM, and the menu structure looks as you say it should. 

So the issue is on my setup, which strangely has the exact same version of PM as exists from the Live ISO, which is 25.04.0-0zneon+24.04+noble+release+build18.

This is driving me nuts. I'm examining and comparing my PM to the version of PM from the live ISO and there are other menu items that are not present, like in the Help menu I'm missing Find Action. 

I've also looked in the .cache directory to see if there's something that would pertain to menu caching but I don't see it. 

And since I purged/uninstalled PM and then reinstalled it again, I'm still seeing the same old, outdated menu structure. Have you heard of anything like this before?
Comment 18 Andrius Štikonas 2025-05-01 10:20:50 UTC
(In reply to Michael from comment #17)
> Okay, I just booted up a Live ISO of Neon User Edition, installed PM, and
> the menu structure looks as you say it should. 
> 
> So the issue is on my setup, which strangely has the exact same version of
> PM as exists from the Live ISO, which is
> 25.04.0-0zneon+24.04+noble+release+build18.
> 
> This is driving me nuts. I'm examining and comparing my PM to the version of
> PM from the live ISO and there are other menu items that are not present,
> like in the Help menu I'm missing Find Action. 
> 
> I've also looked in the .cache directory to see if there's something that
> would pertain to menu caching but I don't see it. 
> 
> And since I purged/uninstalled PM and then reinstalled it again, I'm still
> seeing the same old, outdated menu structure. Have you heard of anything
> like this before?

Nothing  super obvious comes to my mind. If I remember correctly, menu structure is compiled into binary... So for some reason your build is broken but I have no idea why.
Comment 19 Michael 2025-05-04 18:27:47 UTC
I'm going to close this and try to find a solution elsewhere, thank you for your patience.
Comment 20 Michael 2025-05-04 18:28:01 UTC
Closing.