Bug 488563 - Two icons for "back" instead of one in "Settings" and going back doesn't focus "Episodes"
Summary: Two icons for "back" instead of one in "Settings" and going back doesn't focu...
Status: RESOLVED FIXED
Alias: None
Product: kasts
Classification: Applications
Component: general (show other bugs)
Version: 24.05.1
Platform: Flatpak Linux
: NOR normal
Target Milestone: ---
Assignee: bart
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-16 03:56 UTC by nikolas.gur
Modified: 2025-01-06 15:23 UTC (History)
0 users

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


Attachments
showing two back icons (97.04 KB, image/png)
2024-06-16 03:56 UTC, nikolas.gur
Details
showing view for episodes while "Settings" has focus (60.15 KB, image/png)
2024-06-16 03:57 UTC, nikolas.gur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nikolas.gur 2024-06-16 03:56:19 UTC
Created attachment 170542 [details]
showing two back icons

SUMMARY
In the top bar of the Settings tab on linux mobile, two back buttons are shown on top of each other instead of one. Clicking on that button doesn't change the focus in the bottom drawer from "Settings" to "Episodes"

STEPS TO REPRODUCE
1.  Click on "Settings"
2. Click on the back button

OBSERVED RESULT
- Two overlapping left pointing arrows are visible 
- Clicking on back button doesn't focus "episodes", still focuses "settings"

EXPECTED RESULT
- There should be not more than one back button in the top bar of "Settings"
- Clicking on "back" in Settings should focus the "Episodes" tab, not focus "Settings" tab anymore

SOFTWARE/OS VERSIONS
postmarketOS v23.12, Phosh 0.33.0

ADDITIONAL INFORMATION
I'm using Kasts on a Linux mobile phone (postmarketOS v23.12 with Phosh 0.33.0) installed from Flatpak. If you click the forth tab "Settings", you can see in the top bar two symbols for back rendered on top of each other (the left pointing arrow before the "Search…" field). One back button is there in the beginning on opening the tab, and another one comes sliding in afterwards. The second is slightly smaller than the first.

There's also another thing that may be related to this. If you click on that back button in the settings tab, you can see the ui change to show the content for episodes. But in the bottom drawer, you can see that the tab for "Settings" is still selected instead of "Episodes".
Comment 1 nikolas.gur 2024-06-16 03:57:20 UTC
Created attachment 170543 [details]
showing view for episodes while "Settings" has focus
Comment 2 Bug Janitor Service 2025-01-06 15:12:02 UTC
A possibly relevant merge request was started @ https://invent.kde.org/multimedia/kasts/-/merge_requests/211
Comment 3 bart 2025-01-06 15:14:04 UTC
Both issues should now be solved on master, and will be part of the 25.04 release.
Comment 4 bart 2025-01-06 15:23:06 UTC
Git commit b8d04153c9fb32ff51c2bd17e73de76f239c0898 by Bart De Vries.
Committed on 06/01/2025 at 15:08.
Pushed by bdevries into branch 'master'.

Fix sidebar/bottombar button state

M  +12   -9    src/qml/KastsGlobalDrawer.qml
M  +9    -9    src/qml/Main.qml
M  +7    -4    src/qml/Mobile/BottomToolbar.qml

https://invent.kde.org/multimedia/kasts/-/commit/b8d04153c9fb32ff51c2bd17e73de76f239c0898