Summary: | qBittorrent icon name is wrong in Overview Window | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | Nowshed H. Imran <now.im.627> |
Component: | kcm_autostart | Assignee: | Nicolas Fella <nicolas.fella> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | ahiemstra, kde, kde, nate, plasma-bugs |
Priority: | NOR | ||
Version: | 5.22.2 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/commit/3080b2801cea3437772b2a68e07866f18618d538 | Version Fixed In: | 5.22.1 |
Attachments: | Error in photo |
Hmm cannot reproduce, how did you install the qbittorent? What's the output of 'systemd-cgls | grep qbittorrent'? ❯ systemd-cgls | grep qbittorrent │ │ │ ├─app-org.qbittorrent.qbittorrent@autostart.service │ │ │ │ └─812 /usr/bin/qbittorrent How is the .desktop file of qbittorrent called on my system it's org.qbittorrent.qBittorrent.desktop My Desktop file name is also the same but I have added qBittorrent in Start and Shutdown > Autostart. Can it be the reason? The reason that there's no icon is because the desktop file is called org.qbittorrent.qBittorrent.desktop while the autostart cgroup is called app-org.qbittorrent.qbittorrent@autostart.service note the diference between upper and lower case 'b' in both names. How did you add it to autostart, through system settings? Yes I get that. The thing is neither I nor qBittorrent has generated the file: app-org.qbittorrent.qbittorrent@autostart.service It was done by KDE Systemsettings Autostart KCM. I have removed QB from autostart, restarted the PC, and started the app manually. This is the result. ❯ systemd-cgls | grep qbittorrent │ │ │ ├─app-org.qbittorrent.qBittorrent-a79bbecaeefe40e2bfa878e830e0be9b.scope │ │ │ │ └─924 /usr/bin/qbittorrent Plasma System Monitor also reposting the icon name and icon correctly. A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/923 Git commit 906223bd2781dd0ac27fc4ce27c432b073e67900 by Nicolas Fella. Committed on 10/06/2021 at 19:08. Pushed by nicolasfella into branch 'master'. [kcms/autostart] Keep capitalization of desktop file names desktopEntry() is always lowercase. Use storageId() to get the original file name. M +1 -1 kcms/autostart/autostartmodel.cpp https://invent.kde.org/plasma/plasma-workspace/commit/906223bd2781dd0ac27fc4ce27c432b073e67900 Git commit 3080b2801cea3437772b2a68e07866f18618d538 by Nicolas Fella. Committed on 10/06/2021 at 19:09. Pushed by nicolasfella into branch 'Plasma/5.22'. [kcms/autostart] Keep capitalization of desktop file names desktopEntry() is always lowercase. Use storageId() to get the original file name. (cherry picked from commit 906223bd2781dd0ac27fc4ce27c432b073e67900) M +1 -1 kcms/autostart/autostartmodel.cpp https://invent.kde.org/plasma/plasma-workspace/commit/3080b2801cea3437772b2a68e07866f18618d538 Just WOW! I had no idea this error would be solved so soon. Great Job! Love and Respect! :) Sorry, to say the bug remains in Plasma 5.22.1. systemd-cgls | grep qbittorrent │ │ │ ├─app-org.qbittorrent.qbittorrent@autostart.service │ │ │ │ └─810 /usr/bin/qbittorrent Operating System: Arch Linux KDE Plasma Version: 5.22.1 KDE Frameworks Version: 5.83.0 Qt Version: 5.15.2 Kernel Version: 5.12.11-arch1-1 (64-bit) Graphics Platform: X11 Processors: 4 × Intel® Core™ i5-6200U CPU @ 2.30GHz Memory: 3.7 GiB of RAM Graphics Processor: Mesa Intel® HD Graphics 520 (In reply to Nate Graham from comment #13) > :) Hey nate, the bug is apparently not fixed in Plasma 5.22.2 And it appears as org.qbittorrent.qbittorrent still? Can you confirm that there is a file with a matching name: /usr/share/applications/org.qbittorrent.qbittorrent.desktop (In reply to David Edmundson from comment #16) > And it appears as org.qbittorrent.qbittorrent still? > > Can you confirm that there is a file with a matching name: > /usr/share/applications/org.qbittorrent.qbittorrent.desktop No. It is, /usr/share/applications/org.qbittorrent.qBittorrent.desktop systemd-cgls | grep qbittorrent │ │ │ ├─app-org.qbittorrent.qbittorrent@autostart.service │ │ │ │ └─814 /usr/bin/qbittorrent But, I am at a loss here. Bleachbit has a similar desktop file name, but it starts correctly. /usr/share/applications/org.bleachbit.BleachBit.desktop systemd-cgls | grep bleachbit │ │ │ ├─app-org.bleachbit.BleachBit@autostart.service │ │ │ │ └─812 /usr/bin/python3 /usr/bin/bleachbit My patch does not change existing autostart entries, it only applies to new ones. Did you remove and re-add the autostart entry? (In reply to Nicolas Fella from comment #18) > My patch does not change existing autostart entries, it only applies to new > ones. Did you remove and re-add the autostart entry? No, it did not. Re-adding solved my problem. Thanks! |
Created attachment 139190 [details] Error in photo SUMMARY This app correctly shows the name processes window but not in the Overview window. Ksysguard also shows it correctly. STEPS TO REPRODUCE 1. Install qBittorrent 2. Run the application 3. Open Plasma System Monitor OBSERVED RESULT Icon name is shown as org.qbittorrent.qbittorrent. EXPECTED RESULT It should be only qbittorrent with icon. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.22.0 KDE Frameworks Version: 5.82.0 Qt Version: 5.15.2 Kernel Version: 5.12.9-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 4 × Intel® Core™ i5-6200U CPU @ 2.30GHz Memory: 3.7 GiB of RAM Graphics Processor: Mesa Intel® HD Graphics 520 ADDITIONAL INFORMATION