Bug 485813

Summary: Could the wikipedia applet not be cleared if playback is stopped?
Product: [Applications] amarok Reporter: robert marshall <robert>
Component: Context View/WikipediaAssignee: Amarok Bugs <amarok-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: stuffcorpse, tuomas
Priority: NOR    
Version First Reported In: 2.9.82   
Target Milestone: kf5   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description robert marshall 2024-04-19 19:11:37 UTC
When the wikipedia applet is used and the playback finishes (either stop or stop after this track) the applet clears. I think it would be useful if it didn't clear (at least for me!). 
Use case:
I'm reading the article and I haven't finished reading it by the end of track and I want to continue reading and the next track has a different artist, so I set it to stop at the end but it clears the article which is, I think, unhelpful.
Comment 1 Tuomas Nurmi 2024-04-19 22:01:27 UTC
Hmm, true, that's a valid point. I tried adding a button ("pause") that stops any automatic Wikipedia page updates. Needs a bit more polishing but I think it makes sense, I'll probably add this in a couple of days.
Comment 2 Bug Janitor Service 2024-04-19 22:09:34 UTC
A possibly relevant merge request was started @ https://invent.kde.org/multimedia/amarok/-/merge_requests/89
Comment 3 Tuomas Nurmi 2024-04-21 07:23:15 UTC
Git commit fefd0c61616cf39bba7069f8cdf561ba787e6933 by Tuomas Nurmi.
Committed on 21/04/2024 at 07:08.
Pushed by nurmi into branch 'master'.

Add a button to stop Wikipedia from updating automatically

Makes sense, so one does not have to pause track to keep reading the same page.
Using pause icon and string, at least the string can be made more descriptive
later.

M  +1    -0    ChangeLog
M  +12   -0    src/context/applets/wikipedia/package/contents/ui/main.qml
M  +20   -0    src/context/applets/wikipedia/plugin/WikipediaEngine.cpp
M  +4    -0    src/context/applets/wikipedia/plugin/WikipediaEngine.h

https://invent.kde.org/multimedia/amarok/-/commit/fefd0c61616cf39bba7069f8cdf561ba787e6933