lively icon indicating copy to clipboard operation
lively copied to clipboard

Win11 preview version 26XX dynamic wallpaper invalid

Open Chenlei534 opened this issue 1 year ago • 27 comments

Describe the bug Win11 preview version 26XX dynamic wallpaper invalid

To Reproduce

  1. After compiling with the latest code and running it on Win11 preview version 26xx, it was found that the previous modifications to the window hierarchy structure that caused the dynamic wallpaper to become invalid did not take effect。

  2. As shown in the picture, the video window has been successfully added, but the dynamic wallpaper is not displayed。 截图_20240112_191444_226

Chenlei534 avatar Jan 15 '24 02:01 Chenlei534

I'm also having this problem, and I'm on the 26016 version of win11 and the live wallpaper doesn't come out

shangsh avatar Jan 15 '24 12:01 shangsh

That is strange, because I'm on 26016 too and it works.

everything411 avatar Jan 17 '24 22:01 everything411

Maybe he has Windows HDR turned on?

rocksdanister avatar Jan 18 '24 02:01 rocksdanister

lively works well for me when hdr turned on.

maybe windows widgets? i disabled widgets from group policy. i will have a test later

update: widgets also ok.

so strange

everything411 avatar Jan 18 '24 03:01 everything411

same issue, any update?

Yvonne5531773 avatar Jan 29 '24 17:01 Yvonne5531773

@Yvonne5531773 The release build does not have the patch yet, did you try the test build provided here: https://github.com/rocksdanister/lively/pull/2050#issuecomment-1868241803

rocksdanister avatar Jan 29 '24 18:01 rocksdanister

@rocksdanister I have tested the latest build, and it works fine. However, when switching the video player from mpv to Windows Media Foundation (WMF), play fails. I have tried mpv and VLC, and they work correctly, but WMF is not functioning. May I know the reason for this issue?

Yvonne5531773 avatar Jan 31 '24 08:01 Yvonne5531773

Confirmed that WMF Player is not working properly with the new window layout, while mpv, vlc, cef and webview2 all work well. I've checked the window styles among these different backends but haven't noticed something suspicious.

everything411 avatar Jan 31 '24 09:01 everything411

On build 26040.1000 there is a video overlay and does not interact with the desktop.

sergodesit avatar Feb 03 '24 16:02 sergodesit

@rocksdanister Do you know why WMF doesn't work, but VLC and MPV do? Can you provide specific reasons? Thanks~

Yvonne5531773 avatar Feb 04 '24 04:02 Yvonne5531773

I don't use Windows insider builds.

rocksdanister avatar Feb 04 '24 04:02 rocksdanister

I'm on Build 26058 and it still isn't fixed

TheTechWiz5305 avatar Feb 24 '24 13:02 TheTechWiz5305

Because official release is not updated yet, there is unofficial one https://github.com/rocksdanister/lively/issues/2074#issuecomment-1915328348

Lively does not officially support insider builds since its subject to change too frequently, this issue tracker is open because a user submitted a patch.

rocksdanister avatar Feb 24 '24 13:02 rocksdanister

The issue persists on build 26080.ge_release.240308-1400

keshka avatar Mar 16 '24 17:03 keshka

Yes, it is saved.

Отправлено из приложения "Почтаhttps://go.microsoft.com/fwlink/?LinkId=550986" для Windows


От: Keshka Kotera @.> Отправлено: Saturday, March 16, 2024 7:52:55 PM Кому: rocksdanister/lively @.> Копия: sergodesit @.>; Comment @.> Тема: Re: [rocksdanister/lively] Win11 preview version 26XX dynamic wallpaper invalid (Issue #2074)

The issue persists on build 26080.ge_release.240308-1400

— Reply to this email directly, view it on GitHubhttps://github.com/rocksdanister/lively/issues/2074#issuecomment-2002063075, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BFF7LTXFNW4IBGGCOFZ7RM3YYSBHPAVCNFSM6AAAAABB2SMCNWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBSGA3DGMBXGU. You are receiving this because you commented.Message ID: @.***>

sergodesit avatar Mar 16 '24 17:03 sergodesit

Got this information from Microsoft:

As Windows evolves to help deliver the best customer experiences, we have changed how the Background renders in Windows to enable new scenarios such as HDR Backgrounds as announced in Windows Insider.

When the desktop is split out from the list view window (aka the "raised desktop") we no longer create multiple top-level HWNDs to support this scenario. Instead, the top-level "Progman" window is now created with WS_EX_NOREDIRECTIONBITMAP (so there is no GDI content for that window at all) and the shell DefView child window is a WS_EX_LAYERED child window. When the desktop is raised, we create a child WorkerW window that is z-ordered under the DefView that will render the wallpaper. The DefView window will draw mostly transparent with just the icons and text.

If your application forces the "raised desktop" state, it will now need to create its own WS_EX_LAYERED child HWND that is z-ordered under the DefView window but above the WorkerW window. This window should likely be a SetLayeredWindowAttributes(bAlpha=0xFF) window so that you can do DX blt presents to it and not suffer performance issues.

rocksdanister avatar Apr 01 '24 22:04 rocksdanister

In windows pro 11 24H2 Canary channel not working? I have errors and can't install theme

amukatov9101 avatar Apr 15 '24 11:04 amukatov9101

Live wallpapers do not work on the Canary channel, they are not synchronized with the desktop, on a blank desktop there is just a live picture without the ability to control.

Отправлено из приложения "Почтаhttps://go.microsoft.com/fwlink/?LinkId=550986" для Windows


От: amukatov9101 @.> Отправлено: Monday, April 15, 2024 2:53:30 PM Кому: rocksdanister/lively @.> Копия: sergodesit @.>; Comment @.> Тема: Re: [rocksdanister/lively] Win11 preview version 26XX dynamic wallpaper invalid (Issue #2074)

In windows pro 11 24H2 Canary channel not working? I have errors and can't install theme

— Reply to this email directly, view it on GitHubhttps://github.com/rocksdanister/lively/issues/2074#issuecomment-2056647550, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BFF7LTRCWF3EWVTNOBURBHDY5O5TVAVCNFSM6AAAAABB2SMCNWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJWGY2DONJVGA. You are receiving this because you commented.Message ID: @.***>

sergodesit avatar Apr 16 '24 16:04 sergodesit

Yes, the next update (this month) will have the patch.

Edit: Update delayed to May.

rocksdanister avatar Apr 16 '24 16:04 rocksdanister

Beta version is available for testing: https://github.com/rocksdanister/lively-beta/releases

image

rocksdanister avatar May 19 '24 07:05 rocksdanister

There is an alignment issue with Mpv player (video wallpaper) in 24h2 beta builds: image

The issue started happening from Mpv build 2024-03-31 onwards: https://sourceforge.net/projects/mpv-player-windows/files/64bit/

Switching to the previous build from 2024-03-17 mpv-x86_64-20240317-git-3afcaeb.7z fixed the issue: https://sourceforge.net/projects/mpv-player-windows/files/64bit/mpv-x86_64-20240317-git-3afcaeb.7z/download

For the time being I have started updating Store version of Lively with this downgraded Mpv player. Installer version I am waiting to see if there are any other obvious bugs before pushing the update; You can manually copy the mpv player to <Lively install location>\plugins\mpv if you can't wait.

Need to investigate the cause and find out what changed in Mpv player or Windows (?.)

rocksdanister avatar Jun 04 '24 04:06 rocksdanister