Bug 498055

Summary: Forecast Style: "Flat" and "Dynamic" selected at the same time
Product: [Applications] kweather Reporter: nikolas.gur
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: REPORTED ---    
Severity: normal CC: espidev
Priority: NOR    
Version: 24.12.0   
Target Milestone: ---   
Platform: postmarketOS   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: 2 styles selected
2 pressure units selected
2 speed units selected
video of bug

Description nikolas.gur 2024-12-30 10:57:18 UTC
SUMMARY

Under Settings / General / Forecast Style, it's possible to select "Flat" and "Dynamic" simultaneously at the same time.


STEPS TO REPRODUCE
1. Select Forecast Style "Dynamic"
2. Restart the app
3. Go to settings and click on "Forecast Style"

OBSERVED RESULT
Both "Flat" and "Dynamic" are selected at the same time

EXPECTED RESULT
In a drop down menu, it should not be possible to select more than one element at the same time

ADDITIONAL INFORMATION

I'm using KWeather on mobile linux (postmarketOS edge with Phosh and KWeather 24.12.0 installed from Flathub).

Under Settings / General / Forecast Style, it's possible to select "Flat" and "Dynamic" simultaneously at the same time (both of the items have a blue background on them).

I have this problem since the commit "6697459af069612dc94bca5509a1ce2e4cda0ce59e349afb7d5eb919b4adfa10" (kirigami-addons: Update kirigami-addons-1.5.0.tar.xz to 1.6.0 (2c96ff2a)) on 2024-12-01.

The last commit which doesn't have this behaviour is 08516ed161c4d56a23ce14e62140f0682ef3b09c56e56bfd273835840da8d995 (libplasma: Update libplasma-6.2.3.tar.xz to 6.2.4 (b20f7d92)) on 2024-11-27.

I can't reproduce this behaviour on Desktop Linux.
I uploaded a video for further information.

I can also reproduce this behaviour with the other selection menus in Options "Pressure units", "Speed units", "Temperature units" and "Precipitation units".
Comment 1 nikolas.gur 2024-12-30 10:58:00 UTC
Created attachment 176975 [details]
2 styles selected
Comment 2 nikolas.gur 2024-12-30 10:58:26 UTC
Created attachment 176976 [details]
2 pressure units selected
Comment 3 nikolas.gur 2024-12-30 10:58:50 UTC
Created attachment 176977 [details]
2 speed units selected
Comment 4 nikolas.gur 2024-12-30 11:01:20 UTC
Created attachment 176978 [details]
video of bug