Native Wayland support for the Linux UI

Đang mở
#84 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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
go, linux
Lĩnh vực
desktop

Hướng nghiên cứu

Start with ui/app_linux.go and inspect how the Linux UI selects XWayland and opens the tray popup. Compare the listed Wayland routes—wlr-layer-shell, GNOME Shell positioning, and a native tray menu fallback—and determine how the popup should behave across those environments. Done means the Linux UI runs natively on Wayland and the popup opens next to the tray icon.

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

Mô tả

enhancement

On Wayland sessions the Linux UI runs through XWayland (GDK_BACKEND=x11 in ui/app_linux.go). Wayland doesn't let a normal window choose its own position, and the tray popup needs to open next to the tray icon.

Running under XWayland works, but it causes problems with fractional and mixed scaling (see #83) and relies on XWayland being installed.

Possible routes to running natively:

  • wlr-layer-shell, which KWin supports, to place the popup ourselves
  • the GNOME Shell extension drawing or positioning the popup on GNOME
  • a fallback to the native tray menu where neither works
Ngôn ngữ chính
Go
Star
26
Fork
10
Merge trung bình
5 giờ 49 phút
Pull request đã merge (30 ngày)
12

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

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 fosrl/windows-linux

Tất cả issue của fosrl/windows-linux

Issue tương tự

Thêm issue về Go

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.