Bug 485488

Summary: KWeather widget is incompatible with Plasma 6
Product: [Applications] kweather Reporter: Gerald Cox <gbcox>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bjorn.bidar, bugsie, espidev, michele.kipiel, nate
Priority: NOR    
Version: 24.02.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: kweather shown as unsupported

Description Gerald Cox 2024-04-13 14:12:38 UTC
Created attachment 168461 [details]
kweather shown as unsupported

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
weather installs 2 applet/widgets.  One named kweather, and the other weather report.  See attachments for both. kweather is not compatible with plasma 6, as shown in the attachment and it's extremely confusing.  If it isn't compatible, shouldn't it be removed?

OS: Fedora release 40 (Forty) x86_64 
Kernel: 6.8.5-301.fc40.x86_64 
Uptime: 38 mins 
Packages: 5537 (rpm), 3 (flatpak) 
Shell: bash 5.2.26 
Resolution: 1920x1080 
DE: Plasma 6.0.3 
WM: kwin 
Theme: Breeze Light [Plasma], Breeze [GTK2/3] 
Icons: [Plasma], breeze [GTK2/3] 
Terminal: konsole 
CPU: AMD FX-8350 (8) @ 2.069GHz 
GPU: AMD ATI Radeon HD 7850 / R7 265 / R9 270 1024SP 
Memory: 12352MiB / 31984MiB 


ADDITIONAL INFORMATION
Comment 1 bugsie 2024-04-13 16:00:00 UTC
That's kweather, correcting it.
Comment 2 Nate Graham 2024-04-14 22:10:30 UTC
Yes, I was just this morning trying to port it fully to Plasma 6. It looks like it was half-done but not completed.

Unfortunately I did not succeed. My WIP work can be found at https://invent.kde.org/utilities/kweather/-/tree/work/ngraham/wip-attempt-to-fix-widget?ref_type=heads if anyone wants to take over from there.
Comment 3 Björn Bidar (Thaodan) 2024-05-03 05:45:31 UTC
The widget is not marked as supported but shows this error:

file:///usr/share/plasma/plasmoids/org.kde.plasma.weather/contents/ui/main.qml:452:25: Type FullRepresentation unavailable

file:///usr/share/plasma/plasmoids/org.kde.plasma.weather/contents/ui/FullRepresentation.qml:38:24: Cannot assign object of type "QQC2.Action" to property of type "Action_QMLTYPE_130*" as the former is neither the same as the latter nor a sub-class of it.
Comment 4 MK 2024-07-04 13:54:54 UTC
Same here: 

"file:///usr/share/plasma/plasmoids/org.kde.plasma.weather/contents/ui/main.qml:438:25: Type FullRepresentation unavailable

file:///usr/share/plasma/plasmoids/org.kde.plasma.weather/contents/ui/FullRepresentation.qml:38:24: Cannot assign object of type "QQC2.Action" to property of type "Action_QMLTYPE_217*" as the former is neither the same as the latter nor a sub-class of it."
Comment 5 Nate Graham 2024-07-10 21:23:24 UTC

*** This bug has been marked as a duplicate of bug 487464 ***