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

[BUG] Download Speed Text Wrapping #89

Open
PeterBrownie opened this issue Jun 15, 2024 · 1 comment
Open

[BUG] Download Speed Text Wrapping #89

PeterBrownie opened this issue Jun 15, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@PeterBrownie
Copy link

PeterBrownie commented Jun 15, 2024

Describe the bug
This is a simple visual bug in the window that displays install/download information. See screenshot.

Sometimes the 'X MB Downloaded' text label will wrap to 2 lines. This causes the install information container to grow a few pixels taller than the window can fit, causing a scroll bar to appear.

To Reproduce
Steps to reproduce the behavior:

  1. Be downloading something
  2. Go to 'Downloads' menu.
  3. Click on the 'i' button to view more information
  4. Wait until the download speed is larger than 9 MB/s
  5. See bug.

Expected behavior
Because all the information is still visible, the scroll bar should not appear.
The solution would be to increase the space the text label is given, so it doesn't wrap.

Screenshots
If applicable, add screenshots to help explain your problem.
image

Mac:
Model: Macbook Pro M3 Pro 1TB
Operating System: macOS 15.0 Beta (24A5264n)
App Version: 0.2.0

Additional context
Inconsistently, when the download speed is exactly 11 MB/s, the spacing is okay.
Also, in the downloads menu, the 'i' in the 'i' button is not centered...

@PeterBrownie PeterBrownie added the bug Something isn't working label Jun 15, 2024
@blackxfiied
Copy link
Member

Icons being off-center is a SwiftUI bug i'm aware of.
A temporary solution would be to manually resize the sheet in which the download information is displayed.

I'll begin working on a fix.

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

2 participants