Skip to content

BUG: Double vertical scrollbars on Windows/Tauri when app is maximized #938

@skyforge-glitch

Description

@skyforge-glitch

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

Description

When running PictoPy on Windows via Tauri, the UI displays two vertical scrollbars when the application window is maximized.

This does not break functionality, but results in a confusing and cluttered user experience.


Environment

  • OS: Windows 10 / Windows 11
  • Runtime: Tauri (desktop app)
  • Browser engine: WebView (Tauri default)

Steps to Reproduce

  1. Run PictoPy using Tauri on Windows
  2. Maximize the application window
  3. Navigate to the main content / landing page
  4. Observe two vertical scrollbars:
    • One native scrollbar (actual scrolling)
    • One custom scroll indicator

Expected Behavior

Only one scrollbar should be visible, representing the actual scrollable content.


Actual Behavior

Both the native scrollbar and a custom scroll indicator are visible at the same time.


Root Cause (Analysis)

  • The main content area uses native scrolling (overflow-y-auto)
  • A custom scroll indicator (ScrollProgress) is also rendered
  • On Windows/Tauri (where scrollbars are always visible), this results in duplicated scroll UI
  • The custom scroll indicator is useful for web/landing pages, but redundant in desktop builds

Proposed Fix

Conditionally disable or hide the custom scroll indicator when running inside Tauri, allowing the native scrollbar to be the single source of scrolling on desktop.


Scope

  • Type: UI / UX bug
  • Priority: Low (non-blocking)
  • Impact: Visual only
  • Platform-specific: Windows / Tauri

Additional Notes

This issue is not present on macOS due to auto-hidden scrollbars, but becomes visible on Windows where scrollbars are always rendered.

Record

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions