[kwin] [Bug 495375] mpv idle inhibition doesn't work with dmabuf-wayland

2025-02-05 Thread FK
https://bugs.kde.org/show_bug.cgi?id=495375

--- Comment #4 from FK  ---
(In reply to Vlad Zahorodnii from comment #3)
> One could argue whether it's actually useful if the idle inhibitor is
> deactivated in case the surface gets obstructed. As a user, it would be
> unexpected to me. In either case, since other compositors work like this, I
> guess it's too late to argue.
> 
> We could look into it in 6.4. It would be nice to use the visibility state
> of the SurfaceItem to determine whether an idle detector should be taken
> into account.

Aren't those separate issues though? Currently kwin doesn't appear to consider
subsurfaces with idle inhibitors, which means playing a video with
dmabuf-wayland doesn't inhibit power saving/screen locking at all. Couldn't
this be addressed for 6.3 already?

Considering obstruction might be nice for when e.g. firefox starts using
subsurfaces for playing videos. I need to manually block inhibitors from it,
just so no random tab with video playing keeps my screen from turning off.

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

[kwin] [Bug 495375] mpv idle inhibition doesn't work with dmabuf-wayland

2025-02-04 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=495375

--- Comment #3 from Vlad Zahorodnii  ---
One could argue whether it's actually useful if the idle inhibitor is
deactivated in case the surface gets obstructed. As a user, it would be
unexpected to me. In either case, since other compositors work like this, I
guess it's too late to argue.

We could look into it in 6.4. It would be nice to use the visibility state of
the SurfaceItem to determine whether an idle detector should be taken into
account.

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

[kwin] [Bug 495375] mpv idle inhibition doesn't work with dmabuf-wayland

2024-12-05 Thread Wind He
https://bugs.kde.org/show_bug.cgi?id=495375

Wind He  changed:

   What|Removed |Added

 CC||g311571...@gmail.com

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

[kwin] [Bug 495375] mpv idle inhibition doesn't work with dmabuf-wayland

2024-11-11 Thread Wachid Adi Nugroho
https://bugs.kde.org/show_bug.cgi?id=495375

Wachid Adi Nugroho  changed:

   What|Removed |Added

 CC||wachidadinugroho.maya@gmail
   ||.com

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

[kwin] [Bug 495375] mpv idle inhibition doesn't work with dmabuf-wayland

2024-11-09 Thread Mariusz Libera
https://bugs.kde.org/show_bug.cgi?id=495375

Mariusz Libera  changed:

   What|Removed |Added

 CC||mariusz.lib...@gmail.com

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

[kwin] [Bug 495375] mpv idle inhibition doesn't work with dmabuf-wayland

2024-10-31 Thread Vladislav Grechannik
https://bugs.kde.org/show_bug.cgi?id=495375

Vladislav Grechannik  changed:

   What|Removed |Added

 CC||vgrechan...@gmail.com

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

[kwin] [Bug 495375] mpv idle inhibition doesn't work with dmabuf-wayland

2024-10-28 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=495375

Zamundaaa  changed:

   What|Removed |Added

 CC||xaver.h...@gmail.com
 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1

--- Comment #2 from Zamundaaa  ---
Yeah, KWin only sets up idle inhibit for the main surface of toplevels, not
their subsurfaces. That's definitely wrong.

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

[kwin] [Bug 495375] mpv idle inhibition doesn't work with dmabuf-wayland

2024-10-28 Thread FK
https://bugs.kde.org/show_bug.cgi?id=495375

--- Comment #1 from FK  ---
https://github.com/mpv-player/mpv/pull/14209/commits/79b3866d6ef58e2de3d696ac3f4d7f11390a127b
 
this mpv fix likely broke it

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

[kwin] [Bug 495375] mpv idle inhibition doesn't work with dmabuf-wayland

2024-10-26 Thread FK
https://bugs.kde.org/show_bug.cgi?id=495375

FK  changed:

   What|Removed |Added

   Assignee|plasma-b...@kde.org |kwin-bugs-n...@kde.org
Product|Powerdevil  |kwin
   Platform|Other   |Arch Linux
  Component|general |wayland-generic

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