Skip to content

[BUG] Download Speed Text Wrapping #89

Closed

Description

@PeterBrownie

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...

Activity

  1. added
    bug
    on Jun 15, 2024
  2. zenfty commented on Jun 15, 2024

    @zenfty
    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.

  3. added a commit that references this issue on Nov 1, 2024
    93d46dc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions