rocksdanister / lively

Free and open-source software that allows users to set animated desktop wallpapers and screensavers powered by WinUI 3.
https://rocksdanister.com/lively
GNU General Public License v3.0
15k stars 1.06k forks source link

Win11 preview version 26XX dynamic wallpaper invalid #2074

Open Chenlei534 opened 9 months ago

Chenlei534 commented 9 months ago

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

shangsh commented 9 months ago

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

everything411 commented 9 months ago

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

rocksdanister commented 9 months ago

Maybe he has Windows HDR turned on?

everything411 commented 9 months ago

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

Yvonne5531773 commented 8 months ago

same issue, any update?

rocksdanister commented 8 months ago

@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

Yvonne5531773 commented 8 months ago

@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?

everything411 commented 8 months ago

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.

sergodesit commented 8 months ago

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

Yvonne5531773 commented 8 months ago

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

rocksdanister commented 8 months ago

I don't use Windows insider builds.

TheTechWiz5305 commented 7 months ago

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

rocksdanister commented 7 months ago

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.

keshka commented 7 months ago

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

sergodesit commented 7 months ago

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: @.***>

rocksdanister commented 6 months ago

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.

amukatov9101 commented 6 months ago

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

sergodesit commented 6 months ago

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: @.***>

rocksdanister commented 6 months ago

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

Edit: Update delayed to May.

rocksdanister commented 5 months ago

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

image

rocksdanister commented 4 months ago

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 (?.)

studiobutter commented 1 week ago

I'm going to comment here since the issue isn't just Lively related. I'm on Release Channel of Windows 11 and 24H2 have release for a while now. With or without certain tweaks like ExplorerPatcher, Microsoft have changed the ability to use Live Wallpaper on 24H2. I tested these 3 programs, and they confirmed to be running but not showing on Desktop, even with and without Administrator privileges.

rocksdanister commented 1 week ago

So I modified based on the official response I got from Microsoft but it looks like things are buggy still.. its best to wait a few months before upgrading to 24H2 as it seems it has quite a few bugs (file scanner bug, cannot delete old update files..)

Can you verify something: Make sure desktop icons are visible (rightclick desktop -> Views -> Show desktop icons is enabled) and restarting the wallpaper app fixes the issue?

sergodesit commented 1 week ago

I'm currently on build 27723- 24h2, everything works fine, no problems with liveli wallpapers.


Від: Dani John @.> Надіслано: 12 жовтня 2024 р. 20:22 Кому: rocksdanister/lively @.> Копія: sergodesit @.>; Comment @.> Тема: Re: [rocksdanister/lively] Win11 preview version 26XX dynamic wallpaper invalid (Issue #2074)

So I modified based on the official response I got from Microsoft but it looks like things are buggy still.. its best to wait a few months before upgrading to 24H2 as it seems it has quite a few bugs (file scanner bug, cannot delete old update files..)

Can you verify something: Make sure desktop icons are visible (rightclick desktop -> Views -> Show desktop icons is enabled) and restarting the wallpaper app fixes the issue?

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

studiobutter commented 6 days ago

@sergodesit which insider channel are you on rn?

sergodesit commented 6 days ago

canary channel latest build


Від: Butter @.> Надіслано: 13 жовтня 2024 р. 3:36 Кому: rocksdanister/lively @.> Копія: sergodesit @.>; Mention @.> Тема: Re: [rocksdanister/lively] Win11 preview version 26XX dynamic wallpaper invalid (Issue #2074)

@sergodesithttps://github.com/sergodesit which insider channel are you on rn?

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

everything411 commented 4 days ago

the alignment issue is only for mpv backend and not for html5 backend