Skip to content

🐛 [BUG] Back button must be pressed three times to navigate back #657

Description

@Axyss

Describe the bug
Clicking on the play button that JE displays near downloaded media on the 'Requests' tab opens the main page for that piece of media on JellyFin. Once there, it takes between 3 and 4 clicks on the back button for it to work.

Expected behavior
The back button should only need to be pressed once.

Jellyfin Environment:

  • Server Version: 10.11.10
  • Plugin Version: 11.12.0.0
  • Jellyfin Installation Method: Docker
  • Device: Jellyfin Web (Any browser)
  • Theme being used: ElegantFin
  • FileTransformation Installed

Logs

CustomTabs: Retrieved config for 0 tabs web:130:25
CustomTabs: All custom tabs created successfully web:166:25
CustomTabs: Navigation detected, re-initializing after delay web:184:17
Requesting url without automatic networking: https://jellyfin.example.com/JellyfinEnhanced/tag-cache/a8e9896c058e4c97a71a425eeafe512d?since=1781194613521 node_modules.jellyfin-apiclient.bundle.js:2:14622
CustomTabs: Navigation detected, re-initializing after delay web:184:17
CustomTabs: Initializing plugin web:82:21
CustomTabs: Not on main page, skipping UI check. Hash: #/downloads web:91:25
CustomTabs: Initializing plugin web:82:21
CustomTabs: Not on main page, skipping UI check. Hash: #/downloads web:91:25
CustomTabs: Navigation detected, re-initializing after delay web:184:17
Requesting url without automatic networking: https://jellyfin.example.com/JellyfinEnhanced/tag-cache/a8e9896c058e4c97a71a425eeafe512d?since=1781194613521 node_modules.jellyfin-apiclient.bundle.js:2:14622
[RouterHistory] history update 
Object { historyAction: "PUSH", location: {…}, matches: (4) […], initialized: true, navigation: {…}, restoreScrollPosition: null, preventScrollReset: false, revalidation: "idle", loaderData: {}, actionData: null, … }
main.jellyfin.bundle.js:2:427498
[ViewManagerPage] loading view [itemDetails/index.html] main.jellyfin.bundle.js:2:289196
[ConnectionRequired] connection state undefined main.jellyfin.bundle.js:2:70642
Requesting url without automatic networking: https://jellyfin.example.com/Users/a8e9896c058e4c97a71a425eeafe512d/Items/526633db8cb32ad448427fe63123cab9 node_modules.jellyfin-apiclient.bundle.js:2:14622
CustomTabs: Navigation detected, re-initializing after delay web:184:17
Requesting url without automatic networking: https://jellyfin.example.com/Users/a8e9896c058e4c97a71a425eeafe512d/Items/526633db8cb32ad448427fe63123cab9 node_modules.jellyfin-apiclient.bundle.js:2:14622
CustomTabs: Navigation detected, re-initializing after delay web:184:17
Requesting url without automatic networking: https://jellyfin.example.com/JellyfinEnhanced/tag-cache/a8e9896c058e4c97a71a425eeafe512d?since=1781194613521 node_modules.jellyfin-apiclient.bundle.js:2:14622
[RouterHistory] history update 
Object { historyAction: "PUSH", location: {…}, matches: (4) […], initialized: true, navigation: {…}, restoreScrollPosition: null, preventScrollReset: false, revalidation: "idle", loaderData: {}, actionData: null, … }
main.jellyfin.bundle.js:2:427498
[appRouter] path did not change, resolving promise main.jellyfin.bundle.js:2:341115
CustomTabs: Navigation detected, re-initializing after delay web:184:17
Requesting url without automatic networking: https://jellyfin.example.com/JellyfinEnhanced/tag-cache/a8e9896c058e4c97a71a425eeafe512d?since=1781194613521 node_modules.jellyfin-apiclient.bundle.js:2:14622
[RouterHistory] history update 
Object { historyAction: "PUSH", location: {…}, matches: (4) […], initialized: true, navigation: {…}, restoreScrollPosition: null, preventScrollReset: false, revalidation: "idle", loaderData: {}, actionData: null, … }
main.jellyfin.bundle.js:2:427498
[appRouter] path did not change, resolving promise main.jellyfin.bundle.js:2:341115
CustomTabs: Navigation detected, re-initializing after delay web:184:17
Requesting url without automatic networking: https://jellyfin.example.com/JellyfinEnhanced/tag-cache/a8e9896c058e4c97a71a425eeafe512d?since=1781194613521 node_modules.jellyfin-apiclient.bundle.js:2:14622
[RouterHistory] history update 
Object { historyAction: "PUSH", location: {…}, matches: (4) […], initialized: true, navigation: {…}, restoreScrollPosition: null, preventScrollReset: false, revalidation: "idle", loaderData: {}, actionData: null, … }
main.jellyfin.bundle.js:2:427498
[appRouter] path did not change, resolving promise main.jellyfin.bundle.js:2:341115
CustomTabs: Navigation detected, re-initializing after delay web:184:17
Requesting url without automatic networking: https://jellyfin.example.com/JellyfinEnhanced/tag-cache/a8e9896c058e4c97a71a425eeafe512d?since=1781194613521 node_modules.jellyfin-apiclient.bundle.js:2:14622
[RouterHistory] history update 
Object { historyAction: "PUSH", location: {…}, matches: (4) […], initialized: true, navigation: {…}, restoreScrollPosition: null, preventScrollReset: false, revalidation: "idle", loaderData: {}, actionData: null, … }
main.jellyfin.bundle.js:2:427498
[appRouter] path did not change, resolving promise main.jellyfin.bundle.js:2:341115
CustomTabs: Navigation detected, re-initializing after delay web:184:17
Requesting url without automatic networking: https://jellyfin.example.com/JellyfinEnhanced/tag-cache/a8e9896c058e4c97a71a425eeafe512d?since=1781194613521 node_modules.jellyfin-apiclient.bundle.js:2:14622
[RouterHistory] history update 
Object { historyAction: "PUSH", location: {…}, matches: (4) […], initialized: true, navigation: {…}, restoreScrollPosition: null, preventScrollReset: false, revalidation: "idle", loaderData: {}, actionData: null, … }
main.jellyfin.bundle.js:2:427498
[appRouter] path did not change, resolving promise main.jellyfin.bundle.js:2:341115
Requesting url without automatic networking: https://jellyfin.example.com/Items/526633db8cb32ad448427fe63123cab9/Similar?userId=a8e9896c058e4c97a71a425eeafe512d&limit=12&fields=PrimaryImageAspectRatio%2CCanDelete node_modules.jellyfin-apiclient.bundle.js:2:14622
🪼 Jellyfin Enhanced: Jellyseerr Recommendations: Fetching similar and recommended content for TMDB ID 7484 (movie) item-details.js:288:21
🪼 Jellyfin Enhanced: Jellyseerr Recommendations: Added Recommended section with 20 items item-details.js:374:29
🪼 Jellyfin Enhanced: Jellyseerr Recommendations: Added Similar section with 20 items item-details.js:391:29
CustomTabs: Initializing plugin web:82:21
CustomTabs: Not on main page, skipping UI check. Hash: #/details?id=526633db8cb32ad448427fe63123cab9&serverId=1eeebce86dd44905992d0557725ac589 web:91:25
CustomTabs: Initializing plugin web:82:21
CustomTabs: Not on main page, skipping UI check. Hash: #/details?id=526633db8cb32ad448427fe63123cab9&serverId=1eeebce86dd44905992d0557725ac589 web:91:25
CustomTabs: Initializing plugin web:82:21
CustomTabs: Not on main page, skipping UI check. Hash: #/details?id=526633db8cb32ad448427fe63123cab9&serverId=1eeebce86dd44905992d0557725ac589 web:91:25
CustomTabs: Initializing plugin web:82:21
CustomTabs: Not on main page, skipping UI check. Hash: #/details?id=526633db8cb32ad448427fe63123cab9&serverId=1eeebce86dd44905992d0557725ac589 web:91:25
CustomTabs: Initializing plugin web:82:21
CustomTabs: Not on main page, skipping UI check. Hash: #/details?id=526633db8cb32ad448427fe63123cab9&serverId=1eeebce86dd44905992d0557725ac589 web:91:25
CustomTabs: Initializing plugin web:82:21
CustomTabs: Not on main page, skipping UI check. Hash: #/details?id=526633db8cb32ad448427fe63123cab9&serverId=1eeebce86dd44905992d0557725ac589 web:91:25
CustomTabs: Initializing plugin web:82:21
CustomTabs: Not on main page, skipping UI check. Hash: #/details?id=526633db8cb32ad448427fe63123cab9&serverId=1eeebce86dd44905992d0557725ac589 web:91:25
CustomTabs: Navigation detected, re-initializing after delay web:184:17
[RouterHistory] history update 
Object { historyAction: "POP", location: {…}, matches: (4) […], initialized: true, navigation: {…}, restoreScrollPosition: null, preventScrollReset: false, revalidation: "idle", loaderData: {}, actionData: null, … }
main.jellyfin.bundle.js:2:427498
[appRouter] path did not change, resolving promise main.jellyfin.bundle.js:2:341115
Requesting url without automatic networking: https://jellyfin.example.com/JellyfinEnhanced/tag-cache/a8e9896c058e4c97a71a425eeafe512d?since=1781194613521 node_modules.jellyfin-apiclient.bundle.js:2:14622
CustomTabs: Initializing plugin web:82:21
CustomTabs: Not on main page, skipping UI check. Hash: #/details?id=526633db8cb32ad448427fe63123cab9&serverId=1eeebce86dd44905992d0557725ac589 web:91:25
CustomTabs: Navigation detected, re-initializing after delay web:184:17
[RouterHistory] history update 
Object { historyAction: "POP", location: {…}, matches: (4) […], initialized: true, navigation: {…}, restoreScrollPosition: null, preventScrollReset: false, revalidation: "idle", loaderData: {}, actionData: null, … }
main.jellyfin.bundle.js:2:427498
[appRouter] path did not change, resolving promise main.jellyfin.bundle.js:2:341115
Requesting url without automatic networking: https://jellyfin.example.com/JellyfinEnhanced/tag-cache/a8e9896c058e4c97a71a425eeafe512d?since=1781194613521 node_modules.jellyfin-apiclient.bundle.js:2:14622
CustomTabs: Navigation detected, re-initializing after delay web:184:17
[RouterHistory] history update 
Object { historyAction: "POP", location: {…}, matches: (4) […], initialized: true, navigation: {…}, restoreScrollPosition: null, preventScrollReset: false, revalidation: "idle", loaderData: {}, actionData: null, … }
main.jellyfin.bundle.js:2:427498
[appRouter] path did not change, resolving promise main.jellyfin.bundle.js:2:341115
Requesting url without automatic networking: https://jellyfin.example.com/JellyfinEnhanced/tag-cache/a8e9896c058e4c97a71a425eeafe512d?since=1781194613521 node_modules.jellyfin-apiclient.bundle.js:2:14622
CustomTabs: Initializing plugin web:82:21
CustomTabs: Not on main page, skipping UI check. Hash: #/details?id=526633db8cb32ad448427fe63123cab9&serverId=1eeebce86dd44905992d0557725ac589 web:91:25
CustomTabs: Navigation detected, re-initializing after delay web:184:17
[RouterHistory] history update 
Object { historyAction: "POP", location: {…}, matches: (4) […], initialized: true, navigation: {…}, restoreScrollPosition: null, preventScrollReset: false, revalidation: "idle", loaderData: {}, actionData: null, … }
main.jellyfin.bundle.js:2:427498
[appRouter] path did not change, resolving promise main.jellyfin.bundle.js:2:341115
Requesting url without automatic networking: https://jellyfin.example.com/JellyfinEnhanced/tag-cache/a8e9896c058e4c97a71a425eeafe512d?since=1781194613521 node_modules.jellyfin-apiclient.bundle.js:2:14622
CustomTabs: Initializing plugin web:82:21
CustomTabs: Not on main page, skipping UI check. Hash: #/details?id=526633db8cb32ad448427fe63123cab9&serverId=1eeebce86dd44905992d0557725ac589 web:91:25
CustomTabs: Initializing plugin web:82:21
CustomTabs: Not on main page, skipping UI check. Hash: #/details?id=526633db8cb32ad448427fe63123cab9&serverId=1eeebce86dd44905992d0557725ac589 web:91:25
CustomTabs: Navigation detected, re-initializing after delay web:184:17
[RouterHistory] history update 
Object { historyAction: "POP", location: {…}, matches: (4) […], initialized: true, navigation: {…}, restoreScrollPosition: null, preventScrollReset: false, revalidation: "idle", loaderData: {}, actionData: null, … }
main.jellyfin.bundle.js:2:427498
[appRouter] path did not change, resolving promise main.jellyfin.bundle.js:2:341115
Requesting url without automatic networking: https://jellyfin.example.com/JellyfinEnhanced/tag-cache/a8e9896c058e4c97a71a425eeafe512d?since=1781194613521 node_modules.jellyfin-apiclient.bundle.js:2:14622
CustomTabs: Initializing plugin web:82:21
CustomTabs: Not on main page, skipping UI check. Hash: #/details?id=526633db8cb32ad448427fe63123cab9&serverId=1eeebce86dd44905992d0557725ac589 web:91:25
CustomTabs: Navigation detected, re-initializing after delay web:184:17
CustomTabs: Initializing plugin web:82:21
CustomTabs: Not on main page, skipping UI check. Hash: #/downloads web:91:25
Sending web socket message: KeepAlive node_modules.jellyfin-apiclient.bundle.js:2:18698
Received KeepAlive from server. node_modules.jellyfin-apiclient.bundle.js:2:62736

Additional context
Accessing media how I explained above seems to make background calls that end up pushing new entries onto Jellyfin's RouterHistory. Each time the back button is pressed and is seemingly doing nothing, it's really popping one entry.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions