Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Select text in a PDF

Đang mở
#130 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
52/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
swift
Lĩnh vực
accessibility, desktop-dev

Hướng nghiên cứu

Start with the desktop_read implementation and the Preview PDF view’s macOS Accessibility tree to determine whether it exposes text ranges or markers. Exercise the current drag-select behavior and use the result to choose between adding an Accessibility-based selection route and documenting that selection is unsupported. Done means the PDF selection route is implemented and verifiable, or the documented limitation explicitly covers PDFs.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Agents can't select text in a PDF, to copy or highlight it. desktop_read covers reading. Web pages are handled by #88's WebKit text markers. A PDF view has no settable selected text range, so today the only route is a drag-select, which can't be verified.

To do: find out what Preview's PDF view exposes to Accessibility (text ranges, text markers or nothing), then add a route or document that PDFs can't be selected.

This is the last open gap from the coverage audit, #75. Password entry, which blocked the audit's other gaps, is #117.

Ngôn ngữ chính
Swift
Star
0
Fork
0
Merge trung bình
19 phút
Pull request đã merge (30 ngày)
107

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của githubnext/desktop-tools

Tất cả issue của githubnext/desktop-tools

Issue tương tự

Thêm issue về Swift

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.