gsantner / gsantner/markor

Too long animation duration for switching tabs

Open
#2,783 4 comments 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
6.1k
Forks
537
Avg merge
1d 18h
Merged PRs (30d)
4

Description

### ⚠️ This issue respects the following points: ⚠️

- [x] This is a **bug**. Not a [question or feature request](https://github.com/gsantner/markor/issues/new/choose).
- [x] The topic is **not** already reported at [Issues](https://github.com/gsantner/markor/issues?q=#js-issues-search). _(I've searched it)_.
- [x] Markor **is** up to date. See [Releases](https://github.com/gsantner/markor/tags) for the latest version. Updates are available from [F-Droid](https://f-droid.org/en/packages/net.gsantner.markor/) and GitHub.
- [x] The bug is still present in the latest development version (git master). (Please [download](https://nightly.link/gsantner/markor/workflows/build-android-project/master) and try the test version of Markor, named **Marder**. Don't worry; Markor and Marder appear as completely separate applications. You can install both side-by-side, and Markor settings are not touched. In case the issue is resolved there, you don't need to create a bug report. The change will be part of the next Markor update.)

### Description

After updated to 2.16.1 version I noticed that the animation duration is too long and even increases when I switch to "further" tabs.

That is, switching from "Files" to "More" tab takes nearly 3x times compared to switching from "Files" to "To-Do", making the animation a little bit lengthy. It might be better to keep the total animation duration a fixed time (which means the animation swipes through every tab faster and won't take extra time when switching to a further tab).

### Steps to reproduce

Simply switch among 4 bottom navigation tabs.

### Information

Android version: 16
Device: OnePlus Pad 3 Pro
App Version: 2.16.1

### Source

GitHub Releases

### Format / File type

Not specific

### Additional info / Log

```shell
-
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the tab switch in Markor 2.16.1 or the latest development version, comparing transitions between nearby and farther bottom navigation tabs. Trace the bottom navigation animation entry point and make the total transition duration fixed regardless of tab distance; verify the behavior across all four tabs.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.