Bug 479908 - Footnote on local weather page doesn't show weather provider URL nor license
Summary: Footnote on local weather page doesn't show weather provider URL nor license
Status: RESOLVED FIXED
Alias: None
Product: KDE Itinerary
Classification: Applications
Component: general (show other bugs)
Version: 23.08.3
Platform: Android Android 13.x
: NOR normal
Target Milestone: ---
Assignee: Volker Krause
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-16 18:29 UTC by Josep Ma. Ferrer
Modified: 2024-01-17 16:02 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Error in the bottom of Weather Page of Itinerary, from an Android phone (154.24 KB, image/jpeg)
2024-01-16 18:29 UTC, Josep Ma. Ferrer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Josep Ma. 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 Ma. 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.