hyprwm / Hyprland

Hyprland is a highly customizable dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
18.04k stars 753 forks source link

Moonlight still visible while locked #6058

Open M1cha opened 1 month ago

M1cha commented 1 month ago

Hyprland Version

System/Version info ```sh Hyprland, built from branch at commit cba1ade848feac44b2eda677503900639581c3f4 (props: bump version to 0.40.0). Date: Sat May 4 15:42:32 2024 Tag: v0.40.0, commits: 4606 flags: (if any) System Information: System name: Linux Node name: m1champc Release: 6.8.9-zen1-2-zen Version: #1 ZEN SMP PREEMPT_DYNAMIC Tue, 07 May 2024 22:06:02 +0000 GPU information: c1:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Phoenix1 [1002:15bf] (rev c4) (prog-if 00 [VGA controller]) os-release: NAME="Arch Linux" PRETTY_NAME="Arch Linux" ID=arch BUILD_ID=rolling ANSI_COLOR="38;2;23;147;209" HOME_URL="https://archlinux.org/" DOCUMENTATION_URL="https://wiki.archlinux.org/" SUPPORT_URL="https://bbs.archlinux.org/" BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues" PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/" LOGO=archlinux-logo plugins: ```

Bug or Regression?

Bug

Description

Moonlight is a game streaming client. If I start a stream and then lock my screen, I can still see the game. I can't interact with it, because swaylock captures all input(except for what's processed by hyprland), but I can see everything(it's not frozen).

I'm using Hyprland 0.40.0-1 and swaylock 1.7.2-1 on arch linux.

Originally reported in the swaylock repo: https://github.com/swaywm/swaylock/issues/359

How to reproduce

Crash reports, logs, images, videos

No response

Zeioth commented 1 month ago

I experienced the same yesterday on swaylock and I assumed this is a intended feature hyprland has added (but I'm not sure).

For example I had:

swaylock \
    --daemonize \
    --color "#000000" \
    --inside-color "#282a2b" \
    --inside-clear-color "#eeeeee" \
    --ring-color "#3B758C" \
    --ring-clear-color "#9fca56" \
    --ring-ver-color "#55b5db" \
    --show-failed-attempts \
    --ignore-empty-password \
    --indicator-thickness 50 \
    --indicator-radius 425

And the center of the circle was transparent. The reason is swaylock understand #eeeeee as transparent color. If you want it solid you have to use #ffffff instead.

M1cha commented 1 month ago

Mh the documentation of inside-clear-color sounds like this is only about the circle. With moonlight, the whole screen is covered by the game stream(fullscreen) and I can't see swaylock at all.

vaxerski commented 1 month ago

isnt that fixed in git?