Bug 482015 - Kup system tray icon and settings module missing on Plasma 6
Summary: Kup system tray icon and settings module missing on Plasma 6
Status: RESOLVED FIXED
Alias: None
Product: kup
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Simon Persson
URL:
Keywords: qt6
: 480546 482486 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-02-29 12:15 UTC by escortgoj
Modified: 2024-04-10 06:41 UTC (History)
15 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description escortgoj 2024-02-29 12:15:07 UTC
Following upgrade to plasma 6, the kup-backup icon disappeared from the tray.
Not present in the tray settings neither in order to activate it.
The backup entry is absent as well within ''system settings''. 


STEPS TO REPRODUCE
1. click on tray
2. no kup-backup tray icon
3. 

OBSERVED RESULT
no kup-backup tray icon

EXPECTED RESULT
kup-backup tray icon present

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.0.0
(available in About System)
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
- kup-backup 0.9.1-1 installed
- kup-clent/kup-server/kup-backup-dbgsym not installed
Comment 1 pipapo 2024-02-29 17:10:01 UTC
Exact the same in my case.
Comment 2 Nate Graham 2024-03-01 20:51:26 UTC
Looks like an issue in Kup itself; moving there.
Comment 3 Harald Sitter 2024-03-01 23:01:02 UTC
The problem probably is that the tray icon is in fact a plasmoid and as such requires porting to plasma6. Similarly with the settings entry.
Comment 4 Jonathan Meek 2024-03-03 14:45:49 UTC
Exact same issue. Is there a way to manually trigger backups from the command line as a workaround?
Comment 5 Nicolas Fella 2024-03-05 20:04:18 UTC
*** Bug 482486 has been marked as a duplicate of this bug. ***
Comment 6 Nicolas Fella 2024-03-05 20:06:30 UTC
The reason it's missing is that it's not built against Qt6 in the released version.

master (optionally) builds against Qt6, but I don't know if it's in a good enough state to be released
Comment 7 bruno 2024-03-05 20:11:08 UTC
(In reply to Nicolas Fella from comment #6)
> The reason it's missing is that it's not built against Qt6 in the released
> version.
> 
> master (optionally) builds against Qt6, but I don't know if it's in a good
> enough state to be released

so the last 0.9.1 is still against qt5? if you'd like, i can test a build from master of kup and let you know of any possible issues, though you probably know better than me.
Comment 8 Clay Weber 2024-03-05 21:25:18 UTC
(In reply to bruno from comment #7)
> (In reply to Nicolas Fella from comment #6)
> > The reason it's missing is that it's not built against Qt6 in the released
> > version.
> > 
> > master (optionally) builds against Qt6, but I don't know if it's in a good
> > enough state to be released
> 
> so the last 0.9.1 is still against qt5? if you'd like, i can test a build
> from master of kup and let you know of any possible issues, though you
> probably know better than me.

I have been using kup-backup compiled from master since  Feb 29 with no issues so far in neon with Plasma 6. 
I believe that there is a package in neon's experimental that is built from recent git code, against Qt6/kf6. I have not tried that of course.
Comment 9 Paul Worrall 2024-03-11 11:15:40 UTC
For me the system tray icon is present but when clicked it does not show any information (bug #480546)

Operating System: Arch Linux 
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Graphics Platform: Wayland
Comment 10 Nate Graham 2024-03-11 13:53:09 UTC
Right, if you build it from source, then the app works, but the widget doesn't since its QML code hasn't yet been ported to Qt6.
Comment 11 Simon Persson 2024-03-17 18:44:03 UTC
Git commit 9dc491cc7852112c3745056759c53a83574cc4ab by Simon Persson.
Committed on 17/03/2024 at 18:42.
Pushed by persson into branch 'master'.

Add a version of the plasmoid that works on plasma 6

This commit does the following:
 - Move existing plasmoid to plasmoid-qt6 and finish qt6 port.
 - Add plasmoid-qt5 folder with contents of commit eae3138eaa, before q6
   port was started.
 - Change CmakeLists.txt to install one of the two versions.

M  +2    -1    CMakeLists.txt
C  +8    -9    plasmoid-qt5/contents/ui/FullRepresentation.qml [from: plasmoid/contents/ui/FullRepresentation.qml - 089% similarity]
C  +19   -28   plasmoid-qt5/contents/ui/main.qml [from: plasmoid/contents/ui/main.qml - 058% similarity]
C  +0    -0    plasmoid-qt5/metadata.json [from: plasmoid/metadata.json - 100% similarity]
R  +24   -16   plasmoid-qt6/contents/ui/FullRepresentation.qml [from: plasmoid/contents/ui/FullRepresentation.qml - 077% similarity]
R  +6    -25   plasmoid-qt6/contents/ui/main.qml [from: plasmoid/contents/ui/main.qml - 068% similarity]
R  +1    -1    plasmoid-qt6/metadata.json [from: plasmoid/metadata.json - 099% similarity]

https://invent.kde.org/system/kup/-/commit/9dc491cc7852112c3745056759c53a83574cc4ab
Comment 12 Bruno Santos 2024-03-29 17:07:24 UTC
*** Bug 480546 has been marked as a duplicate of this bug. ***
Comment 13 Martin Tlustos 2024-04-10 06:41:14 UTC
When will this become available to the public? It doesn't work on my laptop yet... (backups work, though, so that much is fine).