Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Win11 preview version 26XX dynamic wallpaper invalid #2074

Open
Chenlei534 opened this issue Jan 15, 2024 · 27 comments
Open

Win11 preview version 26XX dynamic wallpaper invalid #2074

Chenlei534 opened this issue Jan 15, 2024 · 27 comments
Labels
bug Something isn't working windows insider

Comments

@Chenlei534
Copy link

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 Chenlei534 added the bug Something isn't working label Jan 15, 2024
@shangsh
Copy link

shangsh commented Jan 15, 2024

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

@everything411
Copy link
Contributor

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

@rocksdanister
Copy link
Owner

Maybe he has Windows HDR turned on?

@everything411
Copy link
Contributor

everything411 commented Jan 18, 2024

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
Copy link

same issue, any update?

@rocksdanister
Copy link
Owner

@Yvonne5531773 The release build does not have the patch yet, did you try the test build provided here:
#2050 (comment)

@Yvonne5531773
Copy link

@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
Copy link
Contributor

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
Copy link

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

@Yvonne5531773
Copy link

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

@rocksdanister
Copy link
Owner

I don't use Windows insider builds.

@TheTechWiz5305
Copy link

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

@rocksdanister
Copy link
Owner

Because official release is not updated yet, there is unofficial one #2074 (comment)

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
Copy link

keshka commented Mar 16, 2024

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

@sergodesit
Copy link

sergodesit commented Mar 16, 2024 via email

@rocksdanister
Copy link
Owner

rocksdanister commented Apr 1, 2024

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
Copy link

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

@sergodesit
Copy link

sergodesit commented Apr 16, 2024 via email

@rocksdanister
Copy link
Owner

rocksdanister commented Apr 16, 2024

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

Edit: Update delayed to May.

@rocksdanister
Copy link
Owner

rocksdanister commented May 19, 2024

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

image

@rocksdanister
Copy link
Owner

rocksdanister commented Jun 4, 2024

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
Copy link

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.

  • Lively Wallpaper (v2.1.0.8)
  • Wallpaper Engine - Steam (v2.5.0.28)
  • n0va Desktop (v2.2.1.3)

@rocksdanister
Copy link
Owner

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
Copy link

sergodesit commented Oct 12, 2024 via email

@studiobutter
Copy link

@sergodesit which insider channel are you on rn?

@sergodesit
Copy link

sergodesit commented Oct 13, 2024 via email

@everything411
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working windows insider
Projects
None yet
Development

No branches or pull requests

10 participants