Notifications try to open the app, rather than using the existing instance

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

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
43/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Lĩnh vực
desktop

Hướng nghiên cứu

Start by reproducing the notification behavior in SteamOS desktop mode with Discord already open, then trace how clicking the notification's “view” action launches the target application. Done means the notification action reaches the existing application instance instead of trying to open a new one. The issue does not name relevant files or tests, so locating the responsible code will require exploring the desktop notification integration.

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

Mô tả

Your system information
  • Steam client version: 1792618285
  • SteamOS version: 3.9.5 Build 20261023.100
  • Opted into Steam client beta?: No
  • Opted into SteamOS beta?: No
  • Have you checked for updates in Settings > System?: Yes
Please describe your issue in as much detail as possible:

When you get a notification in desktop mode, and click an embed, such as view, it will always try and open a new instance of that application to view that notification (which doesn't work with applications like discord where you can only have 1 instance open at a time). To reproduce, I will use discord as an example.

Steps for reproducing this issue:
  1. Open Discord (using it as an example program)
  2. Get a notification (from a dm etc.) so that is shows up in the bottom right
  3. Click "view"/whatever it says on the embed on the notification, while it is currently open on your PC (while tabbed out)
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
2.7k
Fork
89
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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 ValveSoftware/SteamOS

Tất cả issue của ValveSoftware/SteamOS

Issue tương tự

Thêm issue về Desktop Dev

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.