π·οΈ Issue 2
Dashboard Button Reload Glitch on Startup
π₯οΈ Description
When the application starts, the Dashboard is already displayed by default. However, clicking the Dashboard button again reloads the same view unnecessarily.
Additionally, navigation works correctly when selecting other pages from the sidebar.
This behavior suggests a routing or state-handling glitch in the UI logic.
π Observed Behavior
- On startup, Dashboard is visible.
- Clicking the Dashboard button again reloads or refreshes the same view.
- Sidebar navigation works correctly.
- No crash occurs, but redundant rendering happens.
β
Expected Behavior
-
If the Dashboard is already active, clicking the Dashboard button should:
- Either do nothing
- Or visually indicate it is already selected
-
No redundant reloading should occur.
π― Possible Causes
- Missing active-page state check.
- No guard clause preventing reloading the same widget.
- StackedWidget index reset without validation.
- Button signal connected multiple times.
π Proposed Fix
- Add a check to compare current index before switching pages.
- Disable or highlight active navigation button.
- Ensure signals are not duplicated during initialization.
π· Suggested Labels
bug ui navigation medium priority
π·οΈ Issue 2
Dashboard Button Reload Glitch on Startup
π₯οΈ Description
When the application starts, the Dashboard is already displayed by default. However, clicking the Dashboard button again reloads the same view unnecessarily.
Additionally, navigation works correctly when selecting other pages from the sidebar.
This behavior suggests a routing or state-handling glitch in the UI logic.
π Observed Behavior
β Expected Behavior
If the Dashboard is already active, clicking the Dashboard button should:
No redundant reloading should occur.
π― Possible Causes
π Proposed Fix
π· Suggested Labels
buguinavigationmedium priority