Bug 485813 - Could the wikipedia applet not be cleared if playback is stopped?
Summary: Could the wikipedia applet not be cleared if playback is stopped?
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: Context View/Wikipedia (show other bugs)
Version: 2.9.82
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: kf5
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-19 19:11 UTC by robert marshall
Modified: 2024-04-21 07:23 UTC (History)
2 users (show)

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


Attachments

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