Bug 479908

Summary: Footnote on local weather page doesn't show weather provider URL nor license
Product: [Applications] KDE Itinerary Reporter: Josep M. Ferrer <txemaq>
Component: generalAssignee: Volker Krause <vkrause>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 23.08.3   
Target Milestone: ---   
Platform: Android   
OS: Android 13.x   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Error in the bottom of Weather Page of Itinerary, from an Android phone

Description Josep M. Ferrer 2024-01-16 18:29:38 UTC
Created attachment 164958 [details]
Error in the bottom of Weather Page of Itinerary, from an Android phone

Itinerary on Android mobile phone. 
On local weather page, footnote doesn't show the provider URL & name (https://www.met.no, The Norwegian Meteorological Institute) and their license (https://creativecommons.org/licenses/by/4.0, Creative Commons 4.0 BY International). Please, see attached screenshot.

STEPS TO REPRODUCE
1. Open Itinerary on Android
2. In Settings, activate "Weather Forecast"
3. Select a trip in "My Itinerary"
4. Select any of the forecast cards (Today, for example)
5. On the bottom of the Weather Forecast I see "Using data from", "under" and "license", but I couldn't see details (provider name, provider URL or license) 

OBSERVED RESULT
On the bottom of the Weather Forecast I see "Using data from", "under" and "license" strings

EXPECTED RESULT
On the bottom of the Weather Forecast I expected to see: "Using data from <The Norwegian Meteorological Institute (URL)>, under <Creative Commons 4.0 BY International (URL)> license" 


SOFTWARE/OS VERSIONS
Android: 13 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
It seems these strings appear in source code at https://invent.kde.org/pim/itinerary/-/blob/master/src/app/WeatherForecastPage.qml?ref_type=heads#L36
Comment 1 Josep M. Ferrer 2024-01-17 08:27:55 UTC
Additional info: If you tap on the "blank" space between "Using data from" and "under", The Norwegian Meteorological Institute URL is opening, and tapping the "blank" space between "under" and "license", Creative Commons 4.0 BY International URL is opening. So, the root problem is the same color/contrast between text link color and background color. I don't see how to change text link color in Android systems. So, I think the best way to solve this problem is to change background color for the footer.
Comment 2 Volker Krause 2024-01-17 16:02:06 UTC
Yep, that's blue text on a blue background on Android, fixed in 24.02 already.