Calendar next-meeting row shows unreadable clipped text
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 38/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- macos, swift
- Lĩnh vực
- accessibility, desktop, frontend
Hướng nghiên cứu
Start with WidgetLabel.swift at defaultLayout, PopupView.swift at PopupBlockView.content, and BarView.swift at WidgetBlocks.body to identify which surface renders the row and whether a custom layout applies. Then trace the calendar fields in NativeMetrics.swift and compare the constrained row with the bar’s existing unit measurement and overflow handling. Done when the countdown and unit remain readable together under the reported constraint; the screenshot does not establish the exact surface or configuration.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What happens
The reporter supplied a screenshot of a calendar-style next-meeting row that is not readable. After the calendar icon, it shows a single letter, a number beginning with 7 followed by an ellipsis, and another ellipsis. Both the meeting information and the trailing value/unit are clipped.
The screenshot is the observed failure. Identifying the fragments as the native calendar title, minutes and min is a source-backed hypothesis, not a confirmed mapping of the screenshot to a particular view. The event title is not known and is not inferred here.
Steps to reproduce
- Display the next-meeting row in the reporter's existing setup.
- Observe the clipped row shown in the supplied screenshot.
The exact containing surface and width constraint are not established by the crop. It may be the bar or another surface that renders the widget. No new reproduction was run, and no calendar data or configuration was changed during triage.
Expected
Keep the countdown and its unit readable together. A long meeting title can use an ellipsis. If the available width cannot hold the row, use an appropriate compact or overflow presentation rather than independently truncating the value and unit into ambiguous fragments.
The Calendar guide describes the widget as showing the next meeting and its countdown.
Environment
- Installed StableBar: 0.17.0, build 1187.
- macOS on the reporting workstation: 27.0, build 26A428; arm64.
- Displays, notch, window manager and exact widget configuration: not established for this screenshot.
- Screenshot surface, scale and width: not established.
- Source reviewed: main
01bf12a1a67f6083342421efa090e48213fbe62e. The same default calendar row exists at stable tagv0.17.0(9ac8fb042aff9e5fa65805835dcfeaddb4777f59).
Evidence
The reporter's crop shows a calendar icon, a single-letter text fragment and two separately truncated trailing fragments. The screenshot was supplied during triage; no event name, account or private configuration is included in this report.
No app launch, rendering test, benchmark or automated test was performed for this report.
Diagnosis
Static diagnostic leads on pinned main:
- WidgetLabel.swift:99–105,
WidgetConfiguration.defaultLayout: the detailed native calendar layout is one row containing the calendar icon,textwithmaxWidth: 180,minutes, and the separate literalmin. - NativeMetrics.swift:212–218,
CalendarMetrics.read:textreceives the meeting title andfields.minutesreceives the countdown. This is why the screenshot is more consistent with a meeting row than a date-format failure, but the crop alone cannot prove it. - PopupView.swift:463–500,
PopupBlockView.content: rows use a genericHStack; ordinary field blocks uselineLimit(1). This path does not give the calendar countdown and unit a shared, protected width. - BarView.swift:947–959,
WidgetBlocks.body: custom layouts take precedence over the native default, so the exact configured layout must be identified before choosing a fix.
The main bar already measures units at intrinsic size and scrolls an unavoidably constrained unit. These safeguards mean the screenshot does not establish a defect in AdaptiveBarPlanner, or prove that the whole bar ran out of space. Investigate the actual containing surface first. Any fix should preserve those existing measurement and overflow behaviors and avoid making every text block globally fixed-size.
Related
- #741: calendar selection in Settings, not row sizing.
- #735: today-only event selection, not clipping.
- #722 and #723: agenda metadata and conditional blocks; neither protects the default row's countdown width.
- #746: the Settings window header's minimum width, not this widget row.
- #169, shipped in 0.6.0: equal-width digits reduce width changes; they do not prevent value/unit clipping under a constrained width.
No matching issue or PR was found in all-state calendar/meeting searches and focused clipping/countdown searches. The relevant default layout is unchanged in the latest stable release and pinned main.
Triaged by OMP (closerouter/openai/gpt-6.1-sol).
- Ngôn ngữ chính
- Swift
- Star
- 184
- Fork
- 12
- Merge trung bình
- 3 giờ 50 phút
- Pull request đã merge (30 ngày)
- 387
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Seb-GRAF/StableBar
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Menu bar items drawn as in the menu bar show the wrong part of the menu bar after a display changeCó thể đã có người làm @Jonathanm10 đã nhận hôm nay. Đang mởneeds-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Allow the App Menu to display the frontmost app iconCó thể đã có người làm @khatami10 đã nhận hôm nay. Đang mởenhancement needs-triage
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Seb-GRAF/StableBar
Issue tương tự
-
good first issue help wanted testing
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
-
area:cli documentation good first issue priority:low
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 94/100
isaaclins/freesnitch#430 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
MasterJ93/ATProtoKit#354 ·
-
enhancement help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
heysidhant/appvanish#4 ·
-
bug priority:low status:queued
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày