Skip to content

History page title does not reflect current mode on first entry #13439

@TransZAllen

Description

@TransZAllen

Checklist

  • I am able to reproduce the bug with the latest version given here: CLICK THIS LINK.
  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have read the FAQ and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.
  • I have read and understood the AI policy. The content of this bug report is not generated by AI.

Affected version

NewPipe 0.28.5 and earlier versions


Description

When entering the “History” page, the top title shows “History”, but the current display mode is actually “Last Played”, which seems inconsistent.

This page has two display modes:

  • Last Played
  • Most Played

After switching modes once, the title updates correctly.
But the initial state remains inconsistent every time the page is entered.


Reproduction

  1. Click “History” to enter the page.

  2. Observe the title on the top bar:

    • The top bar shows “History”
    • But this area seems to represent the current display mode, which is actually “Last Played” now
    • So the title should display "Last Played" to match the current mode.
  1. Click the mode switch button (currently showing “Most Played”):

    • The top title changes from “History” to “Most Played”
    • The button text changes to “Last Played”
  1. After that, the title correctly reflects the current mode. But the top bar should not change its semantic role depending on interaction.

  2. Exit the “History” page and enter it again (no need to restart the app), the issue can still be reproduced.


Expected behavior

The title on the top bar should reflect the current/initial mode ("Last Played") when entering the page.

Actual behavior

The title shows "History" instead of the current/initial mode.


Impact

This only affects the UI initial display and does not affect functionality.


Metadata

Metadata

Assignees

No one assigned

    Labels

    GUIIssue is related to the graphical user interfacebugIssue is related to a bughistoryAnything to do with previously watched stuff

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions