[kwin] [Bug 485266] Feature Request/Question

2024-04-09 Thread LinG
https://bugs.kde.org/show_bug.cgi?id=485266

--- Comment #2 from LinG  ---
Cool, thank you for the explanation. Then based on your description, name is
unique enough for my use case.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 485266] Feature Request/Question

2024-04-09 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=485266

David Edmundson  changed:

   What|Removed |Added

 CC||k...@davidedmundson.co.uk
 Status|REPORTED|RESOLVED
 Resolution|--- |INTENTIONAL

--- Comment #1 from David Edmundson  ---
Detecting the same monitor is a surprisingly hard problem! Several monitors can
have the same serial, and the same monitor can change EDID.

Rules for name match xdg-output's rules:

>each name is unique among all wl_output globals, but if a wl_output global is 
>destroyed the same name may be reused later. The names will also remain 
>consistent across sessions with the same hardware and software configuration.

Obviously it depends on what your end goal is and how you want to handle setup
changes. The name should work most the time.
There's also a concept of primary/second/tertiary that we use in plasma to
match which wallpaper goes on each desktop. It's a good thing at making
something that's more robust at handling setup changes and migrating content.
I'm not sure if that's exposed to scripting, but it certainly could be.

I'll close the ticket, but I'll watch for replies. If there's anything you
think is missing feel free to reopen it.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 485266] Feature Request/Question

2024-04-09 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=485266

Bug Janitor Service  changed:

   What|Removed |Added

   Severity|normal  |wishlist

-- 
You are receiving this mail because:
You are watching all bug changes.