FreeTubeApp / FreeTubeApp/FreeTube

[Bug]: Subscription feed scroll resets when default viewing mode opens external player

Open
#9,338 1 comment 0 reactions 0 assignees View on GitHub
B: inconsistent behavior B: usability
Dominant language
Vue
Stars
21.9k
Forks
1.5k
Avg merge
1d 15h
Merged PRs (30d)
62

Description

### Guidelines

- [x] I have encountered this bug in the [latest release of FreeTube](https://github.com/FreeTubeApp/FreeTube/releases).
- [x] I have encountered this bug in the [official downloads of FreeTube](https://github.com/FreeTubeApp/FreeTube#official-downloads). **The only official downloads are from the [https://freetubeapp.io](https://freetubeapp.io/#download) website, the [FreeTubeApp/FreeTube GitHub repository](https://github.com/FreeTubeApp/FreeTube/releases) and the [io.freetubeapp.FreeTube flatpak](https://flathub.org/en/apps/io.freetubeapp.FreeTube) from Flathub.**
- [x] I have [searched the issue tracker for **open and closed** issues](https://github.com/FreeTubeApp/FreeTube/issues?q=is%3Aissue+sort%3Arelevance-desc) that are similar to the bug report I want to file, without success.
- [x] I have searched the [documentation](https://docs.freetubeapp.io/) for information that matches the description of the bug I want to file, without success.
- [x] This issue contains only one bug.
- [x] I have read and agree to follow the [rules](https://docs.freetubeapp.io/community/rules/).

### Describe the bug

When the default viewing mode is set to open videos in an external player, clicking a video from the Subscriptions feed opens mpv but resets the Subscriptions feed scroll position back to the top.

This does not happen when using the explicit "open in external player" button on a video in the Subscriptions feed. That button opens mpv while preserving the current scroll position.

Steps to reproduce:
1. Configure FreeTube to use mpv as the external player.
2. Set the default video action/click behavior to open videos in the external player.
3. Go to the Subscriptions feed.
4. Scroll down in the feed.
5. Click a video normally.
6. mpv opens, but the Subscriptions feed position resets to the top.

Control case:
1. Go to the Subscriptions feed.
2. Scroll down.
3. Click the dedicated "open in external player" button on a video.
4. mpv opens and the feed position is preserved.

### Expected Behavior

When a normal video click is configured to open the external player, it should behave like the dedicated "open in external player" button and preserve the current Subscriptions feed scroll position.

### Issue Labels

usability issue, inconsistent behavior

### FreeTube Version

v0.24.1-beta

### Operating System Version

Ubuntu 25.10

### Installation Method

.deb

### Primary API used

Local API

### Last Known Working FreeTube Version (If Any)

Unknown

### Upload screenshots or videos

_No response_

### Additional Information

External player: mpv

The important difference appears to be between:
- normal video click with default action set to external player: resets Subscriptions scroll
- explicit external-player button from the feed: preserves Subscriptions scroll

This suggests the default-click path may still be navigating/re-rendering the video route or feed differently than the dedicated external-player button path.

### Nightly Build

- [ ] I have encountered this bug in the latest **official** [nightly build](https://docs.freetubeapp.io/development/nightly-builds), do not check this box if you are using an unofficial or custom build.

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in the Subscriptions feed with mpv configured as the external player, then compare the normal video-click path with the dedicated external-player button path. Trace the default video action and confirm that opening mpv through a normal click preserves the existing feed scroll position without changing the dedicated button behavior.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.