Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI bug: Bottom Overflow in Browse & Local Library on Desktop #2344

Open
2 tasks done
gustamor opened this issue Feb 25, 2025 · 1 comment
Open
2 tasks done

UI bug: Bottom Overflow in Browse & Local Library on Desktop #2344

gustamor opened this issue Feb 25, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@gustamor
Copy link

Is there an existing issue for this? (Please read the description)

  • I have searched the existing issues

Current Behavior

In the desktop version, some cards in Browse and Local Library have a bottom overflow issue.

Expected Behavior

  • Text should either fade out if it overflows the available space
  • Or scroll horizontally/vertically if the content is too large
  • Any idea from a designer better than me would be welcome

Steps to reproduce

  1. Open Spotube in desktop mode
  2. Navigate to Browse or Local Library
  3. Notice the overflow issue in the cards

Logs

Logs
flutter: │ A RenderFlex overflowed by 14 pixels on the bottom.
flutter: ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
flutter: │ #0   AppLogger.runZoned.<anonymous closure>.<anonymous closure> (package:spotube/services/logger/logger.dart:61:70)
flutter: │ #1   FlutterError.reportError (package:flutter/src/foundation/assertions.dart:1204:14)
flutter: │ #2   DebugOverflowIndicatorMixin._reportOverflow (package:flutter/src/rendering/debug_overflow_indicator.dart:260:18)
flutter: │ #3   DebugOverflowIndicatorMixin.paintOverflowIndicator (package:flutter/src/rendering/debug_overflow_indicator.dart:331:7)
flutter: │ #4   RenderFlex.paint.<anonymous closure> (package:flutter/src/rendering/flex.dart:1362:7)
flutter: │ #5   RenderFlex.paint (package:flutter/src/rendering/flex.dart:1370:6)
flutter: │ #6   RenderObject._paintWithContext (package:flutter/src/rendering/object.dart:3371:7)
flutter: │ #7   PaintingContext.paintChild (package:flutter/src/rendering/object.dart:260:13)>

Operating System

Linux (PopOS 76)

Spotube version

dev branch

Installation source

GitHub Releases (Binary)

Additional information

Screenshots

Image

Image

Self grab

  • I'm ready to work on this issue!
@gustamor gustamor added the bug Something isn't working label Feb 25, 2025
@gustamor
Copy link
Author

Two options so far:

One line for the genre, same with:
Image

One line for the genre, more width:
Image

gustamor added a commit to gustamor/spotube that referenced this issue Feb 26, 2025
- Added a width adjustment (`w`) for desktop screens
- Limited the number of lines for the genre name to 1 (`maxLines: 1`) to prevent overflow

This commit only fixes the issue in Browse. The overflow in Local Library is not addressed here.

Partially fixes KRTirtho#2344
gustamor added a commit to gustamor/spotube that referenced this issue Feb 26, 2025
- Wrapped `Wrap` in `Flexible` to prevent overflow issues inside `Stack`
- Now the folder path text adapts better to different screen sizes
- Improved overall UI consistency and responsiveness

Tested visually only on **Linux Desktop**

Fixes KRTirtho#2344
KRTirtho#2344
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant